public sealed class DomainMappingsClientImpl : DomainMappingsClient
DomainMappings client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AppEngine.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | DomainMappings.DomainMappingsClient The underlying gRPC client. |
settings | DomainMappingsSettings The base DomainMappingsSettings used within this client. |
Properties
CreateDomainMappingOperationsClient
public override OperationsClient CreateDomainMappingOperationsClient { get; }
The long-running operations client for CreateDomainMapping
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsClient |
DeleteDomainMappingOperationsClient
public override OperationsClient DeleteDomainMappingOperationsClient { get; }
The long-running operations client for DeleteDomainMapping
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsClient |
GrpcClient
public override DomainMappings.DomainMappingsClient GrpcClient { get; }
The underlying gRPC DomainMappings client
Property Value | |
---|---|
Type | Description |
DomainMappings.DomainMappingsClient |
UpdateDomainMappingOperationsClient
public override OperationsClient UpdateDomainMappingOperationsClient { get; }
The long-running operations client for UpdateDomainMapping
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsClient |
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 | |
---|---|
Name | Description |
request | CreateDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation<DomainMapping, OperationMetadataV1> | The RPC response. |
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 | |
---|---|
Name | Description |
request | CreateDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Google.LongRunning.Operation<DomainMapping, OperationMetadataV1>> | A Task containing the RPC response. |
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 | |
---|---|
Name | Description |
request | DeleteDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation<Google.Protobuf.WellKnownTypes.Empty, OperationMetadataV1> | The RPC response. |
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 | |
---|---|
Name | Description |
request | DeleteDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Google.LongRunning.Operation<Google.Protobuf.WellKnownTypes.Empty, OperationMetadataV1>> | A Task containing the RPC response. |
GetDomainMapping(GetDomainMappingRequest, CallSettings)
public override DomainMapping GetDomainMapping(GetDomainMappingRequest request, CallSettings callSettings = null)
Gets the specified domain mapping.
Parameters | |
---|---|
Name | Description |
request | GetDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DomainMapping | The RPC response. |
GetDomainMappingAsync(GetDomainMappingRequest, CallSettings)
public override Task<DomainMapping> GetDomainMappingAsync(GetDomainMappingRequest request, CallSettings callSettings = null)
Gets the specified domain mapping.
Parameters | |
---|---|
Name | Description |
request | GetDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DomainMapping> | A Task containing the RPC response. |
ListDomainMappings(ListDomainMappingsRequest, CallSettings)
public override PagedEnumerable<ListDomainMappingsResponse, DomainMapping> ListDomainMappings(ListDomainMappingsRequest request, CallSettings callSettings = null)
Lists the domain mappings on an application.
Parameters | |
---|---|
Name | Description |
request | ListDomainMappingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListDomainMappingsResponse, DomainMapping> | A pageable sequence of DomainMapping resources. |
ListDomainMappingsAsync(ListDomainMappingsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDomainMappingsResponse, DomainMapping> ListDomainMappingsAsync(ListDomainMappingsRequest request, CallSettings callSettings = null)
Lists the domain mappings on an application.
Parameters | |
---|---|
Name | Description |
request | ListDomainMappingsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListDomainMappingsResponse, DomainMapping> | A pageable asynchronous sequence of DomainMapping resources. |
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 | |
---|---|
Name | Description |
request | UpdateDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Google.LongRunning.Operation<DomainMapping, OperationMetadataV1> | The RPC response. |
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 | |
---|---|
Name | Description |
request | UpdateDomainMappingRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Google.LongRunning.Operation<DomainMapping, OperationMetadataV1>> | A Task containing the RPC response. |