Skip to content

Commit

Permalink
feat(bigtableadmin): update the api
Browse files Browse the repository at this point in the history
#### bigtableadmin:v2

The following keys were added:
- schemas.AutomatedBackupPolicy (Total Keys: 6)
- schemas.Modification.properties.updateMask (Total Keys: 2)
- schemas.Table.properties.automatedBackupPolicy.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Mar 12, 2024
1 parent 9b9d52a commit 6a33125
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
25 changes: 25 additions & 0 deletions docs/dyn/bigtableadmin_v2.projects.instances.tables.html
Expand Up @@ -170,6 +170,10 @@ <h3>Method Details</h3>
},
],
&quot;table&quot;: { # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster. # Required. The Table to create.
&quot;automatedBackupPolicy&quot;: { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.
&quot;frequency&quot;: &quot;A String&quot;, # Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
},
&quot;changeStreamConfig&quot;: { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.
},
Expand Down Expand Up @@ -248,6 +252,10 @@ <h3>Method Details</h3>
An object of the form:

{ # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
&quot;automatedBackupPolicy&quot;: { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.
&quot;frequency&quot;: &quot;A String&quot;, # Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
},
&quot;changeStreamConfig&quot;: { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.
},
Expand Down Expand Up @@ -409,6 +417,10 @@ <h3>Method Details</h3>
An object of the form:

{ # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
&quot;automatedBackupPolicy&quot;: { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.
&quot;frequency&quot;: &quot;A String&quot;, # Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
},
&quot;changeStreamConfig&quot;: { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.
},
Expand Down Expand Up @@ -562,6 +574,10 @@ <h3>Method Details</h3>
&quot;nextPageToken&quot;: &quot;A String&quot;, # Set if not all tables could be returned in a single response. Pass this value to `page_token` in another request to get the next page of results.
&quot;tables&quot;: [ # The tables present in the requested instance.
{ # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
&quot;automatedBackupPolicy&quot;: { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.
&quot;frequency&quot;: &quot;A String&quot;, # Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
},
&quot;changeStreamConfig&quot;: { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.
},
Expand Down Expand Up @@ -703,6 +719,7 @@ <h3>Method Details</h3>
&quot;logicalDataBytes&quot;: &quot;A String&quot;, # How much space the data in the column family occupies. This is roughly how many bytes would be needed to read the contents of the entire column family (e.g. by streaming all contents out).
},
},
&quot;updateMask&quot;: &quot;A String&quot;, # Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update` mod should be updated, ignored for other modification types. If unset or empty, we treat it as updating `gc_rule` to be backward compatible.
},
],
}
Expand All @@ -716,6 +733,10 @@ <h3>Method Details</h3>
An object of the form:

{ # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
&quot;automatedBackupPolicy&quot;: { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.
&quot;frequency&quot;: &quot;A String&quot;, # Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
},
&quot;changeStreamConfig&quot;: { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.
},
Expand Down Expand Up @@ -794,6 +815,10 @@ <h3>Method Details</h3>
The object takes the form of:

{ # A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.
&quot;automatedBackupPolicy&quot;: { # Defines an automated backup policy for a table # If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled.
&quot;frequency&quot;: &quot;A String&quot;, # Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # Required. How long the automated backups should be retained. The only supported value at this time is 3 days.
},
&quot;changeStreamConfig&quot;: { # Change stream configuration. # If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained.
&quot;retentionPeriod&quot;: &quot;A String&quot;, # How long the change stream should be retained. Change stream data older than the retention period will not be returned when reading the change stream from the table. Values must be at least 1 day and at most 7 days, and will be truncated to microsecond granularity.
},
Expand Down
28 changes: 27 additions & 1 deletion googleapiclient/discovery_cache/documents/bigtableadmin.v2.json
Expand Up @@ -1875,7 +1875,7 @@
}
}
},
"revision": "20240221",
"revision": "20240225",
"rootUrl": "https://bigtableadmin.googleapis.com/",
"schemas": {
"AppProfile": {
Expand Down Expand Up @@ -1974,6 +1974,23 @@
},
"type": "object"
},
"AutomatedBackupPolicy": {
"description": "Defines an automated backup policy for a table",
"id": "AutomatedBackupPolicy",
"properties": {
"frequency": {
"description": "Required. How frequently automated backups should occur. The only supported value at this time is 24 hours.",
"format": "google-duration",
"type": "string"
},
"retentionPeriod": {
"description": "Required. How long the automated backups should be retained. The only supported value at this time is 3 days.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"AutoscalingLimits": {
"description": "Limits for the number of nodes a Cluster can autoscale up/down to.",
"id": "AutoscalingLimits",
Expand Down Expand Up @@ -2990,6 +3007,11 @@
"update": {
"$ref": "ColumnFamily",
"description": "Update an existing column family to the specified schema, or fail if no column family exists with the given ID."
},
"updateMask": {
"description": "Optional. A mask specifying which fields (e.g. `gc_rule`) in the `update` mod should be updated, ignored for other modification types. If unset or empty, we treat it as updating `gc_rule` to be backward compatible.",
"format": "google-fieldmask",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -3351,6 +3373,10 @@
"description": "A collection of user data indexed by row, column, and timestamp. Each table is served using the resources of its parent cluster.",
"id": "Table",
"properties": {
"automatedBackupPolicy": {
"$ref": "AutomatedBackupPolicy",
"description": "If specified, automated backups are enabled for this table. Otherwise, automated backups are disabled."
},
"changeStreamConfig": {
"$ref": "ChangeStreamConfig",
"description": "If specified, enable the change stream on this table. Otherwise, the change stream is disabled and the change stream is not retained."
Expand Down

0 comments on commit 6a33125

Please sign in to comment.