Struct googapis::google::cloud::gaming::v1beta::game_server_configs_service_client::GameServerConfigsServiceClient [−][src]
pub struct GameServerConfigsServiceClient<T> { /* fields omitted */ }
Expand description
The game server config configures the game servers in an Agones fleet.
Implementations
impl<T> GameServerConfigsServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> GameServerConfigsServiceClient<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
) -> GameServerConfigsServiceClient<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_configs(
&mut self,
request: impl IntoRequest<ListGameServerConfigsRequest>
) -> Result<Response<ListGameServerConfigsResponse>, Status>
pub async fn list_game_server_configs(
&mut self,
request: impl IntoRequest<ListGameServerConfigsRequest>
) -> Result<Response<ListGameServerConfigsResponse>, Status>
Lists game server configs in a given project, location, and game server deployment.
pub async fn get_game_server_config(
&mut self,
request: impl IntoRequest<GetGameServerConfigRequest>
) -> Result<Response<GameServerConfig>, Status>
pub async fn get_game_server_config(
&mut self,
request: impl IntoRequest<GetGameServerConfigRequest>
) -> Result<Response<GameServerConfig>, Status>
Gets details of a single game server config.
pub async fn create_game_server_config(
&mut self,
request: impl IntoRequest<CreateGameServerConfigRequest>
) -> Result<Response<Operation>, Status>
pub async fn create_game_server_config(
&mut self,
request: impl IntoRequest<CreateGameServerConfigRequest>
) -> Result<Response<Operation>, Status>
Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.
pub async fn delete_game_server_config(
&mut self,
request: impl IntoRequest<DeleteGameServerConfigRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_game_server_config(
&mut self,
request: impl IntoRequest<DeleteGameServerConfigRequest>
) -> Result<Response<Operation>, Status>
Deletes a single game server config. The deletion will fail if the game server config is referenced in a game server deployment rollout.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for GameServerConfigsServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for GameServerConfigsServiceClient<T> where
T: Send,
impl<T> Sync for GameServerConfigsServiceClient<T> where
T: Sync,
impl<T> Unpin for GameServerConfigsServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for GameServerConfigsServiceClient<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