pub async fn create_brand(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateBrandRequest>,
        ) -> Result<tonic::Response<super::Brand>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.iap.v1.IdentityAwareProxyOAuthService/CreateBrand",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Constructs a new OAuth brand for the project if one does not exist.
/// The created brand is "internal only", meaning that OAuth clients created
/// under it only accept requests from users who belong to the same Google
/// Workspace organization as the project. The brand is created in an
/// un-reviewed status. NOTE: The "internal only" status can be manually
/// changed in the Google Cloud Console. Requires that a brand does not already
/// exist for the project, and that the specified support email is owned by the
/// caller.
Constructs a new OAuth brand for the project if one does not exist.
The created brand is "internal only", meaning that OAuth clients created
under it only accept requests from users who belong to the same Google
Workspace organization as the project. The brand is created in an
un-reviewed status. NOTE: The "internal only" status can be manually
changed in the Google Cloud Console. Requires that a brand does not already
exist for the project, and that the specified support email is owned by the
caller.
Constructs a new OAuth brand for the project if one does not exist . The created brand is " internal only " meaning that OAuth clients created under it only accept requests from users who belong to the same Google Workspace organization as the project . The brand is created in an un - reviewed status . NOTE : The " internal only " status can be manually changed in the Google Cloud Console . Requires that a brand does not already exist for the project and that the specified support email is owned by the caller .
pub async fn create_brand(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateBrandRequest>,
        ) -> Result<tonic::Response<super::Brand>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.iap.v1.IdentityAwareProxyOAuthService/CreateBrand",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn create_brand ( & mut self , request : impl tonic :: IntoRequest < super :: CreateBrandRequest > , ) -> Result < tonic :: Response < super :: Brand > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Constructs a new OAuth brand for the project if one does not exist.
Constructs a new OAuth brand for the project if one does not exist .
&mut self
request
impl tonic::IntoRequest<super::CreateBrandRequest>
&mut self
request
impl tonic::IntoRequest<super::CreateBrandRequest>