Compute Engine v1 API - Class SslCertificates.SslCertificatesClient (2.7.0)

public class SslCertificates.SslCertificatesClient : ClientBase<SslCertificates.SslCertificatesClient>

Reference documentation and code samples for the Compute Engine v1 API class SslCertificates.SslCertificatesClient.

Client for SslCertificates

Inheritance

object > ClientBase > ClientBaseSslCertificatesSslCertificatesClient > SslCertificates.SslCertificatesClient

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SslCertificatesClient()

protected SslCertificatesClient()

Protected parameterless constructor to allow creation of test doubles.

SslCertificatesClient(CallInvoker)

public SslCertificatesClient(CallInvoker callInvoker)

Creates a new client for SslCertificates that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

SslCertificatesClient(ChannelBase)

public SslCertificatesClient(ChannelBase channel)

Creates a new client for SslCertificates

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

SslCertificatesClient(ClientBaseConfiguration)

protected SslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListSslCertificatesRequest, CallOptions)

public virtual SslCertificateAggregatedList AggregatedList(AggregatedListSslCertificatesRequest request, CallOptions options)

Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListSslCertificatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslCertificateAggregatedList

The response received from the server.

AggregatedList(AggregatedListSslCertificatesRequest, Metadata, DateTime?, CancellationToken)

public virtual SslCertificateAggregatedList AggregatedList(AggregatedListSslCertificatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListSslCertificatesRequest

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
SslCertificateAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListSslCertificatesRequest, CallOptions)

public virtual AsyncUnaryCall<SslCertificateAggregatedList> AggregatedListAsync(AggregatedListSslCertificatesRequest request, CallOptions options)

Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListSslCertificatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSslCertificateAggregatedList

The call object.

AggregatedListAsync(AggregatedListSslCertificatesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SslCertificateAggregatedList> AggregatedListAsync(AggregatedListSslCertificatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of all SslCertificate resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListSslCertificatesRequest

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
AsyncUnaryCallSslCertificateAggregatedList

The call object.

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteSslCertificateRequest, CallOptions)

public virtual Operation Delete(DeleteSslCertificateRequest request, CallOptions options)

Deletes the specified SslCertificate resource.

Parameters
NameDescription
requestDeleteSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified SslCertificate resource.

Parameters
NameDescription
requestDeleteSslCertificateRequest

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(DeleteSslCertificateRequest, CallOptions)

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

Deletes the specified SslCertificate resource.

Parameters
NameDescription
requestDeleteSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified SslCertificate resource.

Parameters
NameDescription
requestDeleteSslCertificateRequest

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(GetSslCertificateRequest, CallOptions)

public virtual SslCertificate Get(GetSslCertificateRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslCertificate

The response received from the server.

Get(GetSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestGetSslCertificateRequest

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(GetSslCertificateRequest, CallOptions)

public virtual AsyncUnaryCall<SslCertificate> GetAsync(GetSslCertificateRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSslCertificate

The call object.

GetAsync(GetSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestGetSslCertificateRequest

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(InsertSslCertificateRequest, CallOptions)

public virtual Operation Insert(InsertSslCertificateRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestInsertSslCertificateRequest

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(InsertSslCertificateRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertSslCertificateRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertSslCertificateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestInsertSslCertificateRequest

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(ListSslCertificatesRequest, CallOptions)

public virtual SslCertificateList List(ListSslCertificatesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListSslCertificatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslCertificateList

The response received from the server.

List(ListSslCertificatesRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListSslCertificatesRequest

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(ListSslCertificatesRequest, CallOptions)

public virtual AsyncUnaryCall<SslCertificateList> ListAsync(ListSslCertificatesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListSslCertificatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSslCertificateList

The call object.

ListAsync(ListSslCertificatesRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListSslCertificatesRequest

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 SslCertificates.SslCertificatesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
SslCertificatesSslCertificatesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.SslCertificates.SslCertificatesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)