Compute Engine v1 API - Class SslPoliciesClientImpl (2.15.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
NameDescription
grpcClientSslPoliciesSslPoliciesClient

The underlying gRPC client.

settingsSslPoliciesSettings

The base SslPoliciesSettings 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 SslPolicies.SslPoliciesClient GrpcClient { get; }

The underlying gRPC SslPolicies client

Property Value
TypeDescription
SslPoliciesSslPoliciesClient
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

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
NameDescription
requestAggregatedListSslPoliciesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestAggregatedListSslPoliciesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetSslPolicyRequest

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(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
NameDescription
requestGetSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestInsertSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestInsertSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListSslPoliciesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListSslPoliciesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListAvailableFeaturesSslPoliciesRequest

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(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
NameDescription
requestListAvailableFeaturesSslPoliciesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestPatchSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestPatchSslPolicyRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides