Struct googapis::google::cloud::gaming::v1::realms_service_client::RealmsServiceClient [−][src]
pub struct RealmsServiceClient<T> { /* fields omitted */ }
Expand description
A realm is a grouping of game server clusters that are considered interchangeable.
Implementations
impl<T> RealmsServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> RealmsServiceClient<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
) -> RealmsServiceClient<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_realms(
&mut self,
request: impl IntoRequest<ListRealmsRequest>
) -> Result<Response<ListRealmsResponse>, Status>
pub async fn list_realms(
&mut self,
request: impl IntoRequest<ListRealmsRequest>
) -> Result<Response<ListRealmsResponse>, Status>
Lists realms in a given project and location.
pub async fn get_realm(
&mut self,
request: impl IntoRequest<GetRealmRequest>
) -> Result<Response<Realm>, Status>
pub async fn get_realm(
&mut self,
request: impl IntoRequest<GetRealmRequest>
) -> Result<Response<Realm>, Status>
Gets details of a single realm.
pub async fn create_realm(
&mut self,
request: impl IntoRequest<CreateRealmRequest>
) -> Result<Response<Operation>, Status>
pub async fn create_realm(
&mut self,
request: impl IntoRequest<CreateRealmRequest>
) -> Result<Response<Operation>, Status>
Creates a new realm in a given project and location.
pub async fn delete_realm(
&mut self,
request: impl IntoRequest<DeleteRealmRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_realm(
&mut self,
request: impl IntoRequest<DeleteRealmRequest>
) -> Result<Response<Operation>, Status>
Deletes a single realm.
pub async fn update_realm(
&mut self,
request: impl IntoRequest<UpdateRealmRequest>
) -> Result<Response<Operation>, Status>
pub async fn update_realm(
&mut self,
request: impl IntoRequest<UpdateRealmRequest>
) -> Result<Response<Operation>, Status>
Patches a single realm.
pub async fn preview_realm_update(
&mut self,
request: impl IntoRequest<PreviewRealmUpdateRequest>
) -> Result<Response<PreviewRealmUpdateResponse>, Status>
pub async fn preview_realm_update(
&mut self,
request: impl IntoRequest<PreviewRealmUpdateRequest>
) -> Result<Response<PreviewRealmUpdateResponse>, Status>
Previews patches to a single realm.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RealmsServiceClient<T> where
T: RefUnwindSafe,
impl<T> Send for RealmsServiceClient<T> where
T: Send,
impl<T> Sync for RealmsServiceClient<T> where
T: Sync,
impl<T> Unpin for RealmsServiceClient<T> where
T: Unpin,
impl<T> UnwindSafe for RealmsServiceClient<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