public class RegionDisksClient : ClientBase<RegionDisks.RegionDisksClient>
Reference documentation and code samples for the Compute Engine v1 API class RegionDisks.RegionDisksClient.
Client for RegionDisks
Inheritance
Object > ClientBase > ClientBase<RegionDisks.RegionDisksClient> > 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(ClientBase.ClientBaseConfiguration)
protected RegionDisksClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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, Nullable<DateTime>, CancellationToken)
public virtual Operation AddResourcePolicies(AddResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
AddResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> AddResourcePoliciesAsync(AddResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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 |
Operations.OperationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateSnapshot(CreateSnapshotRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
CreateSnapshotAsync(CreateSnapshotRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateSnapshotAsync(CreateSnapshotRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Disk Get(GetRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Disk> | The call object. |
GetAsync(GetRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Disk> GetAsync(GetRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Disk> | 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, Nullable<DateTime>, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | The call object. |
GetIamPolicyAsync(GetIamPolicyRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual DiskList List(ListRegionDisksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<DiskList> | The call object. |
ListAsync(ListRegionDisksRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<DiskList> ListAsync(ListRegionDisksRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<DiskList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionDisks.RegionDisksClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionDisks.RegionDisksClient |
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, Nullable<DateTime>, CancellationToken)
public virtual Operation RemoveResourcePolicies(RemoveResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
RemoveResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RemoveResourcePoliciesAsync(RemoveResourcePoliciesRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Resize(ResizeRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
ResizeAsync(ResizeRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> ResizeAsync(ResizeRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | The call object. |
SetIamPolicyAsync(SetIamPolicyRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Policy> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation SetLabels(SetLabelsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
SetLabelsAsync(SetLabelsRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> SetLabelsAsync(SetLabelsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |
TestIamPermissionsAsync(TestIamPermissionsRegionDiskRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionDiskRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TestPermissionsResponse> | The call object. |