Compute Engine v1 API - Class SslPoliciesClientImpl (3.1.0)

public sealed class SslPoliciesClientImpl : SslPoliciesClient

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

SslPolicies client wrapper implementation, for convenient use.

Inheritance

object > SslPoliciesClient > SslPoliciesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The SslPolicies API.

Constructors

SslPoliciesClientImpl(SslPoliciesClient, SslPoliciesSettings, ILogger)

public SslPoliciesClientImpl(SslPolicies.SslPoliciesClient grpcClient, SslPoliciesSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient SslPoliciesSslPoliciesClient

The underlying gRPC client.

settings SslPoliciesSettings

The base SslPoliciesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override SslPolicies.SslPoliciesClient GrpcClient { get; }

The underlying gRPC SslPolicies client

Property Value
Type Description
SslPoliciesSslPoliciesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListSslPoliciesRequest, CallSettings)

public override PagedEnumerable<SslPoliciesAggregatedList, KeyValuePair<string, SslPoliciesScopedList>> AggregatedList(AggregatedListSslPoliciesRequest request, CallSettings callSettings = null)

Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListSslPoliciesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableSslPoliciesAggregatedListKeyValuePairstringSslPoliciesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListSslPoliciesRequest, CallSettings)

public override PagedAsyncEnumerable<SslPoliciesAggregatedList, KeyValuePair<string, SslPoliciesScopedList>> AggregatedListAsync(AggregatedListSslPoliciesRequest request, CallSettings callSettings = null)

Retrieves the list of all SslPolicy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListSslPoliciesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableSslPoliciesAggregatedListKeyValuePairstringSslPoliciesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Delete(DeleteSslPolicyRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteSslPolicyRequest 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
Name Description
request DeleteSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteSslPolicyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteSslPolicyRequest 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
Name Description
request DeleteSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetSslPolicyRequest, CallSettings)

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

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

Parameters
Name Description
request GetSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SslPolicy

The RPC response.

Overrides

GetAsync(GetSslPolicyRequest, CallSettings)

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

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

Parameters
Name Description
request GetSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSslPolicy

A Task containing the RPC response.

Overrides

Insert(InsertSslPolicyRequest, CallSettings)

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

Returns the specified SSL policy resource.

Parameters
Name Description
request InsertSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertSslPolicyRequest, CallSettings)

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

Returns the specified SSL policy resource.

Parameters
Name Description
request InsertSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListSslPoliciesRequest, CallSettings)

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

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

Parameters
Name Description
request ListSslPoliciesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableSslPoliciesListSslPolicy

A pageable sequence of SslPolicy resources.

Overrides

ListAsync(ListSslPoliciesRequest, CallSettings)

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

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

Parameters
Name Description
request ListSslPoliciesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableSslPoliciesListSslPolicy

A pageable asynchronous sequence of SslPolicy resources.

Overrides

ListAvailableFeatures(ListAvailableFeaturesSslPoliciesRequest, CallSettings)

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

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

Parameters
Name Description
request ListAvailableFeaturesSslPoliciesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
SslPoliciesListAvailableFeaturesResponse

The RPC response.

Overrides

ListAvailableFeaturesAsync(ListAvailableFeaturesSslPoliciesRequest, CallSettings)

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

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

Parameters
Name Description
request ListAvailableFeaturesSslPoliciesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSslPoliciesListAvailableFeaturesResponse

A Task containing the RPC response.

Overrides

Patch(PatchSslPolicyRequest, CallSettings)

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

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

Parameters
Name Description
request PatchSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchSslPolicyRequest, CallSettings)

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

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

Parameters
Name Description
request PatchSslPolicyRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides