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.BackendBucketsClientNamespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
BackendBucketsClient(ChannelBase)
public BackendBucketsClient(ChannelBase channel)
Creates a new client for BackendBuckets
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
BackendBucketsClient(ClientBaseConfiguration)
protected BackendBucketsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration 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 | |
---|---|
Name | Description |
request |
AddSignedUrlKeyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
AddSignedUrlKeyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
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 | |
---|---|
Name | Description |
request |
AddSignedUrlKeyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
AddSignedUrlKeyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteBackendBucketRequest 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(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 | |
---|---|
Name | Description |
request |
DeleteBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(DeleteBackendBucketRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteBackendBucketRequest request, CallOptions options)
Deletes the specified BackendBucket resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
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 | |
---|---|
Name | Description |
request |
DeleteSignedUrlKeyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteSignedUrlKeyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
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 | |
---|---|
Name | Description |
request |
DeleteSignedUrlKeyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
DeleteSignedUrlKeyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(GetBackendBucketRequest, CallOptions)
public virtual BackendBucket Get(GetBackendBucketRequest request, CallOptions options)
Returns the specified BackendBucket resource.
Parameters | |
---|---|
Name | Description |
request |
GetBackendBucketRequest 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(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 | |
---|---|
Name | Description |
request |
GetBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(GetBackendBucketRequest, CallOptions)
public virtual AsyncUnaryCall<BackendBucket> GetAsync(GetBackendBucketRequest request, CallOptions options)
Returns the specified BackendBucket resource.
Parameters | |
---|---|
Name | Description |
request |
GetBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
GetBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(GetIamPolicyBackendBucketRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyBackendBucketRequest 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 |
GetIamPolicyBackendBucketRequest 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(GetIamPolicyBackendBucketRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyBackendBucketRequest 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 |
GetIamPolicyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(GetIamPolicyBackendBucketRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyBackendBucketRequest 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 |
GetIamPolicyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
GetIamPolicyAsync(GetIamPolicyBackendBucketRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyBackendBucketRequest 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 |
GetIamPolicyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(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 | |
---|---|
Name | Description |
request |
InsertBackendBucketRequest 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(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 | |
---|---|
Name | Description |
request |
InsertBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(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 | |
---|---|
Name | Description |
request |
InsertBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
InsertBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(ListBackendBucketsRequest, CallOptions)
public virtual BackendBucketList List(ListBackendBucketsRequest request, CallOptions options)
Retrieves the list of BackendBucket resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListBackendBucketsRequest 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(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 | |
---|---|
Name | Description |
request |
ListBackendBucketsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(ListBackendBucketsRequest, CallOptions)
public virtual AsyncUnaryCall<BackendBucketList> ListAsync(ListBackendBucketsRequest request, CallOptions options)
Retrieves the list of BackendBucket resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
ListBackendBucketsRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
ListBackendBucketsRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
NewInstance(ClientBaseConfiguration)
protected override BackendBuckets.BackendBucketsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
BackendBucketsBackendBucketsClient |
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 | |
---|---|
Name | Description |
request |
PatchBackendBucketRequest 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(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 | |
---|---|
Name | Description |
request |
PatchBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(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 | |
---|---|
Name | Description |
request |
PatchBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
PatchBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest, CallOptions)
public virtual Operation SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendBucketRequest request, CallOptions options)
Sets the edge security policy for the specified backend bucket.
Parameters | |
---|---|
Name | Description |
request |
SetEdgeSecurityPolicyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
SetEdgeSecurityPolicyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendBucketRequest request, CallOptions options)
Sets the edge security policy for the specified backend bucket.
Parameters | |
---|---|
Name | Description |
request |
SetEdgeSecurityPolicyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
SetEdgeSecurityPolicyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(SetIamPolicyBackendBucketRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyBackendBucketRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyBackendBucketRequest 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(SetIamPolicyBackendBucketRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyBackendBucketRequest 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 |
SetIamPolicyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(SetIamPolicyBackendBucketRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyBackendBucketRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request |
SetIamPolicyBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetIamPolicyAsync(SetIamPolicyBackendBucketRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyBackendBucketRequest 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 |
SetIamPolicyBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(TestIamPermissionsBackendBucketRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsBackendBucketRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsBackendBucketRequest 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(TestIamPermissionsBackendBucketRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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(TestIamPermissionsBackendBucketRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsBackendBucketRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsBackendBucketRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsBackendBucketRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request |
TestIamPermissionsBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
Update(UpdateBackendBucketRequest, CallOptions)
public virtual Operation Update(UpdateBackendBucketRequest request, CallOptions options)
Updates the specified BackendBucket resource with the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
UpdateBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |
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 | |
---|---|
Name | Description |
request |
UpdateBackendBucketRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
UpdateBackendBucketRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
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. |