Struct googapis::google::appengine::v1beta::domain_mappings_client::DomainMappingsClient [−][src]
pub struct DomainMappingsClient<T> { /* fields omitted */ }
Expand description
Manages domains serving an application.
Implementations
impl<T> DomainMappingsClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> DomainMappingsClient<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
) -> DomainMappingsClient<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_domain_mappings(
&mut self,
request: impl IntoRequest<ListDomainMappingsRequest>
) -> Result<Response<ListDomainMappingsResponse>, Status>
pub async fn list_domain_mappings(
&mut self,
request: impl IntoRequest<ListDomainMappingsRequest>
) -> Result<Response<ListDomainMappingsResponse>, Status>
Lists the domain mappings on an application.
pub async fn get_domain_mapping(
&mut self,
request: impl IntoRequest<GetDomainMappingRequest>
) -> Result<Response<DomainMapping>, Status>
pub async fn get_domain_mapping(
&mut self,
request: impl IntoRequest<GetDomainMappingRequest>
) -> Result<Response<DomainMapping>, Status>
Gets the specified domain mapping.
pub async fn create_domain_mapping(
&mut self,
request: impl IntoRequest<CreateDomainMappingRequest>
) -> Result<Response<Operation>, Status>
pub async fn create_domain_mapping(
&mut self,
request: impl IntoRequest<CreateDomainMappingRequest>
) -> Result<Response<Operation>, Status>
Maps a domain to an application. A user must be authorized to administer a
domain in order to map it to an application. For a list of available
authorized domains, see AuthorizedDomains.ListAuthorizedDomains
.
pub async fn update_domain_mapping(
&mut self,
request: impl IntoRequest<UpdateDomainMappingRequest>
) -> Result<Response<Operation>, Status>
pub async fn update_domain_mapping(
&mut self,
request: impl IntoRequest<UpdateDomainMappingRequest>
) -> Result<Response<Operation>, Status>
Updates the specified domain mapping. To map an SSL certificate to a
domain mapping, update certificate_id
to point to an AuthorizedCertificate
resource. A user must be authorized to administer the associated domain
in order to update a DomainMapping
resource.
pub async fn delete_domain_mapping(
&mut self,
request: impl IntoRequest<DeleteDomainMappingRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_domain_mapping(
&mut self,
request: impl IntoRequest<DeleteDomainMappingRequest>
) -> Result<Response<Operation>, Status>
Deletes the specified domain mapping. A user must be authorized to
administer the associated domain in order to delete a DomainMapping
resource.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for DomainMappingsClient<T> where
T: RefUnwindSafe,
impl<T> Send for DomainMappingsClient<T> where
T: Send,
impl<T> Sync for DomainMappingsClient<T> where
T: Sync,
impl<T> Unpin for DomainMappingsClient<T> where
T: Unpin,
impl<T> UnwindSafe for DomainMappingsClient<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