Class AuthorizedDomains.AuthorizedDomainsClient (2.0.0)

public class AuthorizedDomainsClient : ClientBase<AuthorizedDomains.AuthorizedDomainsClient>

Client for AuthorizedDomains

Inheritance

Object > ClientBase > ClientBase<AuthorizedDomains.AuthorizedDomainsClient> > AuthorizedDomains.AuthorizedDomainsClient

Namespace

Google.Cloud.AppEngine.V1

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AuthorizedDomainsClient(ChannelBase)

public AuthorizedDomainsClient(ChannelBase channel)

Creates a new client for AuthorizedDomains

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AuthorizedDomainsClient(ClientBase.ClientBaseConfiguration)

protected AuthorizedDomainsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
NameDescription
requestListAuthorizedDomainsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAuthorizedDomainsResponse

The response received from the server.

ListAuthorizedDomains(ListAuthorizedDomainsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists all domains the user is authorized to administer.

Parameters
NameDescription
requestListAuthorizedDomainsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListAuthorizedDomainsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListAuthorizedDomainsResponse>

The call object.

ListAuthorizedDomainsAsync(ListAuthorizedDomainsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists all domains the user is authorized to administer.

Parameters
NameDescription
requestListAuthorizedDomainsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListAuthorizedDomainsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
AuthorizedDomains.AuthorizedDomainsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.AppEngine.V1.AuthorizedDomains.AuthorizedDomainsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)