Struct gapi_grpc::google::appengine::v1::domain_mappings_client::DomainMappingsClient[][src]

pub struct DomainMappingsClient<T> { /* fields omitted */ }

Manages domains serving an application.

Implementations

impl DomainMappingsClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> DomainMappingsClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn list_domain_mappings(
    &mut self,
    request: impl IntoRequest<ListDomainMappingsRequest>
) -> Result<Response<ListDomainMappingsResponse>, Status>
[src]

Lists the domain mappings on an application.

pub async fn get_domain_mapping(
    &mut self,
    request: impl IntoRequest<GetDomainMappingRequest>
) -> Result<Response<DomainMapping>, Status>
[src]

Gets the specified domain mapping.

pub async fn create_domain_mapping(
    &mut self,
    request: impl IntoRequest<CreateDomainMappingRequest>
) -> Result<Response<Operation>, Status>
[src]

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>
[src]

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>
[src]

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Trait Implementations

impl<T: Clone> Clone for DomainMappingsClient<T>[src]

impl<T> Debug for DomainMappingsClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for DomainMappingsClient<T>

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>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]