Compute Engine v1 API - Class TargetSslProxies.TargetSslProxiesClient (3.2.0)

public class TargetSslProxies.TargetSslProxiesClient : ClientBase<TargetSslProxies.TargetSslProxiesClient>

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

Client for TargetSslProxies

Inheritance

object > ClientBase > ClientBaseTargetSslProxiesTargetSslProxiesClient > TargetSslProxies.TargetSslProxiesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

TargetSslProxiesClient()

protected TargetSslProxiesClient()

Protected parameterless constructor to allow creation of test doubles.

TargetSslProxiesClient(CallInvoker)

public TargetSslProxiesClient(CallInvoker callInvoker)

Creates a new client for TargetSslProxies that uses a custom CallInvoker.

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

TargetSslProxiesClient(ChannelBase)

public TargetSslProxiesClient(ChannelBase channel)

Creates a new client for TargetSslProxies

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

TargetSslProxiesClient(ClientBaseConfiguration)

protected TargetSslProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteTargetSslProxyRequest, CallOptions)

public virtual Operation Delete(DeleteTargetSslProxyRequest request, CallOptions options)

Deletes the specified TargetSslProxy resource.

Parameters
Name Description
request DeleteTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Delete(DeleteTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified TargetSslProxy resource.

Parameters
Name Description
request DeleteTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteAsync(DeleteTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetSslProxyRequest request, CallOptions options)

Deletes the specified TargetSslProxy resource.

Parameters
Name Description
request DeleteTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified TargetSslProxy resource.

Parameters
Name Description
request DeleteTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

Get(GetTargetSslProxyRequest, CallOptions)

public virtual TargetSslProxy Get(GetTargetSslProxyRequest request, CallOptions options)

Returns the specified TargetSslProxy resource.

Parameters
Name Description
request GetTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TargetSslProxy

The response received from the server.

Get(GetTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetSslProxy Get(GetTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified TargetSslProxy resource.

Parameters
Name Description
request GetTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
TargetSslProxy

The response received from the server.

GetAsync(GetTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<TargetSslProxy> GetAsync(GetTargetSslProxyRequest request, CallOptions options)

Returns the specified TargetSslProxy resource.

Parameters
Name Description
request GetTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTargetSslProxy

The call object.

GetAsync(GetTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetSslProxy> GetAsync(GetTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified TargetSslProxy resource.

Parameters
Name Description
request GetTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallTargetSslProxy

The call object.

Insert(InsertTargetSslProxyRequest, CallOptions)

public virtual Operation Insert(InsertTargetSslProxyRequest request, CallOptions options)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
Name Description
request InsertTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Insert(InsertTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
Name Description
request InsertTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

InsertAsync(InsertTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetSslProxyRequest request, CallOptions options)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
Name Description
request InsertTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a TargetSslProxy resource in the specified project using the data included in the request.

Parameters
Name Description
request InsertTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

List(ListTargetSslProxiesRequest, CallOptions)

public virtual TargetSslProxyList List(ListTargetSslProxiesRequest request, CallOptions options)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
Name Description
request ListTargetSslProxiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TargetSslProxyList

The response received from the server.

List(ListTargetSslProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetSslProxyList List(ListTargetSslProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
Name Description
request ListTargetSslProxiesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
TargetSslProxyList

The response received from the server.

ListAsync(ListTargetSslProxiesRequest, CallOptions)

public virtual AsyncUnaryCall<TargetSslProxyList> ListAsync(ListTargetSslProxiesRequest request, CallOptions options)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
Name Description
request ListTargetSslProxiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTargetSslProxyList

The call object.

ListAsync(ListTargetSslProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetSslProxyList> ListAsync(ListTargetSslProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of TargetSslProxy resources available to the specified project.

Parameters
Name Description
request ListTargetSslProxiesRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallTargetSslProxyList

The call object.

NewInstance(ClientBaseConfiguration)

protected override TargetSslProxies.TargetSslProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
TargetSslProxiesTargetSslProxiesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.TargetSslProxies.TargetSslProxiesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

SetBackendService(SetBackendServiceTargetSslProxyRequest, CallOptions)

public virtual Operation SetBackendService(SetBackendServiceTargetSslProxyRequest request, CallOptions options)

Changes the BackendService for TargetSslProxy.

Parameters
Name Description
request SetBackendServiceTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

SetBackendService(SetBackendServiceTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetBackendService(SetBackendServiceTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the BackendService for TargetSslProxy.

Parameters
Name Description
request SetBackendServiceTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest request, CallOptions options)

Changes the BackendService for TargetSslProxy.

Parameters
Name Description
request SetBackendServiceTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the BackendService for TargetSslProxy.

Parameters
Name Description
request SetBackendServiceTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetCertificateMap(SetCertificateMapTargetSslProxyRequest, CallOptions)

public virtual Operation SetCertificateMap(SetCertificateMapTargetSslProxyRequest request, CallOptions options)

Changes the Certificate Map for TargetSslProxy.

Parameters
Name Description
request SetCertificateMapTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

SetCertificateMap(SetCertificateMapTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetCertificateMap(SetCertificateMapTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the Certificate Map for TargetSslProxy.

Parameters
Name Description
request SetCertificateMapTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest request, CallOptions options)

Changes the Certificate Map for TargetSslProxy.

Parameters
Name Description
request SetCertificateMapTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetCertificateMapAsync(SetCertificateMapTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the Certificate Map for TargetSslProxy.

Parameters
Name Description
request SetCertificateMapTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetProxyHeader(SetProxyHeaderTargetSslProxyRequest, CallOptions)

public virtual Operation SetProxyHeader(SetProxyHeaderTargetSslProxyRequest request, CallOptions options)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
Name Description
request SetProxyHeaderTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

SetProxyHeader(SetProxyHeaderTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetProxyHeader(SetProxyHeaderTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
Name Description
request SetProxyHeaderTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest request, CallOptions options)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
Name Description
request SetProxyHeaderTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
Name Description
request SetProxyHeaderTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetSslCertificates(SetSslCertificatesTargetSslProxyRequest, CallOptions)

public virtual Operation SetSslCertificates(SetSslCertificatesTargetSslProxyRequest request, CallOptions options)

Changes SslCertificates for TargetSslProxy.

Parameters
Name Description
request SetSslCertificatesTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

SetSslCertificates(SetSslCertificatesTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetSslCertificates(SetSslCertificatesTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes SslCertificates for TargetSslProxy.

Parameters
Name Description
request SetSslCertificatesTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest request, CallOptions options)

Changes SslCertificates for TargetSslProxy.

Parameters
Name Description
request SetSslCertificatesTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes SslCertificates for TargetSslProxy.

Parameters
Name Description
request SetSslCertificatesTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetSslPolicy(SetSslPolicyTargetSslProxyRequest, CallOptions)

public virtual Operation SetSslPolicy(SetSslPolicyTargetSslProxyRequest request, CallOptions options)

Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

SetSslPolicy(SetSslPolicyTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetSslPolicy(SetSslPolicyTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest request, CallOptions options)

Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetSslProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the SSL policy for TargetSslProxy. The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
Name Description
request SetSslPolicyTargetSslProxyRequest

The request to send to the server.

headers Metadata

The initial metadata to send with the call. This parameter is optional.

deadline System.DateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.