Compute Engine v1 API - Class TargetSslProxies.TargetSslProxiesClient (2.11.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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TargetSslProxiesClient(ChannelBase)

public TargetSslProxiesClient(ChannelBase channel)

Creates a new client for TargetSslProxies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TargetSslProxiesClient(ClientBaseConfiguration)

protected TargetSslProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
NameDescription
requestDeleteTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Get(GetTargetSslProxyRequest, CallOptions)

public virtual TargetSslProxy Get(GetTargetSslProxyRequest request, CallOptions options)

Returns the specified TargetSslProxy resource.

Parameters
NameDescription
requestGetTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTargetSslProxyList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
TargetSslProxiesTargetSslProxiesClient
Overrides

SetBackendService(SetBackendServiceTargetSslProxyRequest, CallOptions)

public virtual Operation SetBackendService(SetBackendServiceTargetSslProxyRequest request, CallOptions options)

Changes the BackendService for TargetSslProxy.

Parameters
NameDescription
requestSetBackendServiceTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetCertificateMap(SetCertificateMapTargetSslProxyRequest, CallOptions)

public virtual Operation SetCertificateMap(SetCertificateMapTargetSslProxyRequest request, CallOptions options)

Changes the Certificate Map for TargetSslProxy.

Parameters
NameDescription
requestSetCertificateMapTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetProxyHeader(SetProxyHeaderTargetSslProxyRequest, CallOptions)

public virtual Operation SetProxyHeader(SetProxyHeaderTargetSslProxyRequest request, CallOptions options)

Changes the ProxyHeaderType for TargetSslProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

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

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetSslCertificates(SetSslCertificatesTargetSslProxyRequest, CallOptions)

public virtual Operation SetSslCertificates(SetSslCertificatesTargetSslProxyRequest request, CallOptions options)

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
requestSetSslCertificatesTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, CallOptions)

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

Changes SslCertificates for TargetSslProxy.

Parameters
NameDescription
requestSetSslCertificatesTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 SSL proxy load balancer. They do not affect the connection between the load balancer and the backends.

Parameters
NameDescription
requestSetSslPolicyTargetSslProxyRequest

The request to send to the server.

headersMetadata

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

deadlineDateTime

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.