/// <summary>Snippet for UpdateInstance</summary> public void UpdateInstance() { // Snippet: UpdateInstance(InstanceName,string,Instance.Types.Type,CallSettings) // Create client BigtableInstanceAdminClient bigtableInstanceAdminClient = BigtableInstanceAdminClient.Create(); // Initialize request argument(s) InstanceName name = new InstanceName("[PROJECT]", "[INSTANCE]"); string displayName = ""; Instance.Types.Type type = Instance.Types.Type.Unspecified; // Make the request Instance response = bigtableInstanceAdminClient.UpdateInstance(name, displayName, type); // End snippet }
/// <summary>Snippet for UpdateInstanceAsync</summary> public async Task UpdateInstanceAsync() { // Snippet: UpdateInstanceAsync(InstanceName,string,Instance.Types.Type,CallSettings) // Additional: UpdateInstanceAsync(InstanceName,string,Instance.Types.Type,CancellationToken) // Create client BigtableInstanceAdminClient bigtableInstanceAdminClient = await BigtableInstanceAdminClient.CreateAsync(); // Initialize request argument(s) InstanceName name = new InstanceName("[PROJECT]", "[INSTANCE]"); string displayName = ""; Instance.Types.Type type = Instance.Types.Type.Unspecified; // Make the request Instance response = await bigtableInstanceAdminClient.UpdateInstanceAsync(name, displayName, type); // End snippet }