Compute Engine v1 API - Class BackendBucketsClientImpl (2.15.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
NameDescription
grpcClientBackendBucketsBackendBucketsClient

The underlying gRPC client.

settingsBackendBucketsSettings

The base BackendBucketsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

AddSignedUrlKeyOperationsClient

public override OperationsClient AddSignedUrlKeyOperationsClient { get; }

The long-running operations client for AddSignedUrlKey.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteSignedUrlKeyOperationsClient

public override OperationsClient DeleteSignedUrlKeyOperationsClient { get; }

The long-running operations client for DeleteSignedUrlKey.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override BackendBuckets.BackendBucketsClient GrpcClient { get; }

The underlying gRPC BackendBuckets client

Property Value
TypeDescription
BackendBucketsBackendBucketsClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

SetEdgeSecurityPolicyOperationsClient

public override OperationsClient SetEdgeSecurityPolicyOperationsClient { get; }

The long-running operations client for SetEdgeSecurityPolicy.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
TypeDescription
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
NameDescription
requestAddSignedUrlKeyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestAddSignedUrlKeyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteSignedUrlKeyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestDeleteSignedUrlKeyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BackendBucket

The RPC response.

Overrides

GetAsync(GetBackendBucketRequest, CallSettings)

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

Returns the specified BackendBucket resource.

Parameters
NameDescription
requestGetBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetIamPolicyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestInsertBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestInsertBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListBackendBucketsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestListBackendBucketsRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestPatchBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestPatchBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestSetEdgeSecurityPolicyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestSetEdgeSecurityPolicyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestSetIamPolicyBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestTestIamPermissionsBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestUpdateBackendBucketRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides