Compute Engine v1 API - Class RegionSslPoliciesClientImpl (2.2.0)

public sealed class RegionSslPoliciesClientImpl : RegionSslPoliciesClient

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

RegionSslPolicies client wrapper implementation, for convenient use.

Inheritance

Object > RegionSslPoliciesClient > RegionSslPoliciesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionSslPolicies API.

Constructors

RegionSslPoliciesClientImpl(RegionSslPolicies.RegionSslPoliciesClient, RegionSslPoliciesSettings, ILogger)

public RegionSslPoliciesClientImpl(RegionSslPolicies.RegionSslPoliciesClient grpcClient, RegionSslPoliciesSettings settings, ILogger logger)

Constructs a client wrapper for the RegionSslPolicies service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientRegionSslPolicies.RegionSslPoliciesClient

The underlying gRPC client.

settingsRegionSslPoliciesSettings

The base RegionSslPoliciesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionSslPolicies.RegionSslPoliciesClient GrpcClient { get; }

The underlying gRPC RegionSslPolicies client

Property Value
TypeDescription
RegionSslPolicies.RegionSslPoliciesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteRegionSslPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionSslPolicyRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteRegionSslPolicyRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionSslPolicyRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetRegionSslPolicyRequest, CallSettings)

public override SslPolicy Get(GetRegionSslPolicyRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetRegionSslPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SslPolicy

The RPC response.

Overrides

GetAsync(GetRegionSslPolicyRequest, CallSettings)

public override Task<SslPolicy> GetAsync(GetRegionSslPolicyRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestGetRegionSslPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SslPolicy>

A Task containing the RPC response.

Overrides

Insert(InsertRegionSslPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionSslPolicyRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestInsertRegionSslPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertRegionSslPolicyRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionSslPolicyRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestInsertRegionSslPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListRegionSslPoliciesRequest, CallSettings)

public override PagedEnumerable<SslPoliciesList, SslPolicy> List(ListRegionSslPoliciesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListRegionSslPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<SslPoliciesList, SslPolicy>

A pageable sequence of SslPolicy resources.

Overrides

ListAsync(ListRegionSslPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<SslPoliciesList, SslPolicy> ListAsync(ListRegionSslPoliciesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListRegionSslPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<SslPoliciesList, SslPolicy>

A pageable asynchronous sequence of SslPolicy resources.

Overrides

ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest, CallSettings)

public override SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListAvailableFeaturesRegionSslPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SslPoliciesListAvailableFeaturesResponse

The RPC response.

Overrides

ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest, CallSettings)

public override Task<SslPoliciesListAvailableFeaturesResponse> ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestListAvailableFeaturesRegionSslPoliciesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<SslPoliciesListAvailableFeaturesResponse>

A Task containing the RPC response.

Overrides

Patch(PatchRegionSslPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionSslPolicyRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestPatchRegionSslPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchRegionSslPolicyRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> PatchAsync(PatchRegionSslPolicyRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestPatchRegionSslPolicyRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides