public class RegionDisks.RegionDisksClient : ClientBase<RegionDisks.RegionDisksClient>
Reference documentation and code samples for the Compute Engine v1 API class RegionDisks.RegionDisksClient.
Client for RegionDisks
Inheritance
object > ClientBase > ClientBaseRegionDisksRegionDisksClient > RegionDisks.RegionDisksClientNamespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionDisksClient()
protected RegionDisksClient()
Protected parameterless constructor to allow creation of test doubles.
RegionDisksClient(CallInvoker)
public RegionDisksClient(CallInvoker callInvoker)
Creates a new client for RegionDisks that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionDisksClient(ChannelBase)
public RegionDisksClient(ChannelBase channel)
Creates a new client for RegionDisks
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegionDisksClient(ClientBaseConfiguration)
protected RegionDisksClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
AddResourcePolicies(AddResourcePoliciesRegionDiskRequest, CallOptions)
public virtual Operation AddResourcePolicies(AddResourcePoliciesRegionDiskRequest request, CallOptions options)
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
Parameters | |
---|---|
Name | Description |
request | AddResourcePoliciesRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
AddResourcePolicies(AddResourcePoliciesRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation AddResourcePolicies(AddResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
Parameters | |
---|---|
Name | Description |
request | AddResourcePoliciesRegionDiskRequest 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. |
AddResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> AddResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest request, CallOptions options)
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
Parameters | |
---|---|
Name | Description |
request | AddResourcePoliciesRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
AddResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Adds existing resource policies to a regional disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
Parameters | |
---|---|
Name | Description |
request | AddResourcePoliciesRegionDiskRequest 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. |
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. |
CreateSnapshot(CreateSnapshotRegionDiskRequest, CallOptions)
public virtual Operation CreateSnapshot(CreateSnapshotRegionDiskRequest request, CallOptions options)
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
Parameters | |
---|---|
Name | Description |
request | CreateSnapshotRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateSnapshot(CreateSnapshotRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation CreateSnapshot(CreateSnapshotRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
Parameters | |
---|---|
Name | Description |
request | CreateSnapshotRegionDiskRequest 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. |
CreateSnapshotAsync(CreateSnapshotRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateSnapshotAsync(CreateSnapshotRegionDiskRequest request, CallOptions options)
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
Parameters | |
---|---|
Name | Description |
request | CreateSnapshotRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
CreateSnapshotAsync(CreateSnapshotRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateSnapshotAsync(CreateSnapshotRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a snapshot of a specified persistent disk. For regular snapshot creation, consider using snapshots.insert instead, as that method supports more features, such as creating snapshots in a project different from the source disk project.
Parameters | |
---|---|
Name | Description |
request | CreateSnapshotRegionDiskRequest 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. |
Delete(DeleteRegionDiskRequest, CallOptions)
public virtual Operation Delete(DeleteRegionDiskRequest request, CallOptions options)
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionDiskRequest 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(DeleteRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionDiskRequest 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(DeleteRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionDiskRequest request, CallOptions options)
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
DeleteAsync(DeleteRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified regional persistent disk. Deleting a regional disk removes all the replicas of its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionDiskRequest 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(GetRegionDiskRequest, CallOptions)
public virtual Disk Get(GetRegionDiskRequest request, CallOptions options)
Returns a specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | GetRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Disk | The response received from the server. |
Get(GetRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Disk Get(GetRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns a specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | GetRegionDiskRequest 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 |
Disk | The response received from the server. |
GetAsync(GetRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Disk> GetAsync(GetRegionDiskRequest request, CallOptions options)
Returns a specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | GetRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallDisk | The call object. |
GetAsync(GetRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Disk> GetAsync(GetRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns a specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | GetRegionDiskRequest 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 |
AsyncUnaryCallDisk | The call object. |
GetIamPolicy(GetIamPolicyRegionDiskRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyRegionDiskRequest 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 | GetIamPolicyRegionDiskRequest 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(GetIamPolicyRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyRegionDiskRequest 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 | GetIamPolicyRegionDiskRequest 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(GetIamPolicyRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionDiskRequest 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 | GetIamPolicyRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy | The call object. |
GetIamPolicyAsync(GetIamPolicyRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionDiskRequest 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 | GetIamPolicyRegionDiskRequest 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(InsertRegionDiskRequest, CallOptions)
public virtual Operation Insert(InsertRegionDiskRequest request, CallOptions options)
Creates a persistent regional disk in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionDiskRequest 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(InsertRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a persistent regional disk in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionDiskRequest 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(InsertRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionDiskRequest request, CallOptions options)
Creates a persistent regional disk in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
InsertAsync(InsertRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a persistent regional disk in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionDiskRequest 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(ListRegionDisksRequest, CallOptions)
public virtual DiskList List(ListRegionDisksRequest request, CallOptions options)
Retrieves the list of persistent disks contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionDisksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
DiskList | The response received from the server. |
List(ListRegionDisksRequest, Metadata, DateTime?, CancellationToken)
public virtual DiskList List(ListRegionDisksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of persistent disks contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionDisksRequest 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 |
DiskList | The response received from the server. |
ListAsync(ListRegionDisksRequest, CallOptions)
public virtual AsyncUnaryCall<DiskList> ListAsync(ListRegionDisksRequest request, CallOptions options)
Retrieves the list of persistent disks contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionDisksRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallDiskList | The call object. |
ListAsync(ListRegionDisksRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<DiskList> ListAsync(ListRegionDisksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves the list of persistent disks contained within the specified region.
Parameters | |
---|---|
Name | Description |
request | ListRegionDisksRequest 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 |
AsyncUnaryCallDiskList | The call object. |
NewInstance(ClientBaseConfiguration)
protected override RegionDisks.RegionDisksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionDisksRegionDisksClient |
RemoveResourcePolicies(RemoveResourcePoliciesRegionDiskRequest, CallOptions)
public virtual Operation RemoveResourcePolicies(RemoveResourcePoliciesRegionDiskRequest request, CallOptions options)
Removes resource policies from a regional disk.
Parameters | |
---|---|
Name | Description |
request | RemoveResourcePoliciesRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RemoveResourcePolicies(RemoveResourcePoliciesRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation RemoveResourcePolicies(RemoveResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes resource policies from a regional disk.
Parameters | |
---|---|
Name | Description |
request | RemoveResourcePoliciesRegionDiskRequest 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. |
RemoveResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RemoveResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest request, CallOptions options)
Removes resource policies from a regional disk.
Parameters | |
---|---|
Name | Description |
request | RemoveResourcePoliciesRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
RemoveResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Removes resource policies from a regional disk.
Parameters | |
---|---|
Name | Description |
request | RemoveResourcePoliciesRegionDiskRequest 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. |
Resize(ResizeRegionDiskRequest, CallOptions)
public virtual Operation Resize(ResizeRegionDiskRequest request, CallOptions options)
Resizes the specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | ResizeRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Resize(ResizeRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Resize(ResizeRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Resizes the specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | ResizeRegionDiskRequest 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. |
ResizeAsync(ResizeRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> ResizeAsync(ResizeRegionDiskRequest request, CallOptions options)
Resizes the specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | ResizeRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
ResizeAsync(ResizeRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> ResizeAsync(ResizeRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Resizes the specified regional persistent disk.
Parameters | |
---|---|
Name | Description |
request | ResizeRegionDiskRequest 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(SetIamPolicyRegionDiskRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyRegionDiskRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionDiskRequest 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(SetIamPolicyRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyRegionDiskRequest 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 | SetIamPolicyRegionDiskRequest 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(SetIamPolicyRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionDiskRequest request, CallOptions options)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallPolicy | The call object. |
SetIamPolicyAsync(SetIamPolicyRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionDiskRequest 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 | SetIamPolicyRegionDiskRequest 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. |
SetLabels(SetLabelsRegionDiskRequest, CallOptions)
public virtual Operation SetLabels(SetLabelsRegionDiskRequest request, CallOptions options)
Sets the labels on the target regional disk.
Parameters | |
---|---|
Name | Description |
request | SetLabelsRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
SetLabels(SetLabelsRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation SetLabels(SetLabelsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the labels on the target regional disk.
Parameters | |
---|---|
Name | Description |
request | SetLabelsRegionDiskRequest 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. |
SetLabelsAsync(SetLabelsRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsRegionDiskRequest request, CallOptions options)
Sets the labels on the target regional disk.
Parameters | |
---|---|
Name | Description |
request | SetLabelsRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation | The call object. |
SetLabelsAsync(SetLabelsRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Sets the labels on the target regional disk.
Parameters | |
---|---|
Name | Description |
request | SetLabelsRegionDiskRequest 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. |
TestIamPermissions(TestIamPermissionsRegionDiskRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionDiskRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionDiskRequest 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(TestIamPermissionsRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionDiskRequest 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(TestIamPermissionsRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionDiskRequest request, CallOptions options)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionDiskRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTestPermissionsResponse | The call object. |
TestIamPermissionsAsync(TestIamPermissionsRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns permissions that a caller has on the specified resource.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRegionDiskRequest 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. |