Skip to content

Commit 734a681

Browse files
feat(bigtableadmin): update the api
#### bigtableadmin:v2 The following keys were added: - schemas.LogicalView.properties.deletionProtection.type (Total Keys: 1)
1 parent 7eea58f commit 734a681

File tree

3 files changed

+17
-9
lines changed

3 files changed

+17
-9
lines changed

docs/dyn/bigtableadmin_v2.projects.instances.appProfiles.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h3>Method Details</h3>
123123
&quot;rowAffinity&quot;: { # If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group. # Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
124124
},
125125
},
126-
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
126+
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
127127
&quot;priority&quot;: &quot;A String&quot;, # This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
128128
&quot;singleClusterRouting&quot;: { # Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. # Use a single-cluster routing policy.
129129
&quot;allowTransactionalWrites&quot;: True or False, # Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.
@@ -157,7 +157,7 @@ <h3>Method Details</h3>
157157
&quot;rowAffinity&quot;: { # If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group. # Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
158158
},
159159
},
160-
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
160+
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
161161
&quot;priority&quot;: &quot;A String&quot;, # This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
162162
&quot;singleClusterRouting&quot;: { # Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. # Use a single-cluster routing policy.
163163
&quot;allowTransactionalWrites&quot;: True or False, # Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.
@@ -215,7 +215,7 @@ <h3>Method Details</h3>
215215
&quot;rowAffinity&quot;: { # If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group. # Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
216216
},
217217
},
218-
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
218+
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
219219
&quot;priority&quot;: &quot;A String&quot;, # This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
220220
&quot;singleClusterRouting&quot;: { # Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. # Use a single-cluster routing policy.
221221
&quot;allowTransactionalWrites&quot;: True or False, # Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.
@@ -258,7 +258,7 @@ <h3>Method Details</h3>
258258
&quot;rowAffinity&quot;: { # If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group. # Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
259259
},
260260
},
261-
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
261+
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
262262
&quot;priority&quot;: &quot;A String&quot;, # This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
263263
&quot;singleClusterRouting&quot;: { # Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. # Use a single-cluster routing policy.
264264
&quot;allowTransactionalWrites&quot;: True or False, # Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.
@@ -295,7 +295,7 @@ <h3>Method Details</h3>
295295
<pre>Updates an app profile within an instance.
296296

297297
Args:
298-
name: string, The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`. (required)
298+
name: string, The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`. (required)
299299
body: object, The request body.
300300
The object takes the form of:
301301

@@ -312,7 +312,7 @@ <h3>Method Details</h3>
312312
&quot;rowAffinity&quot;: { # If enabled, Bigtable will route the request based on the row key of the request, rather than randomly. Instead, each row key will be assigned to a cluster, and will stick to that cluster. If clusters are added or removed, then this may affect which row keys stick to which clusters. To avoid this, users can use a cluster group to specify which clusters are to be used. In this case, new clusters that are not a part of the cluster group will not be routed to, and routing will be unaffected by the new cluster. Moreover, clusters specified in the cluster group cannot be deleted unless removed from the cluster group. # Row affinity sticky routing based on the row key of the request. Requests that span multiple rows are routed non-deterministically.
313313
},
314314
},
315-
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
315+
&quot;name&quot;: &quot;A String&quot;, # The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.
316316
&quot;priority&quot;: &quot;A String&quot;, # This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
317317
&quot;singleClusterRouting&quot;: { # Unconditionally routes all read/write requests to a specific cluster. This option preserves read-your-writes consistency but does not improve availability. # Use a single-cluster routing policy.
318318
&quot;allowTransactionalWrites&quot;: True or False, # Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are allowed by this app profile. It is unsafe to send these requests to the same table/row/column in multiple clusters.

docs/dyn/bigtableadmin_v2.projects.instances.logicalViews.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ <h3>Method Details</h3>
120120
The object takes the form of:
121121

122122
{ # A SQL logical view object that can be referenced in SQL queries.
123+
&quot;deletionProtection&quot;: True or False, # Optional. Set to true to make the LogicalView protected against deletion.
123124
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
124125
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
125126
&quot;query&quot;: &quot;A String&quot;, # Required. The logical view&#x27;s select query.
@@ -189,6 +190,7 @@ <h3>Method Details</h3>
189190
An object of the form:
190191

191192
{ # A SQL logical view object that can be referenced in SQL queries.
193+
&quot;deletionProtection&quot;: True or False, # Optional. Set to true to make the LogicalView protected against deletion.
192194
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
193195
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
194196
&quot;query&quot;: &quot;A String&quot;, # Required. The logical view&#x27;s select query.
@@ -270,6 +272,7 @@ <h3>Method Details</h3>
270272
{ # Response message for BigtableInstanceAdmin.ListLogicalViews.
271273
&quot;logicalViews&quot;: [ # The list of requested logical views.
272274
{ # A SQL logical view object that can be referenced in SQL queries.
275+
&quot;deletionProtection&quot;: True or False, # Optional. Set to true to make the LogicalView protected against deletion.
273276
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
274277
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
275278
&quot;query&quot;: &quot;A String&quot;, # Required. The logical view&#x27;s select query.
@@ -303,6 +306,7 @@ <h3>Method Details</h3>
303306
The object takes the form of:
304307

305308
{ # A SQL logical view object that can be referenced in SQL queries.
309+
&quot;deletionProtection&quot;: True or False, # Optional. Set to true to make the LogicalView protected against deletion.
306310
&quot;etag&quot;: &quot;A String&quot;, # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
307311
&quot;name&quot;: &quot;A String&quot;, # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
308312
&quot;query&quot;: &quot;A String&quot;, # Required. The logical view&#x27;s select query.

googleapiclient/discovery_cache/documents/bigtableadmin.v2.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@
695695
"type": "boolean"
696696
},
697697
"name": {
698-
"description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
698+
"description": "The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
699699
"location": "path",
700700
"pattern": "^projects/[^/]+/instances/[^/]+/appProfiles/[^/]+$",
701701
"required": true,
@@ -2777,7 +2777,7 @@
27772777
}
27782778
}
27792779
},
2780-
"revision": "20250410",
2780+
"revision": "20250430",
27812781
"rootUrl": "https://bigtableadmin.googleapis.com/",
27822782
"schemas": {
27832783
"AppProfile": {
@@ -2801,7 +2801,7 @@
28012801
"description": "Use a multi-cluster routing policy."
28022802
},
28032803
"name": {
2804-
"description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
2804+
"description": "The unique name of the app profile, up to 50 characters long. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
28052805
"type": "string"
28062806
},
28072807
"priority": {
@@ -4541,6 +4541,10 @@
45414541
"description": "A SQL logical view object that can be referenced in SQL queries.",
45424542
"id": "LogicalView",
45434543
"properties": {
4544+
"deletionProtection": {
4545+
"description": "Optional. Set to true to make the LogicalView protected against deletion.",
4546+
"type": "boolean"
4547+
},
45444548
"etag": {
45454549
"description": "Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.",
45464550
"type": "string"

0 commit comments

Comments
 (0)