public class InstantSnapshotGroups.InstantSnapshotGroupsClient : ClientBase<InstantSnapshotGroups.InstantSnapshotGroupsClient>Reference documentation and code samples for the Compute Engine v1 API class InstantSnapshotGroups.InstantSnapshotGroupsClient.
Client for InstantSnapshotGroups
Inheritance
object > ClientBase > ClientBaseInstantSnapshotGroupsInstantSnapshotGroupsClient > InstantSnapshotGroups.InstantSnapshotGroupsClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InstantSnapshotGroupsClient()
protected InstantSnapshotGroupsClient()Protected parameterless constructor to allow creation of test doubles.
InstantSnapshotGroupsClient(CallInvoker)
public InstantSnapshotGroupsClient(CallInvoker callInvoker)Creates a new client for InstantSnapshotGroups that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
InstantSnapshotGroupsClient(ChannelBase)
public InstantSnapshotGroupsClient(ChannelBase channel)Creates a new client for InstantSnapshotGroups
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
InstantSnapshotGroupsClient(ClientBaseConfiguration)
protected InstantSnapshotGroupsClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateOperationsClientForZoneOperations()
public virtual Operations.OperationsClient CreateOperationsClientForZoneOperations()Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to ZoneOperations.
| Returns | |
|---|---|
| Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteInstantSnapshotGroupRequest, CallOptions)
public virtual Operation Delete(DeleteInstantSnapshotGroupRequest request, CallOptions options)deletes a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Delete(DeleteInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)deletes a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteInstantSnapshotGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInstantSnapshotGroupRequest request, CallOptions options)deletes a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)deletes a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetInstantSnapshotGroupRequest, CallOptions)
public virtual InstantSnapshotGroup Get(GetInstantSnapshotGroupRequest request, CallOptions options)returns the specified InstantSnapshotGroup resource in the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
InstantSnapshotGroup |
The response received from the server. |
Get(GetInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual InstantSnapshotGroup Get(GetInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)returns the specified InstantSnapshotGroup resource in the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
InstantSnapshotGroup |
The response received from the server. |
GetAsync(GetInstantSnapshotGroupRequest, CallOptions)
public virtual AsyncUnaryCall<InstantSnapshotGroup> GetAsync(GetInstantSnapshotGroupRequest request, CallOptions options)returns the specified InstantSnapshotGroup resource in the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallInstantSnapshotGroup |
The call object. |
GetAsync(GetInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<InstantSnapshotGroup> GetAsync(GetInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)returns the specified InstantSnapshotGroup resource in the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallInstantSnapshotGroup |
The call object. |
GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest, CallOptions)
public virtual Policy GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest 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 |
GetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy GetIamPolicy(GetIamPolicyInstantSnapshotGroupRequest 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 |
GetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
GetIamPolicyAsync(GetIamPolicyInstantSnapshotGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyInstantSnapshotGroupRequest 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 |
GetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
GetIamPolicyAsync(GetIamPolicyInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyInstantSnapshotGroupRequest 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 |
GetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
Insert(InsertInstantSnapshotGroupRequest, CallOptions)
public virtual Operation Insert(InsertInstantSnapshotGroupRequest request, CallOptions options)inserts a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
Insert(InsertInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)inserts a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertInstantSnapshotGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInstantSnapshotGroupRequest request, CallOptions options)inserts a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)inserts a Zonal InstantSnapshotGroup resource
| Parameters | |
|---|---|
| Name | Description |
request |
InsertInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListInstantSnapshotGroupsRequest, CallOptions)
public virtual ListInstantSnapshotGroups List(ListInstantSnapshotGroupsRequest request, CallOptions options)retrieves the list of InstantSnapshotGroup resources contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstantSnapshotGroupsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListInstantSnapshotGroups |
The response received from the server. |
List(ListInstantSnapshotGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListInstantSnapshotGroups List(ListInstantSnapshotGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)retrieves the list of InstantSnapshotGroup resources contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstantSnapshotGroupsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListInstantSnapshotGroups |
The response received from the server. |
ListAsync(ListInstantSnapshotGroupsRequest, CallOptions)
public virtual AsyncUnaryCall<ListInstantSnapshotGroups> ListAsync(ListInstantSnapshotGroupsRequest request, CallOptions options)retrieves the list of InstantSnapshotGroup resources contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstantSnapshotGroupsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListInstantSnapshotGroups |
The call object. |
ListAsync(ListInstantSnapshotGroupsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListInstantSnapshotGroups> ListAsync(ListInstantSnapshotGroupsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)retrieves the list of InstantSnapshotGroup resources contained within the specified zone.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstantSnapshotGroupsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListInstantSnapshotGroups |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override InstantSnapshotGroups.InstantSnapshotGroupsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
InstantSnapshotGroupsInstantSnapshotGroupsClient |
|
SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest, CallOptions)
public virtual Policy SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest request, CallOptions options)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual Policy SetIamPolicy(SetIamPolicyInstantSnapshotGroupRequest 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 |
SetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The response received from the server. |
SetIamPolicyAsync(SetIamPolicyInstantSnapshotGroupRequest, CallOptions)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyInstantSnapshotGroupRequest request, CallOptions options)Sets the access control policy on the specified resource. Replaces any existing policy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
SetIamPolicyAsync(SetIamPolicyInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyInstantSnapshotGroupRequest 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 |
SetIamPolicyInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallPolicy |
The call object. |
TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest, CallOptions)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest request, CallOptions options)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual TestPermissionsResponse TestIamPermissions(TestIamPermissionsInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The response received from the server. |
TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotGroupRequest, CallOptions)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotGroupRequest request, CallOptions options)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsInstantSnapshotGroupRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |
TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotGroupRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsInstantSnapshotGroupRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsInstantSnapshotGroupRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallTestPermissionsResponse |
The call object. |