Compute Engine v1 API - Class BackendBuckets.BackendBucketsClient (2.9.0)

public class BackendBuckets.BackendBucketsClient : ClientBase<BackendBuckets.BackendBucketsClient>

Reference documentation and code samples for the Compute Engine v1 API class BackendBuckets.BackendBucketsClient.

Client for BackendBuckets

Inheritance

object > ClientBase > ClientBaseBackendBucketsBackendBucketsClient > BackendBuckets.BackendBucketsClient

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

BackendBucketsClient()

protected BackendBucketsClient()

Protected parameterless constructor to allow creation of test doubles.

BackendBucketsClient(CallInvoker)

public BackendBucketsClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

BackendBucketsClient(ChannelBase)

public BackendBucketsClient(ChannelBase channel)

Creates a new client for BackendBuckets

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

BackendBucketsClient(ClientBaseConfiguration)

protected BackendBucketsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AddSignedUrlKey(AddSignedUrlKeyBackendBucketRequest, CallOptions)

public virtual Operation AddSignedUrlKey(AddSignedUrlKeyBackendBucketRequest request, CallOptions options)

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

Parameters
NameDescription
requestAddSignedUrlKeyBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

AddSignedUrlKey(AddSignedUrlKeyBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestAddSignedUrlKeyBackendBucketRequest

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.

AddSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest, CallOptions)

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

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

Parameters
NameDescription
requestAddSignedUrlKeyBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

AddSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestAddSignedUrlKeyBackendBucketRequest

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.

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

public virtual Operation Delete(DeleteBackendBucketRequest request, CallOptions options)

Deletes the specified BackendBucket resource.

Parameters
NameDescription
requestDeleteBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified BackendBucket resource.

Parameters
NameDescription
requestDeleteBackendBucketRequest

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

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

Deletes the specified BackendBucket resource.

Parameters
NameDescription
requestDeleteBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified BackendBucket resource.

Parameters
NameDescription
requestDeleteBackendBucketRequest

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.

DeleteSignedUrlKey(DeleteSignedUrlKeyBackendBucketRequest, CallOptions)

public virtual Operation DeleteSignedUrlKey(DeleteSignedUrlKeyBackendBucketRequest request, CallOptions options)

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

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteSignedUrlKey(DeleteSignedUrlKeyBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendBucketRequest

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.

DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendBucketRequest, CallOptions)

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

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

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestDeleteSignedUrlKeyBackendBucketRequest

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

public virtual BackendBucket Get(GetBackendBucketRequest request, CallOptions options)

Returns the specified BackendBucket resource.

Parameters
NameDescription
requestGetBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackendBucket

The response received from the server.

Get(GetBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified BackendBucket resource.

Parameters
NameDescription
requestGetBackendBucketRequest

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
BackendBucket

The response received from the server.

GetAsync(GetBackendBucketRequest, CallOptions)

public virtual AsyncUnaryCall<BackendBucket> GetAsync(GetBackendBucketRequest request, CallOptions options)

Returns the specified BackendBucket resource.

Parameters
NameDescription
requestGetBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallBackendBucket

The call object.

GetAsync(GetBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified BackendBucket resource.

Parameters
NameDescription
requestGetBackendBucketRequest

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
AsyncUnaryCallBackendBucket

The call object.

Insert(InsertBackendBucketRequest, CallOptions)

public virtual Operation Insert(InsertBackendBucketRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestInsertBackendBucketRequest

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

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

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

Parameters
NameDescription
requestInsertBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestInsertBackendBucketRequest

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

public virtual BackendBucketList List(ListBackendBucketsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListBackendBucketsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
BackendBucketList

The response received from the server.

List(ListBackendBucketsRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListBackendBucketsRequest

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
BackendBucketList

The response received from the server.

ListAsync(ListBackendBucketsRequest, CallOptions)

public virtual AsyncUnaryCall<BackendBucketList> ListAsync(ListBackendBucketsRequest request, CallOptions options)

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

Parameters
NameDescription
requestListBackendBucketsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallBackendBucketList

The call object.

ListAsync(ListBackendBucketsRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListBackendBucketsRequest

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
AsyncUnaryCallBackendBucketList

The call object.

NewInstance(ClientBaseConfiguration)

protected override BackendBuckets.BackendBucketsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
BackendBucketsBackendBucketsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.BackendBuckets.BackendBucketsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchBackendBucketRequest, CallOptions)

public virtual Operation Patch(PatchBackendBucketRequest request, CallOptions options)

Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendBucketRequest

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.

PatchAsync(PatchBackendBucketRequest, CallOptions)

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

Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Updates the specified BackendBucket resource with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.

Parameters
NameDescription
requestPatchBackendBucketRequest

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.

SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest, CallOptions)

public virtual Operation SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest request, CallOptions options)

Sets the edge security policy for the specified backend bucket.

Parameters
NameDescription
requestSetEdgeSecurityPolicyBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Sets the edge security policy for the specified backend bucket.

Parameters
NameDescription
requestSetEdgeSecurityPolicyBackendBucketRequest

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.

SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest request, CallOptions options)

Sets the edge security policy for the specified backend bucket.

Parameters
NameDescription
requestSetEdgeSecurityPolicyBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Sets the edge security policy for the specified backend bucket.

Parameters
NameDescription
requestSetEdgeSecurityPolicyBackendBucketRequest

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.

Update(UpdateBackendBucketRequest, CallOptions)

public virtual Operation Update(UpdateBackendBucketRequest request, CallOptions options)

Updates the specified BackendBucket resource with the data included in the request.

Parameters
NameDescription
requestUpdateBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Update(UpdateBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Updates the specified BackendBucket resource with the data included in the request.

Parameters
NameDescription
requestUpdateBackendBucketRequest

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.

UpdateAsync(UpdateBackendBucketRequest, CallOptions)

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

Updates the specified BackendBucket resource with the data included in the request.

Parameters
NameDescription
requestUpdateBackendBucketRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

UpdateAsync(UpdateBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Updates the specified BackendBucket resource with the data included in the request.

Parameters
NameDescription
requestUpdateBackendBucketRequest

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.