Compute Engine v1 API - Class RegionSslPolicies.RegionSslPoliciesClient (2.3.0)

public class RegionSslPoliciesClient : ClientBase<RegionSslPolicies.RegionSslPoliciesClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionSslPolicies.RegionSslPoliciesClient.

Client for RegionSslPolicies

Inheritance

Object > ClientBase > ClientBase<RegionSslPolicies.RegionSslPoliciesClient> > RegionSslPolicies.RegionSslPoliciesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionSslPoliciesClient()

protected RegionSslPoliciesClient()

Protected parameterless constructor to allow creation of test doubles.

RegionSslPoliciesClient(CallInvoker)

public RegionSslPoliciesClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionSslPoliciesClient(ChannelBase)

public RegionSslPoliciesClient(ChannelBase channel)

Creates a new client for RegionSslPolicies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionSslPoliciesClient(ClientBase.ClientBaseConfiguration)

protected RegionSslPoliciesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

Delete(DeleteRegionSslPolicyRequest, CallOptions)

public virtual Operation Delete(DeleteRegionSslPolicyRequest 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
NameDescription
requestDeleteRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteRegionSslPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation Delete(DeleteRegionSslPolicyRequest 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
NameDescription
requestDeleteRegionSslPolicyRequest

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

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslPolicyRequest 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
NameDescription
requestDeleteRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslPolicyRequest 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
NameDescription
requestDeleteRegionSslPolicyRequest

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

public virtual SslPolicy Get(GetRegionSslPolicyRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslPolicy

The response received from the server.

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

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

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

Parameters
NameDescription
requestGetRegionSslPolicyRequest

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
SslPolicy

The response received from the server.

GetAsync(GetRegionSslPolicyRequest, CallOptions)

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

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

Parameters
NameDescription
requestGetRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SslPolicy>

The call object.

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

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

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

Parameters
NameDescription
requestGetRegionSslPolicyRequest

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

The call object.

Insert(InsertRegionSslPolicyRequest, CallOptions)

public virtual Operation Insert(InsertRegionSslPolicyRequest request, CallOptions options)

Creates a new policy in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertRegionSslPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a new policy in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionSslPolicyRequest

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

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

Creates a new policy in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Creates a new policy in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionSslPolicyRequest

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

public virtual SslPoliciesList List(ListRegionSslPoliciesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListRegionSslPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslPoliciesList

The response received from the server.

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

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

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

Parameters
NameDescription
requestListRegionSslPoliciesRequest

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
SslPoliciesList

The response received from the server.

ListAsync(ListRegionSslPoliciesRequest, CallOptions)

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

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

Parameters
NameDescription
requestListRegionSslPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SslPoliciesList>

The call object.

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

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

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

Parameters
NameDescription
requestListRegionSslPoliciesRequest

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

The call object.

ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest, CallOptions)

public virtual SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListAvailableFeaturesRegionSslPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse

The response received from the server.

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

public virtual SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest 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
NameDescription
requestListAvailableFeaturesRegionSslPoliciesRequest

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
SslPoliciesListAvailableFeaturesResponse

The response received from the server.

ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest, CallOptions)

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

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

Parameters
NameDescription
requestListAvailableFeaturesRegionSslPoliciesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse>

The call object.

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

public virtual AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse> ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest 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
NameDescription
requestListAvailableFeaturesRegionSslPoliciesRequest

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

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override RegionSslPolicies.RegionSslPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

Patch(PatchRegionSslPolicyRequest, CallOptions)

public virtual Operation Patch(PatchRegionSslPolicyRequest request, CallOptions options)

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

Parameters
NameDescription
requestPatchRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

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

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

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

Parameters
NameDescription
requestPatchRegionSslPolicyRequest

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.

PatchAsync(PatchRegionSslPolicyRequest, CallOptions)

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

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

Parameters
NameDescription
requestPatchRegionSslPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

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

Parameters
NameDescription
requestPatchRegionSslPolicyRequest

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.