Struct googapis::google::cloud::gaming::v1beta::game_server_deployments_service_client::GameServerDeploymentsServiceClient [−][src]
pub struct GameServerDeploymentsServiceClient<T> { /* fields omitted */ }
Expand description
The game server deployment is used to control the deployment of Agones fleets.
Implementations
impl<T> GameServerDeploymentsServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> GameServerDeploymentsServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> GameServerDeploymentsServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn list_game_server_deployments(
&mut self,
request: impl IntoRequest<ListGameServerDeploymentsRequest>
) -> Result<Response<ListGameServerDeploymentsResponse>, Status>
pub async fn list_game_server_deployments(
&mut self,
request: impl IntoRequest<ListGameServerDeploymentsRequest>
) -> Result<Response<ListGameServerDeploymentsResponse>, Status>
Lists game server deployments in a given project and location.
pub async fn get_game_server_deployment(
&mut self,
request: impl IntoRequest<GetGameServerDeploymentRequest>
) -> Result<Response<GameServerDeployment>, Status>
pub async fn get_game_server_deployment(
&mut self,
request: impl IntoRequest<GetGameServerDeploymentRequest>
) -> Result<Response<GameServerDeployment>, Status>
Gets details of a single game server deployment.
pub async fn create_game_server_deployment(
&mut self,
request: impl IntoRequest<CreateGameServerDeploymentRequest>
) -> Result<Response<Operation>, Status>
pub async fn create_game_server_deployment(
&mut self,
request: impl IntoRequest<CreateGameServerDeploymentRequest>
) -> Result<Response<Operation>, Status>
Creates a new game server deployment in a given project and location.
pub async fn delete_game_server_deployment(
&mut self,
request: impl IntoRequest<DeleteGameServerDeploymentRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_game_server_deployment(
&mut self,
request: impl IntoRequest<DeleteGameServerDeploymentRequest>
) -> Result<Response<Operation>, Status>
Deletes a single game server deployment.
pub async fn update_game_server_deployment(
&mut self,
request: impl IntoRequest<UpdateGameServerDeploymentRequest>
) -> Result<Response<Operation>, Status>
pub async fn update_game_server_deployment(
&mut self,
request: impl IntoRequest<UpdateGameServerDeploymentRequest>
) -> Result<Response<Operation>, Status>
Patches a game server deployment.
pub async fn get_game_server_deployment_rollout(
&mut self,
request: impl IntoRequest<GetGameServerDeploymentRolloutRequest>
) -> Result<Response<GameServerDeploymentRollout>, Status>
pub async fn get_game_server_deployment_rollout(
&mut self,
request: impl IntoRequest<GetGameServerDeploymentRolloutRequest>
) -> Result<Response<GameServerDeploymentRollout>, Status>
Gets details a single game server deployment rollout.
pub async fn update_game_server_deployment_rollout(
&mut self,
request: impl IntoRequest<UpdateGameServerDeploymentRolloutRequest>
) -> Result<Response<Operation>, Status>
pub async fn update_game_server_deployment_rollout(
&mut self,
request: impl IntoRequest<UpdateGameServerDeploymentRolloutRequest>
) -> Result<Response<Operation>, Status>
Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example - if the default_game_server_config is changed but all existing realms use the override, that is valid. Similarly, if a non existing realm is explicitly called out in game_server_config_overrides field, that will also not result in an error.
pub async fn preview_game_server_deployment_rollout(
&mut self,
request: impl IntoRequest<PreviewGameServerDeploymentRolloutRequest>
) -> Result<Response<PreviewGameServerDeploymentRolloutResponse>, Status>
pub async fn preview_game_server_deployment_rollout(
&mut self,
request: impl IntoRequest<PreviewGameServerDeploymentRolloutRequest>
) -> Result<Response<PreviewGameServerDeploymentRolloutResponse>, Status>
Previews the game server deployment rollout. This API does not mutate the rollout resource.
pub async fn fetch_deployment_state(
&mut self,
request: impl IntoRequest<FetchDeploymentStateRequest>
) -> Result<Response<FetchDeploymentStateResponse>, Status>
pub async fn fetch_deployment_state(
&mut self,
request: impl IntoRequest<FetchDeploymentStateRequest>
) -> Result<Response<FetchDeploymentStateResponse>, Status>
Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for GameServerDeploymentsServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for GameServerDeploymentsServiceClient<T> where
T: Send,
impl<T> Sync for GameServerDeploymentsServiceClient<T> where
T: Sync,
impl<T> Unpin for GameServerDeploymentsServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for GameServerDeploymentsServiceClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more