Compute Engine v1 API - Class BackendBucketsClientImpl (2.17.0)

public sealed class BackendBucketsClientImpl : BackendBucketsClient

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

BackendBuckets client wrapper implementation, for convenient use.

Inheritance

object > BackendBucketsClient > BackendBucketsClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The BackendBuckets API.

Constructors

BackendBucketsClientImpl(BackendBucketsClient, BackendBucketsSettings, ILogger)

public BackendBucketsClientImpl(BackendBuckets.BackendBucketsClient grpcClient, BackendBucketsSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient BackendBucketsBackendBucketsClient

The underlying gRPC client.

settings BackendBucketsSettings

The base BackendBucketsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

AddSignedUrlKeyOperationsClient

public override OperationsClient AddSignedUrlKeyOperationsClient { get; }

The long-running operations client for AddSignedUrlKey.

Property Value
Type Description
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

DeleteSignedUrlKeyOperationsClient

public override OperationsClient DeleteSignedUrlKeyOperationsClient { get; }

The long-running operations client for DeleteSignedUrlKey.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override BackendBuckets.BackendBucketsClient GrpcClient { get; }

The underlying gRPC BackendBuckets client

Property Value
Type Description
BackendBucketsBackendBucketsClient
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

SetEdgeSecurityPolicyOperationsClient

public override OperationsClient SetEdgeSecurityPolicyOperationsClient { get; }

The long-running operations client for SetEdgeSecurityPolicy.

Property Value
Type Description
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
Type Description
OperationsClient
Overrides

Methods

AddSignedUrlKey(AddSignedUrlKeyBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> AddSignedUrlKey(AddSignedUrlKeyBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request AddSignedUrlKeyBackendBucketRequest

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

AddSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> AddSignedUrlKeyAsync(AddSignedUrlKeyBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request AddSignedUrlKeyBackendBucketRequest

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

Delete(DeleteBackendBucketRequest, CallSettings)

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

Deletes the specified BackendBucket resource.

Parameters
Name Description
request DeleteBackendBucketRequest

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

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

Deletes the specified BackendBucket resource.

Parameters
Name Description
request DeleteBackendBucketRequest

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

DeleteSignedUrlKey(DeleteSignedUrlKeyBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> DeleteSignedUrlKey(DeleteSignedUrlKeyBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteSignedUrlKeyBackendBucketRequest

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

DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request DeleteSignedUrlKeyBackendBucketRequest

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

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

Returns the specified BackendBucket resource.

Parameters
Name Description
request GetBackendBucketRequest

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

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

Returns the specified BackendBucket resource.

Parameters
Name Description
request GetBackendBucketRequest

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(GetIamPolicyBackendBucketRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyBackendBucketRequest 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 GetIamPolicyBackendBucketRequest

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(GetIamPolicyBackendBucketRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyBackendBucketRequest 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 GetIamPolicyBackendBucketRequest

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

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

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

Parameters
Name Description
request InsertBackendBucketRequest

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

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

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

Parameters
Name Description
request InsertBackendBucketRequest

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

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

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

Parameters
Name Description
request ListBackendBucketsRequest

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

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

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

Parameters
Name Description
request ListBackendBucketsRequest

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

Patch(PatchBackendBucketRequest, CallSettings)

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

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
Name Description
request PatchBackendBucketRequest

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(PatchBackendBucketRequest, CallSettings)

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

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
Name Description
request PatchBackendBucketRequest

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

SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest request, CallSettings callSettings = null)

Sets the edge security policy for the specified backend bucket.

Parameters
Name Description
request SetEdgeSecurityPolicyBackendBucketRequest

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

SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest request, CallSettings callSettings = null)

Sets the edge security policy for the specified backend bucket.

Parameters
Name Description
request SetEdgeSecurityPolicyBackendBucketRequest

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(SetIamPolicyBackendBucketRequest, CallSettings)

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

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

Parameters
Name Description
request SetIamPolicyBackendBucketRequest

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(SetIamPolicyBackendBucketRequest, CallSettings)

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

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

Parameters
Name Description
request SetIamPolicyBackendBucketRequest

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(TestIamPermissionsBackendBucketRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsBackendBucketRequest

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(TestIamPermissionsBackendBucketRequest, CallSettings)

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

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsBackendBucketRequest

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

Update(UpdateBackendBucketRequest, CallSettings)

public override Operation<Operation, Operation> Update(UpdateBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateBackendBucketRequest

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

UpdateAsync(UpdateBackendBucketRequest, CallSettings)

public override Task<Operation<Operation, Operation>> UpdateAsync(UpdateBackendBucketRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateBackendBucketRequest

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