Struct googapis::google::cloud::gaming::v1beta::game_server_clusters_service_client::GameServerClustersServiceClient [−][src]
pub struct GameServerClustersServiceClient<T> { /* fields omitted */ }
Expand description
The game server cluster maps to Kubernetes clusters running Agones and is used to manage fleets within clusters.
Implementations
impl<T> GameServerClustersServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> GameServerClustersServiceClient<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
) -> GameServerClustersServiceClient<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_clusters(
&mut self,
request: impl IntoRequest<ListGameServerClustersRequest>
) -> Result<Response<ListGameServerClustersResponse>, Status>
pub async fn list_game_server_clusters(
&mut self,
request: impl IntoRequest<ListGameServerClustersRequest>
) -> Result<Response<ListGameServerClustersResponse>, Status>
Lists game server clusters in a given project and location.
pub async fn get_game_server_cluster(
&mut self,
request: impl IntoRequest<GetGameServerClusterRequest>
) -> Result<Response<GameServerCluster>, Status>
pub async fn get_game_server_cluster(
&mut self,
request: impl IntoRequest<GetGameServerClusterRequest>
) -> Result<Response<GameServerCluster>, Status>
Gets details of a single game server cluster.
pub async fn create_game_server_cluster(
&mut self,
request: impl IntoRequest<CreateGameServerClusterRequest>
) -> Result<Response<Operation>, Status>
pub async fn create_game_server_cluster(
&mut self,
request: impl IntoRequest<CreateGameServerClusterRequest>
) -> Result<Response<Operation>, Status>
Creates a new game server cluster in a given project and location.
pub async fn preview_create_game_server_cluster(
&mut self,
request: impl IntoRequest<PreviewCreateGameServerClusterRequest>
) -> Result<Response<PreviewCreateGameServerClusterResponse>, Status>
pub async fn preview_create_game_server_cluster(
&mut self,
request: impl IntoRequest<PreviewCreateGameServerClusterRequest>
) -> Result<Response<PreviewCreateGameServerClusterResponse>, Status>
Previews creation of a new game server cluster in a given project and location.
pub async fn delete_game_server_cluster(
&mut self,
request: impl IntoRequest<DeleteGameServerClusterRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_game_server_cluster(
&mut self,
request: impl IntoRequest<DeleteGameServerClusterRequest>
) -> Result<Response<Operation>, Status>
Deletes a single game server cluster.
pub async fn preview_delete_game_server_cluster(
&mut self,
request: impl IntoRequest<PreviewDeleteGameServerClusterRequest>
) -> Result<Response<PreviewDeleteGameServerClusterResponse>, Status>
pub async fn preview_delete_game_server_cluster(
&mut self,
request: impl IntoRequest<PreviewDeleteGameServerClusterRequest>
) -> Result<Response<PreviewDeleteGameServerClusterResponse>, Status>
Previews deletion of a single game server cluster.
pub async fn update_game_server_cluster(
&mut self,
request: impl IntoRequest<UpdateGameServerClusterRequest>
) -> Result<Response<Operation>, Status>
pub async fn update_game_server_cluster(
&mut self,
request: impl IntoRequest<UpdateGameServerClusterRequest>
) -> Result<Response<Operation>, Status>
Patches a single game server cluster.
pub async fn preview_update_game_server_cluster(
&mut self,
request: impl IntoRequest<PreviewUpdateGameServerClusterRequest>
) -> Result<Response<PreviewUpdateGameServerClusterResponse>, Status>
pub async fn preview_update_game_server_cluster(
&mut self,
request: impl IntoRequest<PreviewUpdateGameServerClusterRequest>
) -> Result<Response<PreviewUpdateGameServerClusterResponse>, Status>
Previews updating a GameServerCluster.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for GameServerClustersServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for GameServerClustersServiceClient<T> where
T: Send,
impl<T> Sync for GameServerClustersServiceClient<T> where
T: Sync,
impl<T> Unpin for GameServerClustersServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for GameServerClustersServiceClient<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