Compute Engine v1 API - Class RegionBackendBucketsClientImpl (3.27.0)

public sealed class RegionBackendBucketsClientImpl : RegionBackendBucketsClient

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

RegionBackendBuckets client wrapper implementation, for convenient use.

Inheritance

object > RegionBackendBucketsClient > RegionBackendBucketsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionBackendBuckets API.

Constructors

RegionBackendBucketsClientImpl(RegionBackendBucketsClient, RegionBackendBucketsSettings, ILogger)

public RegionBackendBucketsClientImpl(RegionBackendBuckets.RegionBackendBucketsClient grpcClient, RegionBackendBucketsSettings settings, ILogger logger)

Constructs a client wrapper for the RegionBackendBuckets service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient RegionBackendBucketsRegionBackendBucketsClient

The underlying gRPC client.

settings RegionBackendBucketsSettings

The base RegionBackendBucketsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override RegionBackendBuckets.RegionBackendBucketsClient GrpcClient { get; }

The underlying gRPC RegionBackendBuckets client

Property Value
Type Description
RegionBackendBucketsRegionBackendBucketsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteRegionBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionBackendBucketRequest request, CallSettings callSettings = null)

Deletes the specified regional BackendBucket resource.

Parameters
Name Description
request DeleteRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteRegionBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionBackendBucketRequest request, CallSettings callSettings = null)

Deletes the specified regional BackendBucket resource.

Parameters
Name Description
request DeleteRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetRegionBackendBucketRequest, CallSettings)

public override BackendBucket Get(GetRegionBackendBucketRequest request, CallSettings callSettings = null)

Returns the specified regional BackendBucket resource.

Parameters
Name Description
request GetRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
BackendBucket

The RPC response.

Overrides

GetAsync(GetRegionBackendBucketRequest, CallSettings)

public override Task<BackendBucket> GetAsync(GetRegionBackendBucketRequest request, CallSettings callSettings = null)

Returns the specified regional BackendBucket resource.

Parameters
Name Description
request GetRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskBackendBucket

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRegionBackendBucketRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRegionBackendBucketRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRegionBackendBucketRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRegionBackendBucketRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

Insert(InsertRegionBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionBackendBucketRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertRegionBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionBackendBucketRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListRegionBackendBucketsRequest, CallSettings)

public override PagedEnumerable<BackendBucketList, BackendBucket> List(ListRegionBackendBucketsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListRegionBackendBucketsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableBackendBucketListBackendBucket

A pageable sequence of BackendBucket resources.

Overrides

ListAsync(ListRegionBackendBucketsRequest, CallSettings)

public override PagedAsyncEnumerable<BackendBucketList, BackendBucket> ListAsync(ListRegionBackendBucketsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListRegionBackendBucketsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableBackendBucketListBackendBucket

A pageable asynchronous sequence of BackendBucket resources.

Overrides

ListUsable(ListUsableRegionBackendBucketsRequest, CallSettings)

public override PagedEnumerable<BackendBucketListUsable, BackendBucket> ListUsable(ListUsableRegionBackendBucketsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListUsableRegionBackendBucketsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableBackendBucketListUsableBackendBucket

A pageable sequence of BackendBucket resources.

Overrides

ListUsableAsync(ListUsableRegionBackendBucketsRequest, CallSettings)

public override PagedAsyncEnumerable<BackendBucketListUsable, BackendBucket> ListUsableAsync(ListUsableRegionBackendBucketsRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListUsableRegionBackendBucketsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableBackendBucketListUsableBackendBucket

A pageable asynchronous sequence of BackendBucket resources.

Overrides

Patch(PatchRegionBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionBackendBucketRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchRegionBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionBackendBucketRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

SetIamPolicy(SetIamPolicyRegionBackendBucketRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRegionBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request SetIamPolicyRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRegionBackendBucketRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRegionBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request SetIamPolicyRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskPolicy

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRegionBackendBucketRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionBackendBucketRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRegionBackendBucketRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionBackendBucketRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionBackendBucketRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTestPermissionsResponse

A Task containing the RPC response.

Overrides