public abstract class BigtableInstanceAdminClient
BigtableInstanceAdmin client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.Bigtable.Admin.V2Assembly
Google.Cloud.Bigtable.Admin.V2.dll
Remarks
Service for creating, configuring, and deleting Cloud Bigtable Instances and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata or data stored in those tables.
Properties
CreateClusterOperationsClient
public virtual OperationsClient CreateClusterOperationsClient { get; }
The long-running operations client for CreateCluster
.
Type | Description |
OperationsClient |
CreateInstanceOperationsClient
public virtual OperationsClient CreateInstanceOperationsClient { get; }
The long-running operations client for CreateInstance
.
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the BigtableInstanceAdmin service, which is a host of "bigtableadmin.googleapis.com" and a port of 443.
Type | Description |
String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default BigtableInstanceAdmin scopes.
Type | Description |
IReadOnlyList<String> |
The default BigtableInstanceAdmin scopes are:
- https://www.googleapis.com/auth/bigtable.admin
- https://www.googleapis.com/auth/bigtable.admin.cluster
- https://www.googleapis.com/auth/bigtable.admin.instance
- https://www.googleapis.com/auth/cloud-bigtable.admin
- https://www.googleapis.com/auth/cloud-bigtable.admin.cluster
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/cloud-platform.read-only
GrpcClient
public virtual BigtableInstanceAdmin.BigtableInstanceAdminClient GrpcClient { get; }
The underlying gRPC BigtableInstanceAdmin client
Type | Description |
BigtableInstanceAdmin.BigtableInstanceAdminClient |
PartialUpdateClusterOperationsClient
public virtual OperationsClient PartialUpdateClusterOperationsClient { get; }
The long-running operations client for PartialUpdateCluster
.
Type | Description |
OperationsClient |
PartialUpdateInstanceOperationsClient
public virtual OperationsClient PartialUpdateInstanceOperationsClient { get; }
The long-running operations client for PartialUpdateInstance
.
Type | Description |
OperationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Type | Description |
ServiceMetadata |
UpdateAppProfileOperationsClient
public virtual OperationsClient UpdateAppProfileOperationsClient { get; }
The long-running operations client for UpdateAppProfile
.
Type | Description |
OperationsClient |
UpdateClusterOperationsClient
public virtual OperationsClient UpdateClusterOperationsClient { get; }
The long-running operations client for UpdateCluster
.
Type | Description |
OperationsClient |
Methods
Create()
public static BigtableInstanceAdminClient Create()
Synchronously creates a BigtableInstanceAdminClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use BigtableInstanceAdminClientBuilder.
Type | Description |
BigtableInstanceAdminClient | The created BigtableInstanceAdminClient. |
CreateAppProfile(CreateAppProfileRequest, CallSettings)
public virtual AppProfile CreateAppProfile(CreateAppProfileRequest request, CallSettings callSettings = null)
Creates an app profile within an instance.
Name | Description |
request | CreateAppProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AppProfile | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
CreateAppProfileRequest request = new CreateAppProfileRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
AppProfileId = "",
AppProfile = new AppProfile(),
IgnoreWarnings = false,
};
// Make the request
AppProfile response = bigtableInstanceAdminClient.CreateAppProfile(request);
CreateAppProfile(InstanceName, String, AppProfile, CallSettings)
public virtual AppProfile CreateAppProfile(InstanceName parent, string appProfileId, AppProfile appProfile, CallSettings callSettings = null)
Creates an app profile within an instance.
Name | Description |
parent | InstanceName Required. The unique name of the instance in which to create the new app profile.
Values are of the form
|
appProfileId | String Required. The ID to be used when referring to the new app profile within its
instance, e.g., just |
appProfile | AppProfile Required. The app profile to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AppProfile | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
string appProfileId = "";
AppProfile appProfile = new AppProfile();
// Make the request
AppProfile response = bigtableInstanceAdminClient.CreateAppProfile(parent, appProfileId, appProfile);
CreateAppProfile(String, String, AppProfile, CallSettings)
public virtual AppProfile CreateAppProfile(string parent, string appProfileId, AppProfile appProfile, CallSettings callSettings = null)
Creates an app profile within an instance.
Name | Description |
parent | String Required. The unique name of the instance in which to create the new app profile.
Values are of the form
|
appProfileId | String Required. The ID to be used when referring to the new app profile within its
instance, e.g., just |
appProfile | AppProfile Required. The app profile to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AppProfile | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
string appProfileId = "";
AppProfile appProfile = new AppProfile();
// Make the request
AppProfile response = bigtableInstanceAdminClient.CreateAppProfile(parent, appProfileId, appProfile);
CreateAppProfileAsync(CreateAppProfileRequest, CallSettings)
public virtual Task<AppProfile> CreateAppProfileAsync(CreateAppProfileRequest request, CallSettings callSettings = null)
Creates an app profile within an instance.
Name | Description |
request | CreateAppProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
CreateAppProfileRequest request = new CreateAppProfileRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
AppProfileId = "",
AppProfile = new AppProfile(),
IgnoreWarnings = false,
};
// Make the request
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(request);
CreateAppProfileAsync(CreateAppProfileRequest, CancellationToken)
public virtual Task<AppProfile> CreateAppProfileAsync(CreateAppProfileRequest request, CancellationToken cancellationToken)
Creates an app profile within an instance.
Name | Description |
request | CreateAppProfileRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
CreateAppProfileRequest request = new CreateAppProfileRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
AppProfileId = "",
AppProfile = new AppProfile(),
IgnoreWarnings = false,
};
// Make the request
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(request);
CreateAppProfileAsync(InstanceName, String, AppProfile, CallSettings)
public virtual Task<AppProfile> CreateAppProfileAsync(InstanceName parent, string appProfileId, AppProfile appProfile, CallSettings callSettings = null)
Creates an app profile within an instance.
Name | Description |
parent | InstanceName Required. The unique name of the instance in which to create the new app profile.
Values are of the form
|
appProfileId | String Required. The ID to be used when referring to the new app profile within its
instance, e.g., just |
appProfile | AppProfile Required. The app profile to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
string appProfileId = "";
AppProfile appProfile = new AppProfile();
// Make the request
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(parent, appProfileId, appProfile);
CreateAppProfileAsync(InstanceName, String, AppProfile, CancellationToken)
public virtual Task<AppProfile> CreateAppProfileAsync(InstanceName parent, string appProfileId, AppProfile appProfile, CancellationToken cancellationToken)
Creates an app profile within an instance.
Name | Description |
parent | InstanceName Required. The unique name of the instance in which to create the new app profile.
Values are of the form
|
appProfileId | String Required. The ID to be used when referring to the new app profile within its
instance, e.g., just |
appProfile | AppProfile Required. The app profile to be created.
Fields marked |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
string appProfileId = "";
AppProfile appProfile = new AppProfile();
// Make the request
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(parent, appProfileId, appProfile);
CreateAppProfileAsync(String, String, AppProfile, CallSettings)
public virtual Task<AppProfile> CreateAppProfileAsync(string parent, string appProfileId, AppProfile appProfile, CallSettings callSettings = null)
Creates an app profile within an instance.
Name | Description |
parent | String Required. The unique name of the instance in which to create the new app profile.
Values are of the form
|
appProfileId | String Required. The ID to be used when referring to the new app profile within its
instance, e.g., just |
appProfile | AppProfile Required. The app profile to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
string appProfileId = "";
AppProfile appProfile = new AppProfile();
// Make the request
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(parent, appProfileId, appProfile);
CreateAppProfileAsync(String, String, AppProfile, CancellationToken)
public virtual Task<AppProfile> CreateAppProfileAsync(string parent, string appProfileId, AppProfile appProfile, CancellationToken cancellationToken)
Creates an app profile within an instance.
Name | Description |
parent | String Required. The unique name of the instance in which to create the new app profile.
Values are of the form
|
appProfileId | String Required. The ID to be used when referring to the new app profile within its
instance, e.g., just |
appProfile | AppProfile Required. The app profile to be created.
Fields marked |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
string appProfileId = "";
AppProfile appProfile = new AppProfile();
// Make the request
AppProfile response = await bigtableInstanceAdminClient.CreateAppProfileAsync(parent, appProfileId, appProfile);
CreateAsync(CancellationToken)
public static Task<BigtableInstanceAdminClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a BigtableInstanceAdminClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use BigtableInstanceAdminClientBuilder.
Name | Description |
cancellationToken | CancellationToken The CancellationToken to use while creating the client. |
Type | Description |
Task<BigtableInstanceAdminClient> | The task representing the created BigtableInstanceAdminClient. |
CreateCluster(CreateClusterRequest, CallSettings)
public virtual Operation<Cluster, CreateClusterMetadata> CreateCluster(CreateClusterRequest request, CallSettings callSettings = null)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
request | CreateClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Cluster, CreateClusterMetadata> | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
ClusterId = "",
Cluster = new Cluster(),
};
// Make the request
Operation<Cluster, CreateClusterMetadata> response = bigtableInstanceAdminClient.CreateCluster(request);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = bigtableInstanceAdminClient.PollOnceCreateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateCluster(InstanceName, String, Cluster, CallSettings)
public virtual Operation<Cluster, CreateClusterMetadata> CreateCluster(InstanceName parent, string clusterId, Cluster cluster, CallSettings callSettings = null)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | InstanceName Required. The unique name of the instance in which to create the new cluster.
Values are of the form
|
clusterId | String Required. The ID to be used when referring to the new cluster within its instance,
e.g., just |
cluster | Cluster Required. The cluster to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Cluster, CreateClusterMetadata> | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
string clusterId = "";
Cluster cluster = new Cluster();
// Make the request
Operation<Cluster, CreateClusterMetadata> response = bigtableInstanceAdminClient.CreateCluster(parent, clusterId, cluster);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = bigtableInstanceAdminClient.PollOnceCreateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateCluster(String, String, Cluster, CallSettings)
public virtual Operation<Cluster, CreateClusterMetadata> CreateCluster(string parent, string clusterId, Cluster cluster, CallSettings callSettings = null)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | String Required. The unique name of the instance in which to create the new cluster.
Values are of the form
|
clusterId | String Required. The ID to be used when referring to the new cluster within its instance,
e.g., just |
cluster | Cluster Required. The cluster to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Cluster, CreateClusterMetadata> | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
string clusterId = "";
Cluster cluster = new Cluster();
// Make the request
Operation<Cluster, CreateClusterMetadata> response = bigtableInstanceAdminClient.CreateCluster(parent, clusterId, cluster);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = bigtableInstanceAdminClient.PollOnceCreateCluster(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateClusterAsync(CreateClusterRequest, CallSettings)
public virtual Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(CreateClusterRequest request, CallSettings callSettings = null)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
request | CreateClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Cluster, CreateClusterMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
ClusterId = "",
Cluster = new Cluster(),
};
// Make the request
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateClusterAsync(CreateClusterRequest, CancellationToken)
public virtual Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(CreateClusterRequest request, CancellationToken cancellationToken)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
request | CreateClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Operation<Cluster, CreateClusterMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
CreateClusterRequest request = new CreateClusterRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
ClusterId = "",
Cluster = new Cluster(),
};
// Make the request
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(request);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateClusterAsync(InstanceName, String, Cluster, CallSettings)
public virtual Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(InstanceName parent, string clusterId, Cluster cluster, CallSettings callSettings = null)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | InstanceName Required. The unique name of the instance in which to create the new cluster.
Values are of the form
|
clusterId | String Required. The ID to be used when referring to the new cluster within its instance,
e.g., just |
cluster | Cluster Required. The cluster to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Cluster, CreateClusterMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
string clusterId = "";
Cluster cluster = new Cluster();
// Make the request
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(parent, clusterId, cluster);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateClusterAsync(InstanceName, String, Cluster, CancellationToken)
public virtual Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(InstanceName parent, string clusterId, Cluster cluster, CancellationToken cancellationToken)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | InstanceName Required. The unique name of the instance in which to create the new cluster.
Values are of the form
|
clusterId | String Required. The ID to be used when referring to the new cluster within its instance,
e.g., just |
cluster | Cluster Required. The cluster to be created.
Fields marked |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Operation<Cluster, CreateClusterMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
string clusterId = "";
Cluster cluster = new Cluster();
// Make the request
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(parent, clusterId, cluster);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateClusterAsync(String, String, Cluster, CallSettings)
public virtual Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(string parent, string clusterId, Cluster cluster, CallSettings callSettings = null)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | String Required. The unique name of the instance in which to create the new cluster.
Values are of the form
|
clusterId | String Required. The ID to be used when referring to the new cluster within its instance,
e.g., just |
cluster | Cluster Required. The cluster to be created.
Fields marked |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Cluster, CreateClusterMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
string clusterId = "";
Cluster cluster = new Cluster();
// Make the request
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(parent, clusterId, cluster);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateClusterAsync(String, String, Cluster, CancellationToken)
public virtual Task<Operation<Cluster, CreateClusterMetadata>> CreateClusterAsync(string parent, string clusterId, Cluster cluster, CancellationToken cancellationToken)
Creates a cluster within an instance.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | String Required. The unique name of the instance in which to create the new cluster.
Values are of the form
|
clusterId | String Required. The ID to be used when referring to the new cluster within its instance,
e.g., just |
cluster | Cluster Required. The cluster to be created.
Fields marked |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Operation<Cluster, CreateClusterMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
string clusterId = "";
Cluster cluster = new Cluster();
// Make the request
Operation<Cluster, CreateClusterMetadata> response = await bigtableInstanceAdminClient.CreateClusterAsync(parent, clusterId, cluster);
// Poll until the returned long-running operation is complete
Operation<Cluster, CreateClusterMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Cluster result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Cluster, CreateClusterMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateClusterAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Cluster retrievedResult = retrievedResponse.Result;
}
CreateInstance(ProjectName, String, Instance, IDictionary<String, Cluster>, CallSettings)
public virtual Operation<Instance, CreateInstanceMetadata> CreateInstance(ProjectName parent, string instanceId, Instance instance, IDictionary<string, Cluster> clusters, CallSettings callSettings = null)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | ProjectName Required. The unique name of the project in which to create the new instance.
Values are of the form |
instanceId | String Required. The ID to be used when referring to the new instance within its project,
e.g., just |
instance | Instance Required. The instance to create.
Fields marked |
clusters | IDictionary<String, Cluster> Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Instance, CreateInstanceMetadata> | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
ProjectName parent = ProjectName.FromProject("[PROJECT]");
string instanceId = "";
Instance instance = new Instance();
IDictionary<string, Cluster> clusters = new Dictionary<string, Cluster> { { "", new Cluster() }, };
// Make the request
Operation<Instance, CreateInstanceMetadata> response = bigtableInstanceAdminClient.CreateInstance(parent, instanceId, instance, clusters);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = bigtableInstanceAdminClient.PollOnceCreateInstance(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstance(CreateInstanceRequest, CallSettings)
public virtual Operation<Instance, CreateInstanceMetadata> CreateInstance(CreateInstanceRequest request, CallSettings callSettings = null)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
request | CreateInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Instance, CreateInstanceMetadata> | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
CreateInstanceRequest request = new CreateInstanceRequest
{
ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
InstanceId = "",
Instance = new Instance(),
Clusters = { { "", new Cluster() }, },
};
// Make the request
Operation<Instance, CreateInstanceMetadata> response = bigtableInstanceAdminClient.CreateInstance(request);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = bigtableInstanceAdminClient.PollOnceCreateInstance(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstance(String, String, Instance, IDictionary<String, Cluster>, CallSettings)
public virtual Operation<Instance, CreateInstanceMetadata> CreateInstance(string parent, string instanceId, Instance instance, IDictionary<string, Cluster> clusters, CallSettings callSettings = null)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | String Required. The unique name of the project in which to create the new instance.
Values are of the form |
instanceId | String Required. The ID to be used when referring to the new instance within its project,
e.g., just |
instance | Instance Required. The instance to create.
Fields marked |
clusters | IDictionary<String, Cluster> Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Instance, CreateInstanceMetadata> | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]";
string instanceId = "";
Instance instance = new Instance();
IDictionary<string, Cluster> clusters = new Dictionary<string, Cluster> { { "", new Cluster() }, };
// Make the request
Operation<Instance, CreateInstanceMetadata> response = bigtableInstanceAdminClient.CreateInstance(parent, instanceId, instance, clusters);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = bigtableInstanceAdminClient.PollOnceCreateInstance(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstanceAsync(ProjectName, String, Instance, IDictionary<String, Cluster>, CallSettings)
public virtual Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(ProjectName parent, string instanceId, Instance instance, IDictionary<string, Cluster> clusters, CallSettings callSettings = null)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | ProjectName Required. The unique name of the project in which to create the new instance.
Values are of the form |
instanceId | String Required. The ID to be used when referring to the new instance within its project,
e.g., just |
instance | Instance Required. The instance to create.
Fields marked |
clusters | IDictionary<String, Cluster> Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Instance, CreateInstanceMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ProjectName parent = ProjectName.FromProject("[PROJECT]");
string instanceId = "";
Instance instance = new Instance();
IDictionary<string, Cluster> clusters = new Dictionary<string, Cluster> { { "", new Cluster() }, };
// Make the request
Operation<Instance, CreateInstanceMetadata> response = await bigtableInstanceAdminClient.CreateInstanceAsync(parent, instanceId, instance, clusters);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateInstanceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstanceAsync(ProjectName, String, Instance, IDictionary<String, Cluster>, CancellationToken)
public virtual Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(ProjectName parent, string instanceId, Instance instance, IDictionary<string, Cluster> clusters, CancellationToken cancellationToken)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | ProjectName Required. The unique name of the project in which to create the new instance.
Values are of the form |
instanceId | String Required. The ID to be used when referring to the new instance within its project,
e.g., just |
instance | Instance Required. The instance to create.
Fields marked |
clusters | IDictionary<String, Cluster> Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Operation<Instance, CreateInstanceMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ProjectName parent = ProjectName.FromProject("[PROJECT]");
string instanceId = "";
Instance instance = new Instance();
IDictionary<string, Cluster> clusters = new Dictionary<string, Cluster> { { "", new Cluster() }, };
// Make the request
Operation<Instance, CreateInstanceMetadata> response = await bigtableInstanceAdminClient.CreateInstanceAsync(parent, instanceId, instance, clusters);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateInstanceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstanceAsync(CreateInstanceRequest, CallSettings)
public virtual Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(CreateInstanceRequest request, CallSettings callSettings = null)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
request | CreateInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Instance, CreateInstanceMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
CreateInstanceRequest request = new CreateInstanceRequest
{
ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
InstanceId = "",
Instance = new Instance(),
Clusters = { { "", new Cluster() }, },
};
// Make the request
Operation<Instance, CreateInstanceMetadata> response = await bigtableInstanceAdminClient.CreateInstanceAsync(request);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateInstanceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstanceAsync(CreateInstanceRequest, CancellationToken)
public virtual Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(CreateInstanceRequest request, CancellationToken cancellationToken)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
request | CreateInstanceRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Operation<Instance, CreateInstanceMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
CreateInstanceRequest request = new CreateInstanceRequest
{
ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
InstanceId = "",
Instance = new Instance(),
Clusters = { { "", new Cluster() }, },
};
// Make the request
Operation<Instance, CreateInstanceMetadata> response = await bigtableInstanceAdminClient.CreateInstanceAsync(request);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateInstanceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstanceAsync(String, String, Instance, IDictionary<String, Cluster>, CallSettings)
public virtual Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(string parent, string instanceId, Instance instance, IDictionary<string, Cluster> clusters, CallSettings callSettings = null)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | String Required. The unique name of the project in which to create the new instance.
Values are of the form |
instanceId | String Required. The ID to be used when referring to the new instance within its project,
e.g., just |
instance | Instance Required. The instance to create.
Fields marked |
clusters | IDictionary<String, Cluster> Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Instance, CreateInstanceMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]";
string instanceId = "";
Instance instance = new Instance();
IDictionary<string, Cluster> clusters = new Dictionary<string, Cluster> { { "", new Cluster() }, };
// Make the request
Operation<Instance, CreateInstanceMetadata> response = await bigtableInstanceAdminClient.CreateInstanceAsync(parent, instanceId, instance, clusters);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateInstanceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
CreateInstanceAsync(String, String, Instance, IDictionary<String, Cluster>, CancellationToken)
public virtual Task<Operation<Instance, CreateInstanceMetadata>> CreateInstanceAsync(string parent, string instanceId, Instance instance, IDictionary<string, Cluster> clusters, CancellationToken cancellationToken)
Create an instance within a project.
Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
Name | Description |
parent | String Required. The unique name of the project in which to create the new instance.
Values are of the form |
instanceId | String Required. The ID to be used when referring to the new instance within its project,
e.g., just |
instance | Instance Required. The instance to create.
Fields marked |
clusters | IDictionary<String, Cluster> Required. The clusters to be created within the instance, mapped by desired
cluster ID, e.g., just |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Operation<Instance, CreateInstanceMetadata>> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]";
string instanceId = "";
Instance instance = new Instance();
IDictionary<string, Cluster> clusters = new Dictionary<string, Cluster> { { "", new Cluster() }, };
// Make the request
Operation<Instance, CreateInstanceMetadata> response = await bigtableInstanceAdminClient.CreateInstanceAsync(parent, instanceId, instance, clusters);
// Poll until the returned long-running operation is complete
Operation<Instance, CreateInstanceMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
Instance result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<Instance, CreateInstanceMetadata> retrievedResponse = await bigtableInstanceAdminClient.PollOnceCreateInstanceAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
Instance retrievedResult = retrievedResponse.Result;
}
DeleteAppProfile(AppProfileName, CallSettings)
public virtual void DeleteAppProfile(AppProfileName name, CallSettings callSettings = null)
Deletes an app profile from an instance.
Name | Description |
name | AppProfileName Required. The unique name of the app profile to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
// Make the request
bigtableInstanceAdminClient.DeleteAppProfile(name);
DeleteAppProfile(DeleteAppProfileRequest, CallSettings)
public virtual void DeleteAppProfile(DeleteAppProfileRequest request, CallSettings callSettings = null)
Deletes an app profile from an instance.
Name | Description |
request | DeleteAppProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
DeleteAppProfileRequest request = new DeleteAppProfileRequest
{
AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
IgnoreWarnings = false,
};
// Make the request
bigtableInstanceAdminClient.DeleteAppProfile(request);
DeleteAppProfile(String, CallSettings)
public virtual void DeleteAppProfile(string name, CallSettings callSettings = null)
Deletes an app profile from an instance.
Name | Description |
name | String Required. The unique name of the app profile to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/appProfiles/[APP_PROFILE]";
// Make the request
bigtableInstanceAdminClient.DeleteAppProfile(name);
DeleteAppProfileAsync(AppProfileName, CallSettings)
public virtual Task DeleteAppProfileAsync(AppProfileName name, CallSettings callSettings = null)
Deletes an app profile from an instance.
Name | Description |
name | AppProfileName Required. The unique name of the app profile to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
// Make the request
await bigtableInstanceAdminClient.DeleteAppProfileAsync(name);
DeleteAppProfileAsync(AppProfileName, CancellationToken)
public virtual Task DeleteAppProfileAsync(AppProfileName name, CancellationToken cancellationToken)
Deletes an app profile from an instance.
Name | Description |
name | AppProfileName Required. The unique name of the app profile to be deleted. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
// Make the request
await bigtableInstanceAdminClient.DeleteAppProfileAsync(name);
DeleteAppProfileAsync(DeleteAppProfileRequest, CallSettings)
public virtual Task DeleteAppProfileAsync(DeleteAppProfileRequest request, CallSettings callSettings = null)
Deletes an app profile from an instance.
Name | Description |
request | DeleteAppProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
DeleteAppProfileRequest request = new DeleteAppProfileRequest
{
AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
IgnoreWarnings = false,
};
// Make the request
await bigtableInstanceAdminClient.DeleteAppProfileAsync(request);
DeleteAppProfileAsync(DeleteAppProfileRequest, CancellationToken)
public virtual Task DeleteAppProfileAsync(DeleteAppProfileRequest request, CancellationToken cancellationToken)
Deletes an app profile from an instance.
Name | Description |
request | DeleteAppProfileRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
DeleteAppProfileRequest request = new DeleteAppProfileRequest
{
AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
IgnoreWarnings = false,
};
// Make the request
await bigtableInstanceAdminClient.DeleteAppProfileAsync(request);
DeleteAppProfileAsync(String, CallSettings)
public virtual Task DeleteAppProfileAsync(string name, CallSettings callSettings = null)
Deletes an app profile from an instance.
Name | Description |
name | String Required. The unique name of the app profile to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/appProfiles/[APP_PROFILE]";
// Make the request
await bigtableInstanceAdminClient.DeleteAppProfileAsync(name);
DeleteAppProfileAsync(String, CancellationToken)
public virtual Task DeleteAppProfileAsync(string name, CancellationToken cancellationToken)
Deletes an app profile from an instance.
Name | Description |
name | String Required. The unique name of the app profile to be deleted. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/appProfiles/[APP_PROFILE]";
// Make the request
await bigtableInstanceAdminClient.DeleteAppProfileAsync(name);
DeleteCluster(ClusterName, CallSettings)
public virtual void DeleteCluster(ClusterName name, CallSettings callSettings = null)
Deletes a cluster from an instance.
Name | Description |
name | ClusterName Required. The unique name of the cluster to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
// Make the request
bigtableInstanceAdminClient.DeleteCluster(name);
DeleteCluster(DeleteClusterRequest, CallSettings)
public virtual void DeleteCluster(DeleteClusterRequest request, CallSettings callSettings = null)
Deletes a cluster from an instance.
Name | Description |
request | DeleteClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest
{
ClusterName = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]"),
};
// Make the request
bigtableInstanceAdminClient.DeleteCluster(request);
DeleteCluster(String, CallSettings)
public virtual void DeleteCluster(string name, CallSettings callSettings = null)
Deletes a cluster from an instance.
Name | Description |
name | String Required. The unique name of the cluster to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/clusters/[CLUSTER]";
// Make the request
bigtableInstanceAdminClient.DeleteCluster(name);
DeleteClusterAsync(ClusterName, CallSettings)
public virtual Task DeleteClusterAsync(ClusterName name, CallSettings callSettings = null)
Deletes a cluster from an instance.
Name | Description |
name | ClusterName Required. The unique name of the cluster to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
// Make the request
await bigtableInstanceAdminClient.DeleteClusterAsync(name);
DeleteClusterAsync(ClusterName, CancellationToken)
public virtual Task DeleteClusterAsync(ClusterName name, CancellationToken cancellationToken)
Deletes a cluster from an instance.
Name | Description |
name | ClusterName Required. The unique name of the cluster to be deleted. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
// Make the request
await bigtableInstanceAdminClient.DeleteClusterAsync(name);
DeleteClusterAsync(DeleteClusterRequest, CallSettings)
public virtual Task DeleteClusterAsync(DeleteClusterRequest request, CallSettings callSettings = null)
Deletes a cluster from an instance.
Name | Description |
request | DeleteClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest
{
ClusterName = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]"),
};
// Make the request
await bigtableInstanceAdminClient.DeleteClusterAsync(request);
DeleteClusterAsync(DeleteClusterRequest, CancellationToken)
public virtual Task DeleteClusterAsync(DeleteClusterRequest request, CancellationToken cancellationToken)
Deletes a cluster from an instance.
Name | Description |
request | DeleteClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
DeleteClusterRequest request = new DeleteClusterRequest
{
ClusterName = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]"),
};
// Make the request
await bigtableInstanceAdminClient.DeleteClusterAsync(request);
DeleteClusterAsync(String, CallSettings)
public virtual Task DeleteClusterAsync(string name, CallSettings callSettings = null)
Deletes a cluster from an instance.
Name | Description |
name | String Required. The unique name of the cluster to be deleted. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/clusters/[CLUSTER]";
// Make the request
await bigtableInstanceAdminClient.DeleteClusterAsync(name);
DeleteClusterAsync(String, CancellationToken)
public virtual Task DeleteClusterAsync(string name, CancellationToken cancellationToken)
Deletes a cluster from an instance.
Name | Description |
name | String Required. The unique name of the cluster to be deleted. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/clusters/[CLUSTER]";
// Make the request
await bigtableInstanceAdminClient.DeleteClusterAsync(name);
DeleteInstance(DeleteInstanceRequest, CallSettings)
public virtual void DeleteInstance(DeleteInstanceRequest request, CallSettings callSettings = null)
Delete an instance from a project.
Name | Description |
request | DeleteInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
DeleteInstanceRequest request = new DeleteInstanceRequest
{
InstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
bigtableInstanceAdminClient.DeleteInstance(request);
DeleteInstance(InstanceName, CallSettings)
public virtual void DeleteInstance(InstanceName name, CallSettings callSettings = null)
Delete an instance from a project.
Name | Description |
name | InstanceName Required. The unique name of the instance to be deleted.
Values are of the form |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
InstanceName name = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
bigtableInstanceAdminClient.DeleteInstance(name);
DeleteInstance(String, CallSettings)
public virtual void DeleteInstance(string name, CallSettings callSettings = null)
Delete an instance from a project.
Name | Description |
name | String Required. The unique name of the instance to be deleted.
Values are of the form |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
bigtableInstanceAdminClient.DeleteInstance(name);
DeleteInstanceAsync(DeleteInstanceRequest, CallSettings)
public virtual Task DeleteInstanceAsync(DeleteInstanceRequest request, CallSettings callSettings = null)
Delete an instance from a project.
Name | Description |
request | DeleteInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
DeleteInstanceRequest request = new DeleteInstanceRequest
{
InstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
await bigtableInstanceAdminClient.DeleteInstanceAsync(request);
DeleteInstanceAsync(DeleteInstanceRequest, CancellationToken)
public virtual Task DeleteInstanceAsync(DeleteInstanceRequest request, CancellationToken cancellationToken)
Delete an instance from a project.
Name | Description |
request | DeleteInstanceRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
DeleteInstanceRequest request = new DeleteInstanceRequest
{
InstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
await bigtableInstanceAdminClient.DeleteInstanceAsync(request);
DeleteInstanceAsync(InstanceName, CallSettings)
public virtual Task DeleteInstanceAsync(InstanceName name, CallSettings callSettings = null)
Delete an instance from a project.
Name | Description |
name | InstanceName Required. The unique name of the instance to be deleted.
Values are of the form |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName name = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
await bigtableInstanceAdminClient.DeleteInstanceAsync(name);
DeleteInstanceAsync(InstanceName, CancellationToken)
public virtual Task DeleteInstanceAsync(InstanceName name, CancellationToken cancellationToken)
Delete an instance from a project.
Name | Description |
name | InstanceName Required. The unique name of the instance to be deleted.
Values are of the form |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName name = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
await bigtableInstanceAdminClient.DeleteInstanceAsync(name);
DeleteInstanceAsync(String, CallSettings)
public virtual Task DeleteInstanceAsync(string name, CallSettings callSettings = null)
Delete an instance from a project.
Name | Description |
name | String Required. The unique name of the instance to be deleted.
Values are of the form |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
await bigtableInstanceAdminClient.DeleteInstanceAsync(name);
DeleteInstanceAsync(String, CancellationToken)
public virtual Task DeleteInstanceAsync(string name, CancellationToken cancellationToken)
Delete an instance from a project.
Name | Description |
name | String Required. The unique name of the instance to be deleted.
Values are of the form |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
await bigtableInstanceAdminClient.DeleteInstanceAsync(name);
GetAppProfile(AppProfileName, CallSettings)
public virtual AppProfile GetAppProfile(AppProfileName name, CallSettings callSettings = null)
Gets information about an app profile.
Name | Description |
name | AppProfileName Required. The unique name of the requested app profile. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AppProfile | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
// Make the request
AppProfile response = bigtableInstanceAdminClient.GetAppProfile(name);
GetAppProfile(GetAppProfileRequest, CallSettings)
public virtual AppProfile GetAppProfile(GetAppProfileRequest request, CallSettings callSettings = null)
Gets information about an app profile.
Name | Description |
request | GetAppProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AppProfile | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
GetAppProfileRequest request = new GetAppProfileRequest
{
AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
};
// Make the request
AppProfile response = bigtableInstanceAdminClient.GetAppProfile(request);
GetAppProfile(String, CallSettings)
public virtual AppProfile GetAppProfile(string name, CallSettings callSettings = null)
Gets information about an app profile.
Name | Description |
name | String Required. The unique name of the requested app profile. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AppProfile | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/appProfiles/[APP_PROFILE]";
// Make the request
AppProfile response = bigtableInstanceAdminClient.GetAppProfile(name);
GetAppProfileAsync(AppProfileName, CallSettings)
public virtual Task<AppProfile> GetAppProfileAsync(AppProfileName name, CallSettings callSettings = null)
Gets information about an app profile.
Name | Description |
name | AppProfileName Required. The unique name of the requested app profile. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
// Make the request
AppProfile response = await bigtableInstanceAdminClient.GetAppProfileAsync(name);
GetAppProfileAsync(AppProfileName, CancellationToken)
public virtual Task<AppProfile> GetAppProfileAsync(AppProfileName name, CancellationToken cancellationToken)
Gets information about an app profile.
Name | Description |
name | AppProfileName Required. The unique name of the requested app profile. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
AppProfileName name = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
// Make the request
AppProfile response = await bigtableInstanceAdminClient.GetAppProfileAsync(name);
GetAppProfileAsync(GetAppProfileRequest, CallSettings)
public virtual Task<AppProfile> GetAppProfileAsync(GetAppProfileRequest request, CallSettings callSettings = null)
Gets information about an app profile.
Name | Description |
request | GetAppProfileRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetAppProfileRequest request = new GetAppProfileRequest
{
AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
};
// Make the request
AppProfile response = await bigtableInstanceAdminClient.GetAppProfileAsync(request);
GetAppProfileAsync(GetAppProfileRequest, CancellationToken)
public virtual Task<AppProfile> GetAppProfileAsync(GetAppProfileRequest request, CancellationToken cancellationToken)
Gets information about an app profile.
Name | Description |
request | GetAppProfileRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetAppProfileRequest request = new GetAppProfileRequest
{
AppProfileName = AppProfileName.FromProjectInstanceAppProfile("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"),
};
// Make the request
AppProfile response = await bigtableInstanceAdminClient.GetAppProfileAsync(request);
GetAppProfileAsync(String, CallSettings)
public virtual Task<AppProfile> GetAppProfileAsync(string name, CallSettings callSettings = null)
Gets information about an app profile.
Name | Description |
name | String Required. The unique name of the requested app profile. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/appProfiles/[APP_PROFILE]";
// Make the request
AppProfile response = await bigtableInstanceAdminClient.GetAppProfileAsync(name);
GetAppProfileAsync(String, CancellationToken)
public virtual Task<AppProfile> GetAppProfileAsync(string name, CancellationToken cancellationToken)
Gets information about an app profile.
Name | Description |
name | String Required. The unique name of the requested app profile. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<AppProfile> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/appProfiles/[APP_PROFILE]";
// Make the request
AppProfile response = await bigtableInstanceAdminClient.GetAppProfileAsync(name);
GetCluster(ClusterName, CallSettings)
public virtual Cluster GetCluster(ClusterName name, CallSettings callSettings = null)
Gets information about a cluster.
Name | Description |
name | ClusterName Required. The unique name of the requested cluster. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Cluster | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
// Make the request
Cluster response = bigtableInstanceAdminClient.GetCluster(name);
GetCluster(GetClusterRequest, CallSettings)
public virtual Cluster GetCluster(GetClusterRequest request, CallSettings callSettings = null)
Gets information about a cluster.
Name | Description |
request | GetClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Cluster | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest
{
ClusterName = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]"),
};
// Make the request
Cluster response = bigtableInstanceAdminClient.GetCluster(request);
GetCluster(String, CallSettings)
public virtual Cluster GetCluster(string name, CallSettings callSettings = null)
Gets information about a cluster.
Name | Description |
name | String Required. The unique name of the requested cluster. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Cluster | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/clusters/[CLUSTER]";
// Make the request
Cluster response = bigtableInstanceAdminClient.GetCluster(name);
GetClusterAsync(ClusterName, CallSettings)
public virtual Task<Cluster> GetClusterAsync(ClusterName name, CallSettings callSettings = null)
Gets information about a cluster.
Name | Description |
name | ClusterName Required. The unique name of the requested cluster. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Cluster> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
// Make the request
Cluster response = await bigtableInstanceAdminClient.GetClusterAsync(name);
GetClusterAsync(ClusterName, CancellationToken)
public virtual Task<Cluster> GetClusterAsync(ClusterName name, CancellationToken cancellationToken)
Gets information about a cluster.
Name | Description |
name | ClusterName Required. The unique name of the requested cluster. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Cluster> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ClusterName name = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
// Make the request
Cluster response = await bigtableInstanceAdminClient.GetClusterAsync(name);
GetClusterAsync(GetClusterRequest, CallSettings)
public virtual Task<Cluster> GetClusterAsync(GetClusterRequest request, CallSettings callSettings = null)
Gets information about a cluster.
Name | Description |
request | GetClusterRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Cluster> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest
{
ClusterName = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]"),
};
// Make the request
Cluster response = await bigtableInstanceAdminClient.GetClusterAsync(request);
GetClusterAsync(GetClusterRequest, CancellationToken)
public virtual Task<Cluster> GetClusterAsync(GetClusterRequest request, CancellationToken cancellationToken)
Gets information about a cluster.
Name | Description |
request | GetClusterRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Cluster> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetClusterRequest request = new GetClusterRequest
{
ClusterName = ClusterName.FromProjectInstanceCluster("[PROJECT]", "[INSTANCE]", "[CLUSTER]"),
};
// Make the request
Cluster response = await bigtableInstanceAdminClient.GetClusterAsync(request);
GetClusterAsync(String, CallSettings)
public virtual Task<Cluster> GetClusterAsync(string name, CallSettings callSettings = null)
Gets information about a cluster.
Name | Description |
name | String Required. The unique name of the requested cluster. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Cluster> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/clusters/[CLUSTER]";
// Make the request
Cluster response = await bigtableInstanceAdminClient.GetClusterAsync(name);
GetClusterAsync(String, CancellationToken)
public virtual Task<Cluster> GetClusterAsync(string name, CancellationToken cancellationToken)
Gets information about a cluster.
Name | Description |
name | String Required. The unique name of the requested cluster. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Cluster> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]/clusters/[CLUSTER]";
// Make the request
Cluster response = await bigtableInstanceAdminClient.GetClusterAsync(name);
GetIamPolicy(IResourceName, CallSettings)
public virtual Policy GetIamPolicy(IResourceName resource, CallSettings callSettings = null)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
resource | IResourceName REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Policy | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = bigtableInstanceAdminClient.GetIamPolicy(resource);
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
request | GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Policy | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = bigtableInstanceAdminClient.GetIamPolicy(request);
GetIamPolicy(String, CallSettings)
public virtual Policy GetIamPolicy(string resource, CallSettings callSettings = null)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
resource | String REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Policy | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = bigtableInstanceAdminClient.GetIamPolicy(resource);
GetIamPolicyAsync(IResourceName, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CallSettings callSettings = null)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
resource | IResourceName REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Policy> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = await bigtableInstanceAdminClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(IResourceName, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(IResourceName resource, CancellationToken cancellationToken)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
resource | IResourceName REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Policy> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
IResourceName resource = new UnparsedResourceName("a/wildcard/resource");
// Make the request
Policy response = await bigtableInstanceAdminClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
request | GetIamPolicyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Policy> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = await bigtableInstanceAdminClient.GetIamPolicyAsync(request);
GetIamPolicyAsync(GetIamPolicyRequest, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CancellationToken cancellationToken)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
request | GetIamPolicyRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Policy> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetIamPolicyRequest request = new GetIamPolicyRequest
{
ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"),
Options = new GetPolicyOptions(),
};
// Make the request
Policy response = await bigtableInstanceAdminClient.GetIamPolicyAsync(request);
GetIamPolicyAsync(String, CallSettings)
public virtual Task<Policy> GetIamPolicyAsync(string resource, CallSettings callSettings = null)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
resource | String REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Policy> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = await bigtableInstanceAdminClient.GetIamPolicyAsync(resource);
GetIamPolicyAsync(String, CancellationToken)
public virtual Task<Policy> GetIamPolicyAsync(string resource, CancellationToken cancellationToken)
Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.
Name | Description |
resource | String REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Policy> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string resource = "a/wildcard/resource";
// Make the request
Policy response = await bigtableInstanceAdminClient.GetIamPolicyAsync(resource);
GetInstance(GetInstanceRequest, CallSettings)
public virtual Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)
Gets information about an instance.
Name | Description |
request | GetInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Instance | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
GetInstanceRequest request = new GetInstanceRequest
{
InstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
Instance response = bigtableInstanceAdminClient.GetInstance(request);
GetInstance(InstanceName, CallSettings)
public virtual Instance GetInstance(InstanceName name, CallSettings callSettings = null)
Gets information about an instance.
Name | Description |
name | InstanceName Required. The unique name of the requested instance. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Instance | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
InstanceName name = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
Instance response = bigtableInstanceAdminClient.GetInstance(name);
GetInstance(String, CallSettings)
public virtual Instance GetInstance(string name, CallSettings callSettings = null)
Gets information about an instance.
Name | Description |
name | String Required. The unique name of the requested instance. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Instance | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
Instance response = bigtableInstanceAdminClient.GetInstance(name);
GetInstanceAsync(GetInstanceRequest, CallSettings)
public virtual Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)
Gets information about an instance.
Name | Description |
request | GetInstanceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Instance> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetInstanceRequest request = new GetInstanceRequest
{
InstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
Instance response = await bigtableInstanceAdminClient.GetInstanceAsync(request);
GetInstanceAsync(GetInstanceRequest, CancellationToken)
public virtual Task<Instance> GetInstanceAsync(GetInstanceRequest request, CancellationToken cancellationToken)
Gets information about an instance.
Name | Description |
request | GetInstanceRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Instance> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
GetInstanceRequest request = new GetInstanceRequest
{
InstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
Instance response = await bigtableInstanceAdminClient.GetInstanceAsync(request);
GetInstanceAsync(InstanceName, CallSettings)
public virtual Task<Instance> GetInstanceAsync(InstanceName name, CallSettings callSettings = null)
Gets information about an instance.
Name | Description |
name | InstanceName Required. The unique name of the requested instance. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Instance> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName name = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
Instance response = await bigtableInstanceAdminClient.GetInstanceAsync(name);
GetInstanceAsync(InstanceName, CancellationToken)
public virtual Task<Instance> GetInstanceAsync(InstanceName name, CancellationToken cancellationToken)
Gets information about an instance.
Name | Description |
name | InstanceName Required. The unique name of the requested instance. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Instance> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName name = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
Instance response = await bigtableInstanceAdminClient.GetInstanceAsync(name);
GetInstanceAsync(String, CallSettings)
public virtual Task<Instance> GetInstanceAsync(string name, CallSettings callSettings = null)
Gets information about an instance.
Name | Description |
name | String Required. The unique name of the requested instance. Values are of the form
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Instance> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
Instance response = await bigtableInstanceAdminClient.GetInstanceAsync(name);
GetInstanceAsync(String, CancellationToken)
public virtual Task<Instance> GetInstanceAsync(string name, CancellationToken cancellationToken)
Gets information about an instance.
Name | Description |
name | String Required. The unique name of the requested instance. Values are of the form
|
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Type | Description |
Task<Instance> | A Task containing the RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
Instance response = await bigtableInstanceAdminClient.GetInstanceAsync(name);
ListAppProfiles(ListAppProfilesRequest, CallSettings)
public virtual PagedEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfiles(ListAppProfilesRequest request, CallSettings callSettings = null)
Lists information about app profiles in an instance.
Name | Description |
request | ListAppProfilesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
PagedEnumerable<ListAppProfilesResponse, AppProfile> | A pageable sequence of AppProfile resources. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
ListAppProfilesRequest request = new ListAppProfilesRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
PagedEnumerable<ListAppProfilesResponse, AppProfile> response = bigtableInstanceAdminClient.ListAppProfiles(request);
// Iterate over all response items, lazily performing RPCs as required
foreach (AppProfile item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAppProfilesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AppProfile item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AppProfile> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AppProfile item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAppProfiles(InstanceName, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfiles(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists information about app profiles in an instance.
Name | Description |
parent | InstanceName Required. The unique name of the instance for which a list of app profiles is
requested. Values are of the form
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
PagedEnumerable<ListAppProfilesResponse, AppProfile> | A pageable sequence of AppProfile resources. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
PagedEnumerable<ListAppProfilesResponse, AppProfile> response = bigtableInstanceAdminClient.ListAppProfiles(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AppProfile item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAppProfilesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AppProfile item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AppProfile> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AppProfile item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAppProfiles(String, String, Nullable<Int32>, CallSettings)
public virtual PagedEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfiles(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists information about app profiles in an instance.
Name | Description |
parent | String Required. The unique name of the instance for which a list of app profiles is
requested. Values are of the form
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
PagedEnumerable<ListAppProfilesResponse, AppProfile> | A pageable sequence of AppProfile resources. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
PagedEnumerable<ListAppProfilesResponse, AppProfile> response = bigtableInstanceAdminClient.ListAppProfiles(parent);
// Iterate over all response items, lazily performing RPCs as required
foreach (AppProfile item in response)
{
// Do something with each item
Console.WriteLine(item);
}
// Or iterate over pages (of server-defined size), performing one RPC per page
foreach (ListAppProfilesResponse page in response.AsRawResponses())
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AppProfile item in page)
{
// Do something with each item
Console.WriteLine(item);
}
}
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AppProfile> singlePage = response.ReadPage(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AppProfile item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAppProfilesAsync(ListAppProfilesRequest, CallSettings)
public virtual PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfilesAsync(ListAppProfilesRequest request, CallSettings callSettings = null)
Lists information about app profiles in an instance.
Name | Description |
request | ListAppProfilesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> | A pageable asynchronous sequence of AppProfile resources. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
ListAppProfilesRequest request = new ListAppProfilesRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
};
// Make the request
PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> response = bigtableInstanceAdminClient.ListAppProfilesAsync(request);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AppProfile item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAppProfilesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AppProfile item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AppProfile> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AppProfile item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAppProfilesAsync(InstanceName, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfilesAsync(InstanceName parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists information about app profiles in an instance.
Name | Description |
parent | InstanceName Required. The unique name of the instance for which a list of app profiles is
requested. Values are of the form
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> | A pageable asynchronous sequence of AppProfile resources. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> response = bigtableInstanceAdminClient.ListAppProfilesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AppProfile item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAppProfilesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AppProfile item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AppProfile> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AppProfile item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListAppProfilesAsync(String, String, Nullable<Int32>, CallSettings)
public virtual PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> ListAppProfilesAsync(string parent, string pageToken = null, int? pageSize = null, CallSettings callSettings = null)
Lists information about app profiles in an instance.
Name | Description |
parent | String Required. The unique name of the instance for which a list of app profiles is
requested. Values are of the form
|
pageToken | String The token returned from the previous request. A value of |
pageSize | Nullable<Int32> The size of page to request. The response will not be larger than this, but may be smaller. A value of
|
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> | A pageable asynchronous sequence of AppProfile resources. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
PagedAsyncEnumerable<ListAppProfilesResponse, AppProfile> response = bigtableInstanceAdminClient.ListAppProfilesAsync(parent);
// Iterate over all response items, lazily performing RPCs as required
await response.ForEachAsync((AppProfile item) =>
{
// Do something with each item
Console.WriteLine(item);
});
// Or iterate over pages (of server-defined size), performing one RPC per page
await response.AsRawResponses().ForEachAsync((ListAppProfilesResponse page) =>
{
// Do something with each page of items
Console.WriteLine("A page of results:");
foreach (AppProfile item in page)
{
// Do something with each item
Console.WriteLine(item);
}
});
// Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
int pageSize = 10;
Page<AppProfile> singlePage = await response.ReadPageAsync(pageSize);
// Do something with the page of items
Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
foreach (AppProfile item in singlePage)
{
// Do something with each item
Console.WriteLine(item);
}
// Store the pageToken, for when the next page is required.
string nextPageToken = singlePage.NextPageToken;
ListClusters(ListClustersRequest, CallSettings)
public virtual ListClustersResponse ListClusters(ListClustersRequest request, CallSettings callSettings = null)
Lists information about clusters in an instance.
Name | Description |
request | ListClustersRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
ListClustersResponse | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
ListClustersRequest request = new ListClustersRequest
{
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
PageToken = "",
};
// Make the request
ListClustersResponse response = bigtableInstanceAdminClient.ListClusters(request);
ListClusters(InstanceName, CallSettings)
public virtual ListClustersResponse ListClusters(InstanceName parent, CallSettings callSettings = null)
Lists information about clusters in an instance.
Name | Description |
parent | InstanceName Required. The unique name of the instance for which a list of clusters is requested.
Values are of the form |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
ListClustersResponse | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
InstanceName parent = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]");
// Make the request
ListClustersResponse response = bigtableInstanceAdminClient.ListClusters(parent);
ListClusters(String, CallSettings)
public virtual ListClustersResponse ListClusters(string parent, CallSettings callSettings = null)
Lists information about clusters in an instance.
Name | Description |
parent | String Required. The unique name of the instance for which a list of clusters is requested.
Values are of the form |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
ListClustersResponse | The RPC response. |
// Create client
BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create();
// Initialize request argument(s)
string parent = "projects/[PROJECT]/instances/[INSTANCE]";
// Make the request
ListClustersResponse response = bigtableInstanceAdminClient.ListClusters(parent);