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
Google.Cloud.Compute.V1Assembly
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 |
System.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 |
System.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. |
BulkInsert(BulkInsertRegionDiskRequest, CallOptions)
public virtual Operation BulkInsert(BulkInsertRegionDiskRequest request, CallOptions options)
Bulk create a set of disks.
Parameters | |
---|---|
Name | Description |
request |
BulkInsertRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
BulkInsert(BulkInsertRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation BulkInsert(BulkInsertRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Bulk create a set of disks.
Parameters | |
---|---|
Name | Description |
request |
BulkInsertRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
BulkInsertAsync(BulkInsertRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> BulkInsertAsync(BulkInsertRegionDiskRequest request, CallOptions options)
Bulk create a set of disks.
Parameters | |
---|---|
Name | Description |
request |
BulkInsertRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
BulkInsertAsync(BulkInsertRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> BulkInsertAsync(BulkInsertRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Bulk create a set of disks.
Parameters | |
---|---|
Name | Description |
request |
BulkInsertRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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 |
System.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. |
StartAsyncReplication(StartAsyncReplicationRegionDiskRequest, CallOptions)
public virtual Operation StartAsyncReplication(StartAsyncReplicationRegionDiskRequest request, CallOptions options)
Starts asynchronous replication. Must be invoked on the primary disk.
Parameters | |
---|---|
Name | Description |
request |
StartAsyncReplicationRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
StartAsyncReplication(StartAsyncReplicationRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation StartAsyncReplication(StartAsyncReplicationRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Starts asynchronous replication. Must be invoked on the primary disk.
Parameters | |
---|---|
Name | Description |
request |
StartAsyncReplicationRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
StartAsyncReplicationAsync(StartAsyncReplicationRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StartAsyncReplicationAsync(StartAsyncReplicationRegionDiskRequest request, CallOptions options)
Starts asynchronous replication. Must be invoked on the primary disk.
Parameters | |
---|---|
Name | Description |
request |
StartAsyncReplicationRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
StartAsyncReplicationAsync(StartAsyncReplicationRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> StartAsyncReplicationAsync(StartAsyncReplicationRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Starts asynchronous replication. Must be invoked on the primary disk.
Parameters | |
---|---|
Name | Description |
request |
StartAsyncReplicationRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
StopAsyncReplication(StopAsyncReplicationRegionDiskRequest, CallOptions)
public virtual Operation StopAsyncReplication(StopAsyncReplicationRegionDiskRequest request, CallOptions options)
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
Parameters | |
---|---|
Name | Description |
request |
StopAsyncReplicationRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
StopAsyncReplication(StopAsyncReplicationRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation StopAsyncReplication(StopAsyncReplicationRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
Parameters | |
---|---|
Name | Description |
request |
StopAsyncReplicationRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
StopAsyncReplicationAsync(StopAsyncReplicationRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StopAsyncReplicationAsync(StopAsyncReplicationRegionDiskRequest request, CallOptions options)
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
Parameters | |
---|---|
Name | Description |
request |
StopAsyncReplicationRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
StopAsyncReplicationAsync(StopAsyncReplicationRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> StopAsyncReplicationAsync(StopAsyncReplicationRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Stops asynchronous replication. Can be invoked either on the primary or on the secondary disk.
Parameters | |
---|---|
Name | Description |
request |
StopAsyncReplicationRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
StopGroupAsyncReplication(StopGroupAsyncReplicationRegionDiskRequest, CallOptions)
public virtual Operation StopGroupAsyncReplication(StopGroupAsyncReplicationRegionDiskRequest request, CallOptions options)
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
Parameters | |
---|---|
Name | Description |
request |
StopGroupAsyncReplicationRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
StopGroupAsyncReplication(StopGroupAsyncReplicationRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation StopGroupAsyncReplication(StopGroupAsyncReplicationRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
Parameters | |
---|---|
Name | Description |
request |
StopGroupAsyncReplicationRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |
StopGroupAsyncReplicationAsync(StopGroupAsyncReplicationRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> StopGroupAsyncReplicationAsync(StopGroupAsyncReplicationRegionDiskRequest request, CallOptions options)
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
Parameters | |
---|---|
Name | Description |
request |
StopGroupAsyncReplicationRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
StopGroupAsyncReplicationAsync(StopGroupAsyncReplicationRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> StopGroupAsyncReplicationAsync(StopGroupAsyncReplicationRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Stops asynchronous replication for a consistency group of disks. Can be invoked either in the primary or secondary scope.
Parameters | |
---|---|
Name | Description |
request |
StopGroupAsyncReplicationRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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 |
System.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 |
System.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(UpdateRegionDiskRequest, CallOptions)
public virtual Operation Update(UpdateRegionDiskRequest request, CallOptions options)
Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
Parameters | |
---|---|
Name | Description |
request |
UpdateRegionDiskRequest 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(UpdateRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Update(UpdateRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
Parameters | |
---|---|
Name | Description |
request |
UpdateRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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(UpdateRegionDiskRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionDiskRequest request, CallOptions options)
Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
Parameters | |
---|---|
Name | Description |
request |
UpdateRegionDiskRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
UpdateAsync(UpdateRegionDiskRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Update the specified disk with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.
Parameters | |
---|---|
Name | Description |
request |
UpdateRegionDiskRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
System.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. |