Compute Engine v1 API - Class SslCertificates.SslCertificatesClient (3.0.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

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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SslCertificatesClient(ChannelBase)

public SslCertificatesClient(ChannelBase channel)

Creates a new client for SslCertificates

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SslCertificatesClient(ClientBaseConfiguration)

protected SslCertificatesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListSslCertificatesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListSslCertificatesRequest

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
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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListSslCertificatesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListSslCertificatesRequest

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

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(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
Name Description
request DeleteSslCertificateRequest

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

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

Deletes the specified SslCertificate resource.

Parameters
Name Description
request DeleteSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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

public virtual SslCertificate Get(GetSslCertificateRequest request, CallOptions options)

Returns the specified SslCertificate resource.

Parameters
Name Description
request GetSslCertificateRequest

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(GetSslCertificateRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified SslCertificate resource.

Parameters
Name Description
request GetSslCertificateRequest

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

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

Returns the specified SslCertificate resource.

Parameters
Name Description
request GetSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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.

Parameters
Name Description
request GetSslCertificateRequest

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(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
Name Description
request InsertSslCertificateRequest

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(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
Name Description
request InsertSslCertificateRequest

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(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
Name Description
request InsertSslCertificateRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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

public virtual SslCertificateList List(ListSslCertificatesRequest request, CallOptions options)

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

Parameters
Name Description
request ListSslCertificatesRequest

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(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
Name Description
request ListSslCertificatesRequest

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

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

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

Parameters
Name Description
request ListSslCertificatesRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
SslCertificatesSslCertificatesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.SslCertificates.SslCertificatesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)