public sealed class DomainMappingsClientImpl : DomainMappingsClientDomainMappings 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, ILogger)
public DomainMappingsClientImpl(DomainMappings.DomainMappingsClient grpcClient, DomainMappingsSettings settings, ILogger logger)Constructs a client wrapper for the DomainMappings service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
DomainMappings.DomainMappingsClientThe underlying gRPC client. |
settings |
DomainMappingsSettingsThe base DomainMappingsSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
CreateDomainMappingOperationsClient
public override OperationsClient CreateDomainMappingOperationsClient { get; }The long-running operations client for CreateDomainMapping.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteDomainMappingOperationsClient
public override OperationsClient DeleteDomainMappingOperationsClient { get; }The long-running operations client for DeleteDomainMapping.
| Property Value | |
|---|---|
| Type | Description |
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 |
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 |
CreateDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<DomainMapping, OperationMetadataV1> |
The RPC response. |
CreateDomainMappingAsync(CreateDomainMappingRequest, CallSettings)
public override async 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 |
CreateDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<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 |
DeleteDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Empty, OperationMetadataV1> |
The RPC response. |
DeleteDomainMappingAsync(DeleteDomainMappingRequest, CallSettings)
public override async 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 |
DeleteDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<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 |
GetDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
GetDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
ListDomainMappingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
ListDomainMappingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf 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 |
UpdateDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<DomainMapping, OperationMetadataV1> |
The RPC response. |
UpdateDomainMappingAsync(UpdateDomainMappingRequest, CallSettings)
public override async 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 |
UpdateDomainMappingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<DomainMapping, OperationMetadataV1>> |
A Task containing the RPC response. |