diff --git a/clients/google-api-services-bigtableadmin/v2/2.0.0/README.md b/clients/google-api-services-bigtableadmin/v2/2.0.0/README.md index 21ce3dfea90..4eb502d2680 100644 --- a/clients/google-api-services-bigtableadmin/v2/2.0.0/README.md +++ b/clients/google-api-services-bigtableadmin/v2/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-bigtableadmin - v2-rev20260913-2.0.0 + v2-rev20261007-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20260913-2.0.0' + implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20261007-2.0.0' } ``` diff --git a/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/AutomatedBackupPolicy.java b/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/AutomatedBackupPolicy.java index a7e29a5c0c0..745c595da8b 100644 --- a/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/AutomatedBackupPolicy.java +++ b/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/AutomatedBackupPolicy.java @@ -30,6 +30,14 @@ @SuppressWarnings("javadoc") public final class AutomatedBackupPolicy extends com.google.api.client.json.GenericJson { + /** + * Optional. If `true`, automated backups are explicitly disabled on this table. This allows users + * to opt out of default enablement. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.Boolean disabled; + /** * How frequently automated backups should occur. The only supported value at this time is 24 * hours. An undefined frequency is treated as 24 hours. @@ -38,6 +46,16 @@ public final class AutomatedBackupPolicy extends com.google.api.client.json.Gene @com.google.api.client.util.Key private String frequency; + /** + * Optional. The amount of time that the automated backups remain hot. If specified, the backups + * created by this policy are `HOT` backups. If not specified, the backups are `STANDARD` backups. + * The value must be at least 24 hours and at most 10 days, and can't exceed the policy's + * `retention_period`. Only SSD instances support `HOT` automated backups. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String keepHotDuration; + /** * Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If * empty, automated backups will be created in all zones of the instance. Locations are in the @@ -56,6 +74,25 @@ public final class AutomatedBackupPolicy extends com.google.api.client.json.Gene @com.google.api.client.util.Key private String retentionPeriod; + /** + * Optional. If `true`, automated backups are explicitly disabled on this table. This allows users + * to opt out of default enablement. + * @return value or {@code null} for none + */ + public java.lang.Boolean getDisabled() { + return disabled; + } + + /** + * Optional. If `true`, automated backups are explicitly disabled on this table. This allows users + * to opt out of default enablement. + * @param disabled disabled or {@code null} for none + */ + public AutomatedBackupPolicy setDisabled(java.lang.Boolean disabled) { + this.disabled = disabled; + return this; + } + /** * How frequently automated backups should occur. The only supported value at this time is 24 * hours. An undefined frequency is treated as 24 hours. @@ -75,6 +112,29 @@ public AutomatedBackupPolicy setFrequency(String frequency) { return this; } + /** + * Optional. The amount of time that the automated backups remain hot. If specified, the backups + * created by this policy are `HOT` backups. If not specified, the backups are `STANDARD` backups. + * The value must be at least 24 hours and at most 10 days, and can't exceed the policy's + * `retention_period`. Only SSD instances support `HOT` automated backups. + * @return value or {@code null} for none + */ + public String getKeepHotDuration() { + return keepHotDuration; + } + + /** + * Optional. The amount of time that the automated backups remain hot. If specified, the backups + * created by this policy are `HOT` backups. If not specified, the backups are `STANDARD` backups. + * The value must be at least 24 hours and at most 10 days, and can't exceed the policy's + * `retention_period`. Only SSD instances support `HOT` automated backups. + * @param keepHotDuration keepHotDuration or {@code null} for none + */ + public AutomatedBackupPolicy setKeepHotDuration(String keepHotDuration) { + this.keepHotDuration = keepHotDuration; + return this; + } + /** * Optional. A list of Cloud Bigtable zones where automated backups are allowed to be created. If * empty, automated backups will be created in all zones of the instance. Locations are in the diff --git a/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/RestoreTableRequest.java b/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/RestoreTableRequest.java index 14941aa7d58..f104648704d 100644 --- a/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/RestoreTableRequest.java +++ b/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/RestoreTableRequest.java @@ -38,6 +38,14 @@ public final class RestoreTableRequest extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String backup; + /** + * Optional. Properties of the table to be restored. Only the fields specified in update_mask will + * be used to set the restored table's properties. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Table table; + /** * Required. The id of the table to create and restore to. This table must not already exist. The * `table_id` appended to `parent` forms the full table name of the form @@ -47,6 +55,19 @@ public final class RestoreTableRequest extends com.google.api.client.json.Generi @com.google.api.client.util.Key private java.lang.String tableId; + /** + * Optional. The list of fields to set on the new table. A mask specifying which fields (e.g. + * `deletion_protection`) in the `table` field should be set. This mask is relative to the `table` + * field, not to the request message. The wildcard (*) path is currently not supported. Currently + * RestoreTable only supports the following fields for modification: * `deletion_protection`: + * Defaults to `false` if not set. * `automated_backup_policy`: Defaults to no automated backup + * policy if not set. Output-only fields in the mask will be ignored. If any other field not + * listed above is included in `update_mask`, it will result in an INVALID_ARGUMENT error. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateMask; + /** * Name of the backup from which to restore. Values are of the form * `projects//instances//clusters//backups/`. @@ -66,6 +87,25 @@ public RestoreTableRequest setBackup(java.lang.String backup) { return this; } + /** + * Optional. Properties of the table to be restored. Only the fields specified in update_mask will + * be used to set the restored table's properties. + * @return value or {@code null} for none + */ + public Table getTable() { + return table; + } + + /** + * Optional. Properties of the table to be restored. Only the fields specified in update_mask will + * be used to set the restored table's properties. + * @param table table or {@code null} for none + */ + public RestoreTableRequest setTable(Table table) { + this.table = table; + return this; + } + /** * Required. The id of the table to create and restore to. This table must not already exist. The * `table_id` appended to `parent` forms the full table name of the form @@ -87,6 +127,35 @@ public RestoreTableRequest setTableId(java.lang.String tableId) { return this; } + /** + * Optional. The list of fields to set on the new table. A mask specifying which fields (e.g. + * `deletion_protection`) in the `table` field should be set. This mask is relative to the `table` + * field, not to the request message. The wildcard (*) path is currently not supported. Currently + * RestoreTable only supports the following fields for modification: * `deletion_protection`: + * Defaults to `false` if not set. * `automated_backup_policy`: Defaults to no automated backup + * policy if not set. Output-only fields in the mask will be ignored. If any other field not + * listed above is included in `update_mask`, it will result in an INVALID_ARGUMENT error. + * @return value or {@code null} for none + */ + public String getUpdateMask() { + return updateMask; + } + + /** + * Optional. The list of fields to set on the new table. A mask specifying which fields (e.g. + * `deletion_protection`) in the `table` field should be set. This mask is relative to the `table` + * field, not to the request message. The wildcard (*) path is currently not supported. Currently + * RestoreTable only supports the following fields for modification: * `deletion_protection`: + * Defaults to `false` if not set. * `automated_backup_policy`: Defaults to no automated backup + * policy if not set. Output-only fields in the mask will be ignored. If any other field not + * listed above is included in `update_mask`, it will result in an INVALID_ARGUMENT error. + * @param updateMask updateMask or {@code null} for none + */ + public RestoreTableRequest setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + @Override public RestoreTableRequest set(String fieldName, Object value) { return (RestoreTableRequest) super.set(fieldName, value); diff --git a/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/Table.java b/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/Table.java index d427263be15..96f85e3da97 100644 --- a/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/Table.java +++ b/clients/google-api-services-bigtableadmin/v2/2.0.0/com/google/api/services/bigtableadmin/v2/model/Table.java @@ -87,6 +87,15 @@ public final class Table extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.Boolean deletionProtection; + /** + * Output only. The effective automated backup policy applied to the table. This represents the + * policy actually in effect, which may be a system-default policy if the user has not explicitly + * configured one. Views: `SCHEMA_VIEW`, `FULL`. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private AutomatedBackupPolicy effectiveAutomatedBackupPolicy; + /** * Immutable. The granularity at which timestamps are stored in this table. Timestamps not * matching the granularity will be rejected. If unspecified at creation time, the value will be @@ -267,6 +276,27 @@ public Table setDeletionProtection(java.lang.Boolean deletionProtection) { return this; } + /** + * Output only. The effective automated backup policy applied to the table. This represents the + * policy actually in effect, which may be a system-default policy if the user has not explicitly + * configured one. Views: `SCHEMA_VIEW`, `FULL`. + * @return value or {@code null} for none + */ + public AutomatedBackupPolicy getEffectiveAutomatedBackupPolicy() { + return effectiveAutomatedBackupPolicy; + } + + /** + * Output only. The effective automated backup policy applied to the table. This represents the + * policy actually in effect, which may be a system-default policy if the user has not explicitly + * configured one. Views: `SCHEMA_VIEW`, `FULL`. + * @param effectiveAutomatedBackupPolicy effectiveAutomatedBackupPolicy or {@code null} for none + */ + public Table setEffectiveAutomatedBackupPolicy(AutomatedBackupPolicy effectiveAutomatedBackupPolicy) { + this.effectiveAutomatedBackupPolicy = effectiveAutomatedBackupPolicy; + return this; + } + /** * Immutable. The granularity at which timestamps are stored in this table. Timestamps not * matching the granularity will be rejected. If unspecified at creation time, the value will be diff --git a/clients/google-api-services-bigtableadmin/v2/2.0.0/pom.xml b/clients/google-api-services-bigtableadmin/v2/2.0.0/pom.xml index 6cec9c81fc3..554c2c28802 100644 --- a/clients/google-api-services-bigtableadmin/v2/2.0.0/pom.xml +++ b/clients/google-api-services-bigtableadmin/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-bigtableadmin - v2-rev20260913-2.0.0 - Cloud Bigtable Admin API v2-rev20260913-2.0.0 + v2-rev20261007-2.0.0 + Cloud Bigtable Admin API v2-rev20261007-2.0.0 jar 2011 diff --git a/clients/google-api-services-bigtableadmin/v2/README.md b/clients/google-api-services-bigtableadmin/v2/README.md index 21ce3dfea90..4eb502d2680 100644 --- a/clients/google-api-services-bigtableadmin/v2/README.md +++ b/clients/google-api-services-bigtableadmin/v2/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-bigtableadmin - v2-rev20260913-2.0.0 + v2-rev20261007-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20260913-2.0.0' + implementation 'com.google.apis:google-api-services-bigtableadmin:v2-rev20261007-2.0.0' } ```