public class RegionSslPolicies.RegionSslPoliciesClient : ClientBase<RegionSslPolicies.RegionSslPoliciesClient>Reference documentation and code samples for the Compute Engine v1 API class RegionSslPolicies.RegionSslPoliciesClient.
Client for RegionSslPolicies
Inheritance
object > ClientBase > ClientBaseRegionSslPoliciesRegionSslPoliciesClient > RegionSslPolicies.RegionSslPoliciesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionSslPoliciesClient()
protected RegionSslPoliciesClient()Protected parameterless constructor to allow creation of test doubles.
RegionSslPoliciesClient(CallInvoker)
public RegionSslPoliciesClient(CallInvoker callInvoker)Creates a new client for RegionSslPolicies that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
RegionSslPoliciesClient(ChannelBase)
public RegionSslPoliciesClient(ChannelBase channel)Creates a new client for RegionSslPolicies
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
RegionSslPoliciesClient(ClientBaseConfiguration)
protected RegionSslPoliciesClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteRegionSslPolicyRequest, CallOptions)
public virtual Operation Delete(DeleteRegionSslPolicyRequest request, CallOptions options)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 |
DeleteRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 |
DeleteRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteRegionSslPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslPolicyRequest request, CallOptions options)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 |
DeleteRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 |
DeleteRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetRegionSslPolicyRequest, CallOptions)
public virtual SslPolicy Get(GetRegionSslPolicyRequest request, CallOptions options)Lists all of the ordered rules present in a single specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SslPolicy |
The response received from the server. |
Get(GetRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual SslPolicy Get(GetRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all of the ordered rules present in a single specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SslPolicy |
The response received from the server. |
GetAsync(GetRegionSslPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<SslPolicy> GetAsync(GetRegionSslPolicyRequest request, CallOptions options)Lists all of the ordered rules present in a single specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSslPolicy |
The call object. |
GetAsync(GetRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SslPolicy> GetAsync(GetRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all of the ordered rules present in a single specified policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSslPolicy |
The call object. |
Insert(InsertRegionSslPolicyRequest, CallOptions)
public virtual Operation Insert(InsertRegionSslPolicyRequest request, CallOptions options)Creates a new policy in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new policy in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertRegionSslPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionSslPolicyRequest request, CallOptions options)Creates a new policy in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Creates a new policy in the specified project and region using the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListRegionSslPoliciesRequest, CallOptions)
public virtual SslPoliciesList List(ListRegionSslPoliciesRequest request, CallOptions options)Lists all the SSL policies that have been configured for the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslPoliciesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SslPoliciesList |
The response received from the server. |
List(ListRegionSslPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual SslPoliciesList List(ListRegionSslPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all the SSL policies that have been configured for the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslPoliciesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SslPoliciesList |
The response received from the server. |
ListAsync(ListRegionSslPoliciesRequest, CallOptions)
public virtual AsyncUnaryCall<SslPoliciesList> ListAsync(ListRegionSslPoliciesRequest request, CallOptions options)Lists all the SSL policies that have been configured for the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslPoliciesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSslPoliciesList |
The call object. |
ListAsync(ListRegionSslPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SslPoliciesList> ListAsync(ListRegionSslPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all the SSL policies that have been configured for the specified project and region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionSslPoliciesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSslPoliciesList |
The call object. |
ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest, CallOptions)
public virtual SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest request, CallOptions options)Lists all features that can be specified in the SSL policy when using custom profile.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAvailableFeaturesRegionSslPoliciesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
SslPoliciesListAvailableFeaturesResponse |
The response received from the server. |
ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual SslPoliciesListAvailableFeaturesResponse ListAvailableFeatures(ListAvailableFeaturesRegionSslPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all features that can be specified in the SSL policy when using custom profile.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAvailableFeaturesRegionSslPoliciesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
SslPoliciesListAvailableFeaturesResponse |
The response received from the server. |
ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest, CallOptions)
public virtual AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse> ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest request, CallOptions options)Lists all features that can be specified in the SSL policy when using custom profile.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAvailableFeaturesRegionSslPoliciesRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSslPoliciesListAvailableFeaturesResponse |
The call object. |
ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<SslPoliciesListAvailableFeaturesResponse> ListAvailableFeaturesAsync(ListAvailableFeaturesRegionSslPoliciesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all features that can be specified in the SSL policy when using custom profile.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAvailableFeaturesRegionSslPoliciesRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallSslPoliciesListAvailableFeaturesResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override RegionSslPolicies.RegionSslPoliciesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
RegionSslPoliciesRegionSslPoliciesClient |
|
Patch(PatchRegionSslPolicyRequest, CallOptions)
public virtual Operation Patch(PatchRegionSslPolicyRequest request, CallOptions options)Patches the specified SSL policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Patch(PatchRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Patch(PatchRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Patches the specified SSL policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
PatchAsync(PatchRegionSslPolicyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionSslPolicyRequest request, CallOptions options)Patches the specified SSL policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSslPolicyRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
PatchAsync(PatchRegionSslPolicyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionSslPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Patches the specified SSL policy with the data included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionSslPolicyRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |