2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public class AuthorizedDomains.AuthorizedDomainsClient : ClientBase<AuthorizedDomains.AuthorizedDomainsClient>

Reference documentation and code samples for the App Engine v1 API class AuthorizedDomains.AuthorizedDomainsClient.

Client for AuthorizedDomains

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt) \> [ClientBase](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt)[AuthorizedDomains](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.AuthorizedDomains.md.txt)[AuthorizedDomainsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.AuthorizedDomains.AuthorizedDomainsClient.md.txt) \> AuthorizedDomains.AuthorizedDomainsClient

## Inherited Members

[ClientBase\<AuthorizedDomains.AuthorizedDomainsClient\>.WithHost(string)](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.md.txt#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.md.txt#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AppEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AppEngine.V1/latest/Google.Cloud.AppEngine.V1.md.txt)

## Assembly

Google.Cloud.AppEngine.V1.dll

## Constructors

### AuthorizedDomainsClient()

    protected AuthorizedDomainsClient()

Protected parameterless constructor to allow creation of test doubles.

### AuthorizedDomainsClient(CallInvoker)

    public AuthorizedDomainsClient(CallInvoker callInvoker)

Creates a new client for AuthorizedDomains that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `CallInvoker` The callInvoker to use to make remote calls. |

### AuthorizedDomainsClient(ChannelBase)

    public AuthorizedDomainsClient(ChannelBase channel)

Creates a new client for AuthorizedDomains

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `ChannelBase` The channel to use to make remote calls. |

### AuthorizedDomainsClient(ClientBaseConfiguration)

    protected AuthorizedDomainsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` The client configuration. |

## Methods

### ListAuthorizedDomains(ListAuthorizedDomainsRequest, CallOptions)

    public virtual ListAuthorizedDomainsResponse ListAuthorizedDomains(ListAuthorizedDomainsRequest request, CallOptions options)

Lists all domains the user is authorized to administer.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAuthorizedDomainsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListAuthorizedDomainsResponse` | The response received from the server. |

### ListAuthorizedDomains(ListAuthorizedDomainsRequest, Metadata, DateTime?, CancellationToken)

    public virtual ListAuthorizedDomainsResponse ListAuthorizedDomains(ListAuthorizedDomainsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all domains the user is authorized to administer.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAuthorizedDomainsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ListAuthorizedDomainsResponse` | The response received from the server. |

### ListAuthorizedDomainsAsync(ListAuthorizedDomainsRequest, CallOptions)

    public virtual AsyncUnaryCall<ListAuthorizedDomainsResponse> ListAuthorizedDomainsAsync(ListAuthorizedDomainsRequest request, CallOptions options)

Lists all domains the user is authorized to administer.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAuthorizedDomainsRequest` The request to send to the server. |
| `options` | `CallOptions` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListAuthorizedDomainsResponse` | The call object. |

### ListAuthorizedDomainsAsync(ListAuthorizedDomainsRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ListAuthorizedDomainsResponse> ListAuthorizedDomainsAsync(ListAuthorizedDomainsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all domains the user is authorized to administer.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `ListAuthorizedDomainsRequest` The request to send to the server. |
| `headers` | `Metadata` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `CancellationToken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AsyncUnaryCallListAuthorizedDomainsResponse` | The call object. |

### NewInstance(ClientBaseConfiguration)

    protected override AuthorizedDomains.AuthorizedDomainsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `ClientBaseClientBaseConfiguration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AuthorizedDomainsAuthorizedDomainsClient` |   |

**Overrides** Grpc.Core.ClientBase\<Google.Cloud.AppEngine.V1.AuthorizedDomains.AuthorizedDomainsClient\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)