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

public class SslCertificatesClient : ClientBase<SslCertificates.SslCertificatesClient>

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

Client for SslCertificates

Inheritance

Object > ClientBase > ClientBase<SslCertificates.SslCertificatesClient> > SslCertificates.SslCertificatesClient

Namespace

Google.Cloud.Compute.V1

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

protected SslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

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.

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

The call object.

AggregatedListAsync(AggregatedListSslCertificatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<SslCertificateAggregatedList>

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
Operations.OperationsClient

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

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

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.

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

The call object.

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

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

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.

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

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

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.

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

The call object.

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

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

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.

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

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

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.

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

The call object.

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

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

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.

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

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

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.

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

The call object.

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

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

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.

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

Creates a new instance of client from given ClientBaseConfiguration.

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