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.RegionBackendBucketsClientNamespace
Google.Cloud.Compute.V1Assembly
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 |
CallInvokerThe callInvoker to use to make remote calls. |
RegionBackendBucketsClient(ChannelBase)
public RegionBackendBucketsClient(ChannelBase channel)Creates a new client for RegionBackendBuckets
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe 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 |
ClientBaseClientBaseConfigurationThe 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 |
DeleteRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
DeleteRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
DeleteRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
DeleteRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
GetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
GetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
InsertRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
InsertRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
InsertRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
InsertRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListRegionBackendBucketsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListRegionBackendBucketsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListRegionBackendBucketsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListRegionBackendBucketsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListUsableRegionBackendBucketsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListUsableRegionBackendBucketsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
ListUsableRegionBackendBucketsRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
ListUsableRegionBackendBucketsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
|
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 |
PatchRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
PatchRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
PatchRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
PatchRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
SetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
SetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
SetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
SetIamPolicyRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
TestIamPermissionsRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
TestIamPermissionsRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn 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 |
TestIamPermissionsRegionBackendBucketRequestThe request to send to the server. |
options |
CallOptionsThe 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 |
TestIamPermissionsRegionBackendBucketRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |