Compute Engine v1 API - Class RegionBackendBuckets.RegionBackendBucketsClient (3.27.0)

public class RegionBackendBuckets.RegionBackendBucketsClient : ClientBase<RegionBackendBuckets.RegionBackendBucketsClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionBackendBuckets.RegionBackendBucketsClient.

Client for RegionBackendBuckets

Inheritance

object > ClientBase > ClientBaseRegionBackendBucketsRegionBackendBucketsClient > RegionBackendBuckets.RegionBackendBucketsClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionBackendBucketsClient()

protected RegionBackendBucketsClient()

Protected parameterless constructor to allow creation of test doubles.

RegionBackendBucketsClient(CallInvoker)

public RegionBackendBucketsClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RegionBackendBucketsClient(ChannelBase)

public RegionBackendBucketsClient(ChannelBase channel)

Creates a new client for RegionBackendBuckets

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegionBackendBucketsClient(ClientBaseConfiguration)

protected RegionBackendBucketsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateOperationsClientForRegionOperations()

public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()

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

Returns
Type Description
OperationsOperationsClient

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

Delete(DeleteRegionBackendBucketRequest, CallOptions)

public virtual Operation Delete(DeleteRegionBackendBucketRequest request, CallOptions options)

Deletes the specified regional BackendBucket resource.

Parameters
Name Description
request DeleteRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Delete(DeleteRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified regional BackendBucket resource.

Parameters
Name Description
request DeleteRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteAsync(DeleteRegionBackendBucketRequest, CallOptions)

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

Deletes the specified regional BackendBucket resource.

Parameters
Name Description
request DeleteRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified regional BackendBucket resource.

Parameters
Name Description
request DeleteRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

Get(GetRegionBackendBucketRequest, CallOptions)

public virtual BackendBucket Get(GetRegionBackendBucketRequest request, CallOptions options)

Returns the specified regional BackendBucket resource.

Parameters
Name Description
request GetRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BackendBucket

The response received from the server.

Get(GetRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified regional BackendBucket resource.

Parameters
Name Description
request GetRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BackendBucket

The response received from the server.

GetAsync(GetRegionBackendBucketRequest, CallOptions)

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

Returns the specified regional BackendBucket resource.

Parameters
Name Description
request GetRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBackendBucket

The call object.

GetAsync(GetRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified regional BackendBucket resource.

Parameters
Name Description
request GetRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBackendBucket

The call object.

GetIamPolicy(GetIamPolicyRegionBackendBucketRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRegionBackendBucketRequest request, CallOptions options)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
Name Description
request GetIamPolicyRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyRegionBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
Name Description
request GetIamPolicyRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRegionBackendBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionBackendBucketRequest request, CallOptions options)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
Name Description
request GetIamPolicyRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

GetIamPolicyAsync(GetIamPolicyRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
Name Description
request GetIamPolicyRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

Insert(InsertRegionBackendBucketRequest, CallOptions)

public virtual Operation Insert(InsertRegionBackendBucketRequest request, CallOptions options)

Creates a RegionBackendBucket in the specified project in the given scope using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Insert(InsertRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Creates a RegionBackendBucket in the specified project in the given scope using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

InsertAsync(InsertRegionBackendBucketRequest, CallOptions)

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

Creates a RegionBackendBucket in the specified project in the given scope using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

Creates a RegionBackendBucket in the specified project in the given scope using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

List(ListRegionBackendBucketsRequest, CallOptions)

public virtual BackendBucketList List(ListRegionBackendBucketsRequest request, CallOptions options)

Retrieves the list of BackendBucket resources available to the specified project in the given region.

Parameters
Name Description
request ListRegionBackendBucketsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BackendBucketList

The response received from the server.

List(ListRegionBackendBucketsRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the list of BackendBucket resources available to the specified project in the given region.

Parameters
Name Description
request ListRegionBackendBucketsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BackendBucketList

The response received from the server.

ListAsync(ListRegionBackendBucketsRequest, CallOptions)

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

Retrieves the list of BackendBucket resources available to the specified project in the given region.

Parameters
Name Description
request ListRegionBackendBucketsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBackendBucketList

The call object.

ListAsync(ListRegionBackendBucketsRequest, Metadata, DateTime?, CancellationToken)

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

Retrieves the list of BackendBucket resources available to the specified project in the given region.

Parameters
Name Description
request ListRegionBackendBucketsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBackendBucketList

The call object.

ListUsable(ListUsableRegionBackendBucketsRequest, CallOptions)

public virtual BackendBucketListUsable ListUsable(ListUsableRegionBackendBucketsRequest request, CallOptions options)

Retrieves a list of all usable backend buckets in the specified project in the given region.

Parameters
Name Description
request ListUsableRegionBackendBucketsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
BackendBucketListUsable

The response received from the server.

ListUsable(ListUsableRegionBackendBucketsRequest, Metadata, DateTime?, CancellationToken)

public virtual BackendBucketListUsable ListUsable(ListUsableRegionBackendBucketsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves a list of all usable backend buckets in the specified project in the given region.

Parameters
Name Description
request ListUsableRegionBackendBucketsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
BackendBucketListUsable

The response received from the server.

ListUsableAsync(ListUsableRegionBackendBucketsRequest, CallOptions)

public virtual AsyncUnaryCall<BackendBucketListUsable> ListUsableAsync(ListUsableRegionBackendBucketsRequest request, CallOptions options)

Retrieves a list of all usable backend buckets in the specified project in the given region.

Parameters
Name Description
request ListUsableRegionBackendBucketsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallBackendBucketListUsable

The call object.

ListUsableAsync(ListUsableRegionBackendBucketsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<BackendBucketListUsable> ListUsableAsync(ListUsableRegionBackendBucketsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves a list of all usable backend buckets in the specified project in the given region.

Parameters
Name Description
request ListUsableRegionBackendBucketsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallBackendBucketListUsable

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionBackendBuckets.RegionBackendBucketsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegionBackendBucketsRegionBackendBucketsClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionBackendBuckets.RegionBackendBucketsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchRegionBackendBucketRequest, CallOptions)

public virtual Operation Patch(PatchRegionBackendBucketRequest request, CallOptions options)

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

Parameters
Name Description
request PatchRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

Patch(PatchRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request PatchRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

PatchAsync(PatchRegionBackendBucketRequest, CallOptions)

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

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

Parameters
Name Description
request PatchRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
Name Description
request PatchRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SetIamPolicy(SetIamPolicyRegionBackendBucketRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRegionBackendBucketRequest request, CallOptions options)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
Name Description
request SetIamPolicyRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy SetIamPolicy(SetIamPolicyRegionBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
Name Description
request SetIamPolicyRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRegionBackendBucketRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionBackendBucketRequest request, CallOptions options)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
Name Description
request SetIamPolicyRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

SetIamPolicyAsync(SetIamPolicyRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
Name Description
request SetIamPolicyRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallPolicy

The call object.

TestIamPermissions(TestIamPermissionsRegionBackendBucketRequest, CallOptions)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionBackendBucketRequest request, CallOptions options)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TestPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
TestPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRegionBackendBucketRequest, CallOptions)

public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionBackendBucketRequest request, CallOptions options)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendBucketRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallTestPermissionsResponse

The call object.

TestIamPermissionsAsync(TestIamPermissionsRegionBackendBucketRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendBucketRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallTestPermissionsResponse

The call object.