Class SslPolicies.SslPoliciesClient (2.0.0)

public class SslPoliciesClient : ClientBase<SslPolicies.SslPoliciesClient>

Client for SslPolicies

Inheritance

Object > ClientBase > ClientBase<SslPolicies.SslPoliciesClient> > SslPolicies.SslPoliciesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SslPoliciesClient()

protected SslPoliciesClient()

Protected parameterless constructor to allow creation of test doubles.

SslPoliciesClient(CallInvoker)

public SslPoliciesClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

SslPoliciesClient(ChannelBase)

public SslPoliciesClient(ChannelBase channel)

Creates a new client for SslPolicies

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

SslPoliciesClient(ClientBase.ClientBaseConfiguration)

protected SslPoliciesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration

The client configuration.

Methods

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

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

Delete(DeleteSslPolicyRequest, CallOptions)

public virtual Operation Delete(DeleteSslPolicyRequest request, CallOptions options)

Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.

Parameters
Name Description
request DeleteSslPolicyRequest

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

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

Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.

Parameters
Name Description
request DeleteSslPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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(DeleteSslPolicyRequest, CallOptions)

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

Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.

Parameters
Name Description
request DeleteSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified SSL policy. The SSL policy resource can be deleted only if it is not in use by any TargetHttpsProxy or TargetSslProxy resources.

Parameters
Name Description
request DeleteSslPolicyRequest

The request to send to the server.

headers Metadata

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

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

The call object.

Get(GetSslPolicyRequest, CallOptions)

public virtual SslPolicy Get(GetSslPolicyRequest request, CallOptions options)

Lists all of the ordered rules present in a single specified policy.

Parameters
Name Description
request GetSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SslPolicy

The response received from the server.

Get(GetSslPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists all of the ordered rules present in a single specified policy.

Parameters
Name Description
request GetSslPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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
SslPolicy

The response received from the server.

GetAsync(GetSslPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<SslPolicy> GetAsync(GetSslPolicyRequest request, CallOptions options)

Lists all of the ordered rules present in a single specified policy.

Parameters
Name Description
request GetSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<SslPolicy>

The call object.

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

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

Lists all of the ordered rules present in a single specified policy.

Parameters
Name Description
request GetSslPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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
AsyncUnaryCall<SslPolicy>

The call object.

Insert(InsertSslPolicyRequest, CallOptions)

public virtual Operation Insert(InsertSslPolicyRequest request, CallOptions options)

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

Parameters
Name Description
request InsertSslPolicyRequest

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

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

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

Parameters
Name Description
request InsertSslPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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(InsertSslPolicyRequest, CallOptions)

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

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

Parameters
Name Description
request InsertSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Operation>

The call object.

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

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

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

Parameters
Name Description
request InsertSslPolicyRequest

The request to send to the server.

headers Metadata

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

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

The call object.

List(ListSslPoliciesRequest, CallOptions)

public virtual SslPoliciesList List(ListSslPoliciesRequest request, CallOptions options)

Lists all the SSL policies that have been configured for the specified project.

Parameters
Name Description
request ListSslPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SslPoliciesList

The response received from the server.

List(ListSslPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists all the SSL policies that have been configured for the specified project.

Parameters
Name Description
request ListSslPoliciesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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
SslPoliciesList

The response received from the server.

ListAsync(ListSslPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<SslPoliciesList> ListAsync(ListSslPoliciesRequest request, CallOptions options)

Lists all the SSL policies that have been configured for the specified project.

Parameters
Name Description
request ListSslPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<SslPoliciesList>

The call object.

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

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

Lists all the SSL policies that have been configured for the specified project.

Parameters
Name Description
request ListSslPoliciesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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
AsyncUnaryCall<SslPoliciesList>

The call object.

ListAvailableFeatures(ListAvailableFeaturesSslPoliciesRequest, CallOptions)

public virtual SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesSslPoliciesRequest request, CallOptions options)

Lists all features that can be specified in the SSL policy when using custom profile.

Parameters
Name Description
request ListAvailableFeaturesSslPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SslPoliciesListAvailableFeaturesResponse

The response received from the server.

ListAvailableFeatures(ListAvailableFeaturesSslPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesSslPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists all features that can be specified in the SSL policy when using custom profile.

Parameters
Name Description
request ListAvailableFeaturesSslPoliciesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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
SslPoliciesListAvailableFeaturesResponse

The response received from the server.

ListAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest, CallOptions)

public virtual AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse> ListAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest request, CallOptions options)

Lists all features that can be specified in the SSL policy when using custom profile.

Parameters
Name Description
request ListAvailableFeaturesSslPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse>

The call object.

ListAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse> ListAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists all features that can be specified in the SSL policy when using custom profile.

Parameters
Name Description
request ListAvailableFeaturesSslPoliciesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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
AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override SslPolicies.SslPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration
Returns
Type Description
SslPolicies.SslPoliciesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.SslPolicies.SslPoliciesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchSslPolicyRequest, CallOptions)

public virtual Operation Patch(PatchSslPolicyRequest request, CallOptions options)

Patches the specified SSL policy with the data included in the request.

Parameters
Name Description
request PatchSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Patch(PatchSslPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Patches the specified SSL policy with the data included in the request.

Parameters
Name Description
request PatchSslPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<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.

PatchAsync(PatchSslPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchSslPolicyRequest request, CallOptions options)

Patches the specified SSL policy with the data included in the request.

Parameters
Name Description
request PatchSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchSslPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Patches the specified SSL policy with the data included in the request.

Parameters
Name Description
request PatchSslPolicyRequest

The request to send to the server.

headers Metadata

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

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

The call object.