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

public class RegionSslPolicies.RegionSslPoliciesClient : ClientBase<RegionSslPolicies.RegionSslPoliciesClient>

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

Client for RegionSslPolicies

Inheritance

object > ClientBase > ClientBaseRegionSslPoliciesRegionSslPoliciesClient > RegionSslPolicies.RegionSslPoliciesClient

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

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

protected RegionSslPoliciesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
OperationsOperationsClient

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

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

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.

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(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
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)

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

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.

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

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

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.

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

The call object.

GetAsync(GetRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)

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

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.

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
AsyncUnaryCallSslPolicy

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

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

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.

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(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
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)

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

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.

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

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

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.

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

The call object.

ListAsync(ListRegionSslPoliciesRequest, Metadata, DateTime?, CancellationToken)

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

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.

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
AsyncUnaryCallSslPoliciesList

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

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

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.

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

The call object.

ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest, Metadata, DateTime?, CancellationToken)

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

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.

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
AsyncUnaryCallSslPoliciesListAvailableFeaturesResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegionSslPoliciesRegionSslPoliciesClient
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, DateTime?, CancellationToken)

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

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.

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.

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
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)

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

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.

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.