|
| 1 | +/* |
| 2 | + * Copyright 2026 Google LLC |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | +package com.google.cloud.bigtable.admin.v2; |
| 17 | + |
| 18 | +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub; |
| 19 | +import java.io.IOException; |
| 20 | + |
| 21 | +/** |
| 22 | + * Modern Cloud Bigtable Instance Admin Client. |
| 23 | + * |
| 24 | + * <p>This client extends the {@link BaseBigtableInstanceAdminClient} to provide a simplified and |
| 25 | + * enhanced API surface for managing Cloud Bigtable instances and clusters. |
| 26 | + */ |
| 27 | +public class BigtableInstanceAdminClientV2 extends BaseBigtableInstanceAdminClient { |
| 28 | + |
| 29 | + protected BigtableInstanceAdminClientV2(BaseBigtableInstanceAdminSettings settings) |
| 30 | + throws IOException { |
| 31 | + super(settings); |
| 32 | + } |
| 33 | + |
| 34 | + protected BigtableInstanceAdminClientV2(BigtableInstanceAdminStub stub) { |
| 35 | + super(stub); |
| 36 | + } |
| 37 | + |
| 38 | + /** Constructs an instance of BigtableInstanceAdminClientV2 with the given settings. */ |
| 39 | + public static final BigtableInstanceAdminClientV2 create( |
| 40 | + BaseBigtableInstanceAdminSettings settings) throws IOException { |
| 41 | + return new BigtableInstanceAdminClientV2(settings); |
| 42 | + } |
| 43 | +} |
0 commit comments