public class RegionSslCertificatesClient : ClientBase<RegionSslCertificates.RegionSslCertificatesClient>Client for RegionSslCertificates
Inheritance
Object > ClientBase > ClientBase<RegionSslCertificates.RegionSslCertificatesClient> > RegionSslCertificates.RegionSslCertificatesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionSslCertificatesClient()
protected RegionSslCertificatesClient()Protected parameterless constructor to allow creation of test doubles.
RegionSslCertificatesClient(CallInvoker)
public RegionSslCertificatesClient(CallInvoker callInvoker)Creates a new client for RegionSslCertificates that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
RegionSslCertificatesClient(ChannelBase)
public RegionSslCertificatesClient(ChannelBase channel)Creates a new client for RegionSslCertificates
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
RegionSslCertificatesClient(ClientBase.ClientBaseConfiguration)
protected RegionSslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
| Returns | |
|---|---|
| Type | Description |
Operations.OperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteRegionSslCertificateRequest, CallOptions)
public virtual Operation Delete(DeleteRegionSslCertificateRequest request, CallOptions options)Deletes the specified SslCertificate resource in the region.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionSslCertificateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Deletes the specified SslCertificate resource in the region.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionSslCertificateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteRegionSslCertificateRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslCertificateRequest request, CallOptions options)Deletes the specified SslCertificate resource in the region.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionSslCertificateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
DeleteAsync(DeleteRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Deletes the specified SslCertificate resource in the region.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionSslCertificateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
Get(GetRegionSslCertificateRequest, CallOptions)
public virtual SslCertificate Get(GetRegionSslCertificateRequest request, CallOptions options)Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslCertificateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SslCertificate |
The response received from the server. |
Get(GetRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SslCertificate Get(GetRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslCertificateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SslCertificate |
The response received from the server. |
GetAsync(GetRegionSslCertificateRequest, CallOptions)
public virtual AsyncUnaryCall<SslCertificate> GetAsync(GetRegionSslCertificateRequest request, CallOptions options)Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslCertificateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SslCertificate> |
The call object. |
GetAsync(GetRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SslCertificate> GetAsync(GetRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslCertificateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SslCertificate> |
The call object. |
Insert(InsertRegionSslCertificateRequest, CallOptions)
public virtual Operation Insert(InsertRegionSslCertificateRequest request, CallOptions options)Creates a SslCertificate resource in the specified project and region using the data included in the request
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslCertificateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a SslCertificate resource in the specified project and region using the data included in the request
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslCertificateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertRegionSslCertificateRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionSslCertificateRequest request, CallOptions options)Creates a SslCertificate resource in the specified project and region using the data included in the request
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslCertificateRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
InsertAsync(InsertRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Creates a SslCertificate resource in the specified project and region using the data included in the request
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslCertificateRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<Operation> |
The call object. |
List(ListRegionSslCertificatesRequest, CallOptions)
public virtual SslCertificateList List(ListRegionSslCertificatesRequest request, CallOptions options)Retrieves the list of SslCertificate resources available to the specified project in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslCertificatesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SslCertificateList |
The response received from the server. |
List(ListRegionSslCertificatesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual SslCertificateList List(ListRegionSslCertificatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of SslCertificate resources available to the specified project in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslCertificatesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SslCertificateList |
The response received from the server. |
ListAsync(ListRegionSslCertificatesRequest, CallOptions)
public virtual AsyncUnaryCall<SslCertificateList> ListAsync(ListRegionSslCertificatesRequest request, CallOptions options)Retrieves the list of SslCertificate resources available to the specified project in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslCertificatesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SslCertificateList> |
The call object. |
ListAsync(ListRegionSslCertificatesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<SslCertificateList> ListAsync(ListRegionSslCertificatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))Retrieves the list of SslCertificate resources available to the specified project in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslCertificatesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
Nullable<DateTime>An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCall<SslCertificateList> |
The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionSslCertificates.RegionSslCertificatesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBase.ClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
RegionSslCertificates.RegionSslCertificatesClient |
|