Compute Engine v1 API - Class RegionSslCertificates.RegionSslCertificatesClient (3.1.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RegionSslCertificatesClient(ChannelBase)

public RegionSslCertificatesClient(ChannelBase channel)

Creates a new client for RegionSslCertificates

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegionSslCertificatesClient(ClientBaseConfiguration)

protected RegionSslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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
Type Description
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
Name Description
request DeleteRegionSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteRegionSslCertificateRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 DeleteRegionSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteRegionSslCertificateRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request GetRegionSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetRegionSslCertificateRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 GetRegionSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetRegionSslCertificateRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request InsertRegionSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request InsertRegionSslCertificateRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 InsertRegionSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request InsertRegionSslCertificateRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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
Name Description
request ListRegionSslCertificatesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListRegionSslCertificatesRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An 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 ListRegionSslCertificatesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListRegionSslCertificatesRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallSslCertificateList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegionSslCertificatesRegionSslCertificatesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionSslCertificates.RegionSslCertificatesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)