# Identity-Aware Proxy V1 API - Class Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::ServiceStub (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.1 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.1 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Identity-Aware Proxy V1 API class Google::Cloud::Iap::V1::IdentityAwareProxyOAuthService::Rest::ServiceStub.

REST service stub for the IdentityAwareProxyOAuthService service.
Service stub contains baseline method implementations
including transcoding, making the REST call, and deserialing the response.

## Inherits

- Object

## Methods

### #create_brand

    def create_brand(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::Brand

Baseline implementation for the create_brand REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::CreateBrandRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-CreateBrandRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::Brand](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-Brand))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::Brand](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-Brand)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #create_identity_aware_proxy_client

    def create_identity_aware_proxy_client(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::IdentityAwareProxyClient

Baseline implementation for the create_identity_aware_proxy_client REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::CreateIdentityAwareProxyClientRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-CreateIdentityAwareProxyClientRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::IdentityAwareProxyClient](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-IdentityAwareProxyClient))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::IdentityAwareProxyClient](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-IdentityAwareProxyClient)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #delete_identity_aware_proxy_client

    def delete_identity_aware_proxy_client(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_identity_aware_proxy_client REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::DeleteIdentityAwareProxyClientRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-DeleteIdentityAwareProxyClientRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-Empty))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Protobuf::Empty](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Protobuf-Empty)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #endpoint

    def endpoint() -> String

The effective endpoint
**Returns**

- (String)

### #get_brand

    def get_brand(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::Brand

Baseline implementation for the get_brand REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::GetBrandRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-GetBrandRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::Brand](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-Brand))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::Brand](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-Brand)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #get_identity_aware_proxy_client

    def get_identity_aware_proxy_client(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::IdentityAwareProxyClient

Baseline implementation for the get_identity_aware_proxy_client REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::GetIdentityAwareProxyClientRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-GetIdentityAwareProxyClientRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::IdentityAwareProxyClient](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-IdentityAwareProxyClient))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::IdentityAwareProxyClient](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-IdentityAwareProxyClient)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_brands

    def list_brands(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::ListBrandsResponse

Baseline implementation for the list_brands REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::ListBrandsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ListBrandsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::ListBrandsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ListBrandsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::ListBrandsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ListBrandsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #list_identity_aware_proxy_clients

    def list_identity_aware_proxy_clients(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::ListIdentityAwareProxyClientsResponse

Baseline implementation for the list_identity_aware_proxy_clients REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::ListIdentityAwareProxyClientsRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ListIdentityAwareProxyClientsRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::ListIdentityAwareProxyClientsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ListIdentityAwareProxyClientsResponse))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::ListIdentityAwareProxyClientsResponse](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ListIdentityAwareProxyClientsResponse)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #logger

    def logger(stub: false) -> Logger

The logger used for request/response debug logging.
**Returns**

- (Logger)

### #reset_identity_aware_proxy_client_secret

    def reset_identity_aware_proxy_client_secret(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Iap::V1::IdentityAwareProxyClient

Baseline implementation for the reset_identity_aware_proxy_client_secret REST call
**Parameters**

- **request_pb** ([::Google::Cloud::Iap::V1::ResetIdentityAwareProxyClientSecretRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-ResetIdentityAwareProxyClientSecretRequest)) --- A request object representing the call parameters. Required.
- **options** (::Gapic::CallOptions) --- Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
**Yields**

- (result, operation) --- Access the result along with the TransportOperation object
**Yield Parameters**

- **result** ([::Google::Cloud::Iap::V1::IdentityAwareProxyClient](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-IdentityAwareProxyClient))
- **operation** (::Gapic::Rest::TransportOperation)
**Returns**

- ([::Google::Cloud::Iap::V1::IdentityAwareProxyClient](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-iap-v1/latest/Google-Cloud-Iap-V1-IdentityAwareProxyClient)) --- A result object deserialized from the server's reply
**Raises**

- (::ArgumentError)

### #universe_domain

    def universe_domain() -> String

The effective universe domain
**Returns**

- (String)