Compute Engine v1 API - Class SslPoliciesClientImpl (2.3.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(SslPolicies.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
grpcClientSslPolicies.SslPoliciesClient

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
SslPolicies.SslPoliciesClient
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.

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
PagedEnumerable<SslPoliciesAggregatedList, KeyValuePair<String, SslPoliciesScopedList>>

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.

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
PagedAsyncEnumerable<SslPoliciesAggregatedList, KeyValuePair<String, SslPoliciesScopedList>>

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
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteSslPolicyRequest, CallSettings)

public override async 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
Task<Operation<Operation, Operation>>

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
Task<SslPolicy>

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. Gets a list of available SSL policies by making a list() request.

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
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertSslPolicyRequest, CallSettings)

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

Returns the specified SSL policy resource. Gets a list of available SSL policies by making a list() request.

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
Task<Operation<Operation, Operation>>

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
PagedEnumerable<SslPoliciesList, SslPolicy>

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
PagedAsyncEnumerable<SslPoliciesList, SslPolicy>

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
Task<SslPoliciesListAvailableFeaturesResponse>

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
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchSslPolicyRequest, CallSettings)

public override async 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
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides