Class DomainMappings.DomainMappingsClient (1.3.0)

public class DomainMappingsClient : ClientBase<DomainMappings.DomainMappingsClient>

Client for DomainMappings

Inheritance

Object > ClientBase > ClientBase<DomainMappings.DomainMappingsClient> > DomainMappings.DomainMappingsClient

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

DomainMappingsClient()

protected DomainMappingsClient()

Protected parameterless constructor to allow creation of test doubles.

DomainMappingsClient(CallInvoker)

public DomainMappingsClient(CallInvoker callInvoker)

Creates a new client for DomainMappings that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DomainMappingsClient(ChannelBase)

public DomainMappingsClient(ChannelBase channel)

Creates a new client for DomainMappings

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DomainMappingsClient(ClientBase.ClientBaseConfiguration)

protected DomainMappingsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateDomainMapping(CreateDomainMappingRequest, CallOptions)

public virtual Operation CreateDomainMapping(CreateDomainMappingRequest request, CallOptions options)

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

Parameters
NameDescription
requestCreateDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateDomainMapping(CreateDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateDomainMapping(CreateDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

Parameters
NameDescription
requestCreateDomainMappingRequest

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
Operation

The response received from the server.

CreateDomainMappingAsync(CreateDomainMappingRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateDomainMappingAsync(CreateDomainMappingRequest request, CallOptions options)

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

Parameters
NameDescription
requestCreateDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateDomainMappingAsync(CreateDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateDomainMappingAsync(CreateDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains.

Parameters
NameDescription
requestCreateDomainMappingRequest

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<Operation>

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

DeleteDomainMapping(DeleteDomainMappingRequest, CallOptions)

public virtual Operation DeleteDomainMapping(DeleteDomainMappingRequest request, CallOptions options)

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameters
NameDescription
requestDeleteDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteDomainMapping(DeleteDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteDomainMapping(DeleteDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameters
NameDescription
requestDeleteDomainMappingRequest

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
Operation

The response received from the server.

DeleteDomainMappingAsync(DeleteDomainMappingRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteDomainMappingAsync(DeleteDomainMappingRequest request, CallOptions options)

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameters
NameDescription
requestDeleteDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteDomainMappingAsync(DeleteDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteDomainMappingAsync(DeleteDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.

Parameters
NameDescription
requestDeleteDomainMappingRequest

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<Operation>

The call object.

GetDomainMapping(GetDomainMappingRequest, CallOptions)

public virtual DomainMapping GetDomainMapping(GetDomainMappingRequest request, CallOptions options)

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DomainMapping

The response received from the server.

GetDomainMapping(GetDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DomainMapping GetDomainMapping(GetDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

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
DomainMapping

The response received from the server.

GetDomainMappingAsync(GetDomainMappingRequest, CallOptions)

public virtual AsyncUnaryCall<DomainMapping> GetDomainMappingAsync(GetDomainMappingRequest request, CallOptions options)

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DomainMapping>

The call object.

GetDomainMappingAsync(GetDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DomainMapping> GetDomainMappingAsync(GetDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

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<DomainMapping>

The call object.

ListDomainMappings(ListDomainMappingsRequest, CallOptions)

public virtual ListDomainMappingsResponse ListDomainMappings(ListDomainMappingsRequest request, CallOptions options)

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDomainMappingsResponse

The response received from the server.

ListDomainMappings(ListDomainMappingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDomainMappingsResponse ListDomainMappings(ListDomainMappingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

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
ListDomainMappingsResponse

The response received from the server.

ListDomainMappingsAsync(ListDomainMappingsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDomainMappingsResponse> ListDomainMappingsAsync(ListDomainMappingsRequest request, CallOptions options)

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDomainMappingsResponse>

The call object.

ListDomainMappingsAsync(ListDomainMappingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDomainMappingsResponse> ListDomainMappingsAsync(ListDomainMappingsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

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<ListDomainMappingsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override DomainMappings.DomainMappingsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

UpdateDomainMapping(UpdateDomainMappingRequest, CallOptions)

public virtual Operation UpdateDomainMapping(UpdateDomainMappingRequest request, CallOptions options)

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

Parameters
NameDescription
requestUpdateDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateDomainMapping(UpdateDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation UpdateDomainMapping(UpdateDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

Parameters
NameDescription
requestUpdateDomainMappingRequest

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
Operation

The response received from the server.

UpdateDomainMappingAsync(UpdateDomainMappingRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateDomainMappingAsync(UpdateDomainMappingRequest request, CallOptions options)

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

Parameters
NameDescription
requestUpdateDomainMappingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateDomainMappingAsync(UpdateDomainMappingRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateDomainMappingAsync(UpdateDomainMappingRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.

Parameters
NameDescription
requestUpdateDomainMappingRequest

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<Operation>

The call object.