Class TargetSslProxies.TargetSslProxiesClient (1.2.0)

public class TargetSslProxiesClient : ClientBase<TargetSslProxies.TargetSslProxiesClient>

Client for TargetSslProxies

Inheritance

Object > ClientBase > ClientBase<TargetSslProxies.TargetSslProxiesClient> > 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(ClientBase.ClientBaseConfiguration)

protected TargetSslProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

DeleteAsync(DeleteTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

Get(GetTargetSslProxyRequest, CallOptions)

public virtual TargetSslProxy Get(GetTargetSslProxyRequest request, CallOptions options)

Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.

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, Nullable<DateTime>, CancellationToken)

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

Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.

Parameters
NameDescription
requestGetTargetSslProxyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

Parameters
NameDescription
requestGetTargetSslProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TargetSslProxy>

The call object.

GetAsync(GetTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Returns the specified TargetSslProxy resource. Gets a list of available target SSL proxies by making a list() request.

Parameters
NameDescription
requestGetTargetSslProxyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetSslProxy>

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

InsertAsync(InsertTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetSslProxyList>

The call object.

ListAsync(ListTargetSslProxiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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
AsyncUnaryCall<TargetSslProxyList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TargetSslProxies.TargetSslProxiesClient
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
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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

SetBackendServiceAsync(SetBackendServiceTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

SetProxyHeaderAsync(SetProxyHeaderTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

SetSslCertificatesAsync(SetSslCertificatesTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

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, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.

SetSslPolicyAsync(SetSslPolicyTargetSslProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

deadlineNullable<DateTime>

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

The call object.