@@ -185,7 +185,7 @@ public final OperationsClient getOperationsClient() {
185
185
* @param clusters Required. The clusters to be created within the instance, mapped by desired
186
186
* cluster ID, e.g., just `mycluster` rather than
187
187
* `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly`
188
- * must be left blank. Currently, at most four clusters can be specified.
188
+ * must be left blank.
189
189
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
190
190
*/
191
191
public final OperationFuture <Instance , CreateInstanceMetadata > createInstanceAsync (
@@ -239,7 +239,7 @@ public final OperationFuture<Instance, CreateInstanceMetadata> createInstanceAsy
239
239
* @param clusters Required. The clusters to be created within the instance, mapped by desired
240
240
* cluster ID, e.g., just `mycluster` rather than
241
241
* `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly`
242
- * must be left blank. Currently, at most four clusters can be specified.
242
+ * must be left blank.
243
243
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
244
244
*/
245
245
public final OperationFuture <Instance , CreateInstanceMetadata > createInstanceAsync (
@@ -623,6 +623,7 @@ public final UnaryCallable<ListInstancesRequest, ListInstancesResponse> listInst
623
623
* .putAllLabels(new HashMap<String, String>())
624
624
* .setCreateTime(Timestamp.newBuilder().build())
625
625
* .setSatisfiesPzs(true)
626
+ * .setSatisfiesPzi(true)
626
627
* .build();
627
628
* Instance response = baseBigtableInstanceAdminClient.updateInstance(request);
628
629
* }
@@ -657,6 +658,7 @@ public final Instance updateInstance(Instance request) {
657
658
* .putAllLabels(new HashMap<String, String>())
658
659
* .setCreateTime(Timestamp.newBuilder().build())
659
660
* .setSatisfiesPzs(true)
661
+ * .setSatisfiesPzi(true)
660
662
* .build();
661
663
* ApiFuture<Instance> future =
662
664
* baseBigtableInstanceAdminClient.updateInstanceCallable().futureCall(request);
@@ -2385,6 +2387,74 @@ public final void deleteAppProfile(String name) {
2385
2387
deleteAppProfile (request );
2386
2388
}
2387
2389
2390
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2391
+ /**
2392
+ * Deletes an app profile from an instance.
2393
+ *
2394
+ * <p>Sample code:
2395
+ *
2396
+ * <pre>{@code
2397
+ * // This snippet has been automatically generated and should be regarded as a code template only.
2398
+ * // It will require modifications to work:
2399
+ * // - It may require correct/in-range values for request initialization.
2400
+ * // - It may require specifying regional endpoints when creating the service client as shown in
2401
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2402
+ * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
2403
+ * BaseBigtableInstanceAdminClient.create()) {
2404
+ * AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
2405
+ * boolean ignoreWarnings = true;
2406
+ * baseBigtableInstanceAdminClient.deleteAppProfile(name, ignoreWarnings);
2407
+ * }
2408
+ * }</pre>
2409
+ *
2410
+ * @param name Required. The unique name of the app profile to be deleted. Values are of the form
2411
+ * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
2412
+ * @param ignoreWarnings Required. If true, ignore safety checks when deleting the app profile.
2413
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
2414
+ */
2415
+ public final void deleteAppProfile (AppProfileName name , boolean ignoreWarnings ) {
2416
+ DeleteAppProfileRequest request =
2417
+ DeleteAppProfileRequest .newBuilder ()
2418
+ .setName (name == null ? null : name .toString ())
2419
+ .setIgnoreWarnings (ignoreWarnings )
2420
+ .build ();
2421
+ deleteAppProfile (request );
2422
+ }
2423
+
2424
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
2425
+ /**
2426
+ * Deletes an app profile from an instance.
2427
+ *
2428
+ * <p>Sample code:
2429
+ *
2430
+ * <pre>{@code
2431
+ * // This snippet has been automatically generated and should be regarded as a code template only.
2432
+ * // It will require modifications to work:
2433
+ * // - It may require correct/in-range values for request initialization.
2434
+ * // - It may require specifying regional endpoints when creating the service client as shown in
2435
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
2436
+ * try (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
2437
+ * BaseBigtableInstanceAdminClient.create()) {
2438
+ * String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
2439
+ * boolean ignoreWarnings = true;
2440
+ * baseBigtableInstanceAdminClient.deleteAppProfile(name, ignoreWarnings);
2441
+ * }
2442
+ * }</pre>
2443
+ *
2444
+ * @param name Required. The unique name of the app profile to be deleted. Values are of the form
2445
+ * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
2446
+ * @param ignoreWarnings Required. If true, ignore safety checks when deleting the app profile.
2447
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
2448
+ */
2449
+ public final void deleteAppProfile (String name , boolean ignoreWarnings ) {
2450
+ DeleteAppProfileRequest request =
2451
+ DeleteAppProfileRequest .newBuilder ()
2452
+ .setName (name )
2453
+ .setIgnoreWarnings (ignoreWarnings )
2454
+ .build ();
2455
+ deleteAppProfile (request );
2456
+ }
2457
+
2388
2458
// AUTO-GENERATED DOCUMENTATION AND METHOD.
2389
2459
/**
2390
2460
* Deletes an app profile from an instance.
0 commit comments