Class BackendServices.BackendServicesClient (1.0.0)

public class BackendServicesClient : ClientBase<BackendServices.BackendServicesClient>

Client for BackendServices

Inheritance

Object > ClientBase > ClientBase<BackendServices.BackendServicesClient> > BackendServices.BackendServicesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

BackendServicesClient()

protected BackendServicesClient()

Protected parameterless constructor to allow creation of test doubles.

BackendServicesClient(CallInvoker)

public BackendServicesClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

BackendServicesClient(ChannelBase)

public BackendServicesClient(ChannelBase channel)

Creates a new client for BackendServices

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

BackendServicesClient(ClientBase.ClientBaseConfiguration)

protected BackendServicesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest, CallOptions)

public virtual Operation AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest request, CallOptions options)

Adds a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestAddSignedUrlKeyBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Adds a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestAddSignedUrlKeyBackendServiceRequest

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.

AddSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> AddSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest request, CallOptions options)

Adds a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestAddSignedUrlKeyBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

AddSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Adds a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestAddSignedUrlKeyBackendServiceRequest

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.

AggregatedList(AggregatedListBackendServicesRequest, CallOptions)

public virtual BackendServiceAggregatedList AggregatedList(AggregatedListBackendServicesRequest request, CallOptions options)

Retrieves the list of all BackendService resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListBackendServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackendServiceAggregatedList

The response received from the server.

AggregatedList(AggregatedListBackendServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual BackendServiceAggregatedList AggregatedList(AggregatedListBackendServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the list of all BackendService resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListBackendServicesRequest

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
BackendServiceAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListBackendServicesRequest, CallOptions)

public virtual AsyncUnaryCall<BackendServiceAggregatedList> AggregatedListAsync(AggregatedListBackendServicesRequest request, CallOptions options)

Retrieves the list of all BackendService resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListBackendServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<BackendServiceAggregatedList>

The call object.

AggregatedListAsync(AggregatedListBackendServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<BackendServiceAggregatedList> AggregatedListAsync(AggregatedListBackendServicesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the list of all BackendService resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListBackendServicesRequest

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<BackendServiceAggregatedList>

The call object.

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(DeleteBackendServiceRequest, CallOptions)

public virtual Operation Delete(DeleteBackendServiceRequest request, CallOptions options)

Deletes the specified BackendService resource.

Parameters
NameDescription
requestDeleteBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes the specified BackendService resource.

Parameters
NameDescription
requestDeleteBackendServiceRequest

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(DeleteBackendServiceRequest, CallOptions)

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

Deletes the specified BackendService resource.

Parameters
NameDescription
requestDeleteBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Deletes the specified BackendService resource.

Parameters
NameDescription
requestDeleteBackendServiceRequest

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.

DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest, CallOptions)

public virtual Operation DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest request, CallOptions options)

Deletes a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendServiceRequest

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.

DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest request, CallOptions options)

Deletes a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes a key for validating requests with signed URLs for this backend service.

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendServiceRequest

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(GetBackendServiceRequest, CallOptions)

public virtual BackendService Get(GetBackendServiceRequest request, CallOptions options)

Returns the specified BackendService resource. Gets a list of available backend services.

Parameters
NameDescription
requestGetBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackendService

The response received from the server.

Get(GetBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Returns the specified BackendService resource. Gets a list of available backend services.

Parameters
NameDescription
requestGetBackendServiceRequest

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
BackendService

The response received from the server.

GetAsync(GetBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<BackendService> GetAsync(GetBackendServiceRequest request, CallOptions options)

Returns the specified BackendService resource. Gets a list of available backend services.

Parameters
NameDescription
requestGetBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<BackendService>

The call object.

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

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

Returns the specified BackendService resource. Gets a list of available backend services.

Parameters
NameDescription
requestGetBackendServiceRequest

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<BackendService>

The call object.

GetHealth(GetHealthBackendServiceRequest, CallOptions)

public virtual BackendServiceGroupHealth GetHealth(GetHealthBackendServiceRequest request, CallOptions options)

Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }

Parameters
NameDescription
requestGetHealthBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackendServiceGroupHealth

The response received from the server.

GetHealth(GetHealthBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual BackendServiceGroupHealth GetHealth(GetHealthBackendServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }

Parameters
NameDescription
requestGetHealthBackendServiceRequest

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
BackendServiceGroupHealth

The response received from the server.

GetHealthAsync(GetHealthBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<BackendServiceGroupHealth> GetHealthAsync(GetHealthBackendServiceRequest request, CallOptions options)

Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }

Parameters
NameDescription
requestGetHealthBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<BackendServiceGroupHealth>

The call object.

GetHealthAsync(GetHealthBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<BackendServiceGroupHealth> GetHealthAsync(GetHealthBackendServiceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }

Parameters
NameDescription
requestGetHealthBackendServiceRequest

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<BackendServiceGroupHealth>

The call object.

Insert(InsertBackendServiceRequest, CallOptions)

public virtual Operation Insert(InsertBackendServiceRequest request, CallOptions options)

Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestInsertBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestInsertBackendServiceRequest

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(InsertBackendServiceRequest, CallOptions)

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

Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestInsertBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

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

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

Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestInsertBackendServiceRequest

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(ListBackendServicesRequest, CallOptions)

public virtual BackendServiceList List(ListBackendServicesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListBackendServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackendServiceList

The response received from the server.

List(ListBackendServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
NameDescription
requestListBackendServicesRequest

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
BackendServiceList

The response received from the server.

ListAsync(ListBackendServicesRequest, CallOptions)

public virtual AsyncUnaryCall<BackendServiceList> ListAsync(ListBackendServicesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListBackendServicesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<BackendServiceList>

The call object.

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

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

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

Parameters
NameDescription
requestListBackendServicesRequest

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<BackendServiceList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override BackendServices.BackendServicesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
BackendServices.BackendServicesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.BackendServices.BackendServicesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchBackendServiceRequest, CallOptions)

public virtual Operation Patch(PatchBackendServiceRequest request, CallOptions options)

Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendServiceRequest

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.

PatchAsync(PatchBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchBackendServiceRequest request, CallOptions options)

Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

PatchAsync(PatchBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendServiceRequest

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.

SetSecurityPolicy(SetSecurityPolicyBackendServiceRequest, CallOptions)

public virtual Operation SetSecurityPolicy(SetSecurityPolicyBackendServiceRequest request, CallOptions options)

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetSecurityPolicy(SetSecurityPolicyBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyBackendServiceRequest

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.

SetSecurityPolicyAsync(SetSecurityPolicyBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetSecurityPolicyAsync(SetSecurityPolicyBackendServiceRequest request, CallOptions options)

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

SetSecurityPolicyAsync(SetSecurityPolicyBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyBackendServiceRequest

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.

Update(UpdateBackendServiceRequest, CallOptions)

public virtual Operation Update(UpdateBackendServiceRequest request, CallOptions options)

Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestUpdateBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Update(UpdateBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestUpdateBackendServiceRequest

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.

UpdateAsync(UpdateBackendServiceRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateBackendServiceRequest request, CallOptions options)

Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestUpdateBackendServiceRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateAsync(UpdateBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestUpdateBackendServiceRequest

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.