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

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

The callInvoker to use to make remote calls.

RegionSslPoliciesClient(ChannelBase)

public RegionSslPoliciesClient(ChannelBase channel)

Creates a new client for RegionSslPolicies

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegionSslPoliciesClient(ClientBaseConfiguration)

protected RegionSslPoliciesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

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

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

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

The request to send to the server.

options CallOptions

The options for the call.

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

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

public virtual SslPolicy Get(GetRegionSslPolicyRequest request, CallOptions options)

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

Parameters
Name Description
request GetRegionSslPolicyRequest

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

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
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
Name Description
request GetRegionSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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
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
Name Description
request InsertRegionSslPolicyRequest

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

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

The request to send to the server.

options CallOptions

The options for the call.

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

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

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

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
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
Name Description
request ListRegionSslPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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
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
Name Description
request ListAvailableFeaturesRegionSslPoliciesRequest

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

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
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
Name Description
request ListAvailableFeaturesRegionSslPoliciesRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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
AsyncUnaryCallSslPoliciesListAvailableFeaturesResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
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
Name Description
request PatchRegionSslPolicyRequest

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

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.

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
Name Description
request PatchRegionSslPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

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

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.