Class RegionSslCertificates.RegionSslCertificatesClient (2.1.0)

public class RegionSslCertificatesClient : ClientBase<RegionSslCertificates.RegionSslCertificatesClient>

Client for RegionSslCertificates

Inheritance

Object > ClientBase > ClientBase<RegionSslCertificates.RegionSslCertificatesClient> > 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(ClientBase.ClientBaseConfiguration)

protected RegionSslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

DeleteAsync(DeleteRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
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
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, Nullable<DateTime>, CancellationToken)

public virtual SslCertificate Get(GetRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = null, 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
NameDescription
requestGetRegionSslCertificateRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<SslCertificate>

The call object.

GetAsync(GetRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<SslCertificate> GetAsync(GetRegionSslCertificateRequest request, Metadata headers = null, DateTime? deadline = null, 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
NameDescription
requestGetRegionSslCertificateRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

InsertAsync(InsertRegionSslCertificateRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<SslCertificateList>

The call object.

ListAsync(ListRegionSslCertificatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
RegionSslCertificates.RegionSslCertificatesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionSslCertificates.RegionSslCertificatesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)