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.
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | SslPolicies.SslPoliciesClient 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 |
GrpcClient
public override SslPolicies.SslPoliciesClient GrpcClient { get; }
The underlying gRPC SslPolicies client
Property Value | |
---|---|
Type | Description |
SslPolicies.SslPoliciesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }
The long-running operations client for Patch
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
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 |
PagedEnumerable<SslPoliciesAggregatedList, KeyValuePair<String, SslPoliciesScopedList>> | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
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 | |
---|---|
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 |
PagedAsyncEnumerable<SslPoliciesAggregatedList, KeyValuePair<String, SslPoliciesScopedList>> | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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. |
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 |
Task<SslPolicy> | A Task containing the RPC response. |
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 | |
---|---|
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
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 |
PagedEnumerable<SslPoliciesList, SslPolicy> | A pageable sequence of SslPolicy resources. |
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 |
PagedAsyncEnumerable<SslPoliciesList, SslPolicy> | A pageable asynchronous sequence of SslPolicy resources. |
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. |
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 |
Task<SslPoliciesListAvailableFeaturesResponse> | A Task containing the RPC response. |
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 |
Operation<Operation, Operation> | The RPC response. |
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 | |
---|---|
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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |