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 > ClientBase > ClientBaseAuthorizedDomainsAuthorizedDomainsClient > AuthorizedDomains.AuthorizedDomainsClientNamespace
Google.Cloud.AppEngine.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
AuthorizedDomainsClient(ChannelBase)
public AuthorizedDomainsClient(ChannelBase channel)Creates a new client for AuthorizedDomains
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe 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 |
ListAuthorizedDomainsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListAuthorizedDomainsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListAuthorizedDomainsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListAuthorizedDomainsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|