Class DomainMappingsClientImpl (1.3.0)

public sealed class DomainMappingsClientImpl : DomainMappingsClient

DomainMappings client wrapper implementation, for convenient use.

Inheritance

Object > DomainMappingsClient > DomainMappingsClientImpl

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Remarks

Manages domains serving an application.

Constructors

DomainMappingsClientImpl(DomainMappings.DomainMappingsClient, DomainMappingsSettings)

public DomainMappingsClientImpl(DomainMappings.DomainMappingsClient grpcClient, DomainMappingsSettings settings)

Constructs a client wrapper for the DomainMappings service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientDomainMappings.DomainMappingsClient

The underlying gRPC client.

settingsDomainMappingsSettings

The base DomainMappingsSettings used within this client.

Properties

CreateDomainMappingOperationsClient

public override OperationsClient CreateDomainMappingOperationsClient { get; }

The long-running operations client for CreateDomainMapping.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteDomainMappingOperationsClient

public override OperationsClient DeleteDomainMappingOperationsClient { get; }

The long-running operations client for DeleteDomainMapping.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override DomainMappings.DomainMappingsClient GrpcClient { get; }

The underlying gRPC DomainMappings client

Property Value
TypeDescription
DomainMappings.DomainMappingsClient
Overrides

UpdateDomainMappingOperationsClient

public override OperationsClient UpdateDomainMappingOperationsClient { get; }

The long-running operations client for UpdateDomainMapping.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateDomainMapping(CreateDomainMappingRequest, CallSettings)

public override Operation<DomainMapping, OperationMetadataV1> CreateDomainMapping(CreateDomainMappingRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<DomainMapping, OperationMetadataV1>

The RPC response.

Overrides

CreateDomainMappingAsync(CreateDomainMappingRequest, CallSettings)

public override Task<Operation<DomainMapping, OperationMetadataV1>> CreateDomainMappingAsync(CreateDomainMappingRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<DomainMapping, OperationMetadataV1>>

A Task containing the RPC response.

Overrides

DeleteDomainMapping(DeleteDomainMappingRequest, CallSettings)

public override Operation<Empty, OperationMetadataV1> DeleteDomainMapping(DeleteDomainMappingRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadataV1>

The RPC response.

Overrides

DeleteDomainMappingAsync(DeleteDomainMappingRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadataV1>> DeleteDomainMappingAsync(DeleteDomainMappingRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadataV1>>

A Task containing the RPC response.

Overrides

GetDomainMapping(GetDomainMappingRequest, CallSettings)

public override DomainMapping GetDomainMapping(GetDomainMappingRequest request, CallSettings callSettings = null)

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
DomainMapping

The RPC response.

Overrides

GetDomainMappingAsync(GetDomainMappingRequest, CallSettings)

public override Task<DomainMapping> GetDomainMappingAsync(GetDomainMappingRequest request, CallSettings callSettings = null)

Gets the specified domain mapping.

Parameters
NameDescription
requestGetDomainMappingRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<DomainMapping>

A Task containing the RPC response.

Overrides

ListDomainMappings(ListDomainMappingsRequest, CallSettings)

public override PagedEnumerable<ListDomainMappingsResponse, DomainMapping> ListDomainMappings(ListDomainMappingsRequest request, CallSettings callSettings = null)

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListDomainMappingsResponse, DomainMapping>

A pageable sequence of DomainMapping resources.

Overrides

ListDomainMappingsAsync(ListDomainMappingsRequest, CallSettings)

public override PagedAsyncEnumerable<ListDomainMappingsResponse, DomainMapping> ListDomainMappingsAsync(ListDomainMappingsRequest request, CallSettings callSettings = null)

Lists the domain mappings on an application.

Parameters
NameDescription
requestListDomainMappingsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListDomainMappingsResponse, DomainMapping>

A pageable asynchronous sequence of DomainMapping resources.

Overrides

UpdateDomainMapping(UpdateDomainMappingRequest, CallSettings)

public override Operation<DomainMapping, OperationMetadataV1> UpdateDomainMapping(UpdateDomainMappingRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<DomainMapping, OperationMetadataV1>

The RPC response.

Overrides

UpdateDomainMappingAsync(UpdateDomainMappingRequest, CallSettings)

public override Task<Operation<DomainMapping, OperationMetadataV1>> UpdateDomainMappingAsync(UpdateDomainMappingRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<DomainMapping, OperationMetadataV1>>

A Task containing the RPC response.

Overrides