Compute Engine v1 API - Class RegionSslCertificates.RegionSslCertificatesClient (2.11.0)

public class RegionSslCertificates.RegionSslCertificatesClient : ClientBase<RegionSslCertificates.RegionSslCertificatesClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionSslCertificates.RegionSslCertificatesClient.

Client for RegionSslCertificates

Inheritance

object > ClientBase > ClientBaseRegionSslCertificatesRegionSslCertificatesClient > RegionSslCertificates.RegionSslCertificatesClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionSslCertificatesClient(ChannelBase)

public RegionSslCertificatesClient(ChannelBase channel)

Creates a new client for RegionSslCertificates

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionSslCertificatesClient(ClientBaseConfiguration)

protected RegionSslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The 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
TypeDescription
OperationsOperationsClient

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
NameDescription
requestDeleteRegionSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteRegionSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified SslCertificate resource in the region.

Parameters
NameDescription
requestDeleteRegionSslCertificateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

DeleteAsync(DeleteRegionSslCertificateRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslCertificateRequest request, CallOptions options)

Deletes the specified SslCertificate resource in the region.

Parameters
NameDescription
requestDeleteRegionSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified SslCertificate resource in the region.

Parameters
NameDescription
requestDeleteRegionSslCertificateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

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
NameDescription
requestGetRegionSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslCertificate

The response received from the server.

Get(GetRegionSslCertificateRequest, Metadata, DateTime?, CancellationToken)

public virtual SslCertificate Get(GetRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.

Parameters
NameDescription
requestGetRegionSslCertificateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
NameDescription
requestGetRegionSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSslCertificate

The call object.

GetAsync(GetRegionSslCertificateRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SslCertificate> GetAsync(GetRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.

Parameters
NameDescription
requestGetRegionSslCertificateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallSslCertificate

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
NameDescription
requestInsertRegionSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertRegionSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Creates a SslCertificate resource in the specified project and region using the data included in the request

Parameters
NameDescription
requestInsertRegionSslCertificateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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.

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
NameDescription
requestInsertRegionSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Creates a SslCertificate resource in the specified project and region using the data included in the request

Parameters
NameDescription
requestInsertRegionSslCertificateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallOperation

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
NameDescription
requestListRegionSslCertificatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslCertificateList

The response received from the server.

List(ListRegionSslCertificatesRequest, Metadata, DateTime?, CancellationToken)

public virtual SslCertificateList List(ListRegionSslCertificatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of SslCertificate resources available to the specified project in the specified region.

Parameters
NameDescription
requestListRegionSslCertificatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
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
NameDescription
requestListRegionSslCertificatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSslCertificateList

The call object.

ListAsync(ListRegionSslCertificatesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SslCertificateList> ListAsync(ListRegionSslCertificatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of SslCertificate resources available to the specified project in the specified region.

Parameters
NameDescription
requestListRegionSslCertificatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

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
AsyncUnaryCallSslCertificateList

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionSslCertificates.RegionSslCertificatesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegionSslCertificatesRegionSslCertificatesClient
Overrides