Skip to content

Commit b9ff5f2

Browse files
feat(bigtableadmin): update the api
#### bigtableadmin:v2 The following keys were deleted: - schemas.ModifyColumnFamiliesRequest.properties.ignoreWarnings.type (Total Keys: 1) The following keys were added: - schemas.AppProfile.properties.priority (Total Keys: 2) - schemas.AppProfile.properties.standardIsolation.$ref (Total Keys: 1) - schemas.StandardIsolation (Total Keys: 3)
1 parent fec04eb commit b9ff5f2

File tree

3 files changed

+65
-6
lines changed

3 files changed

+65
-6
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,14 @@ <h3>Method Details</h3>
119119
],
120120
},
121121
&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*`.
122+
&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.
122123
&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.
123124
&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.
124125
&quot;clusterId&quot;: &quot;A String&quot;, # The cluster to which read/write requests should be routed.
125126
},
127+
&quot;standardIsolation&quot;: { # Standard options for isolating this app profile&#x27;s traffic from other use cases. # The standard options used for isolating this app profile&#x27;s traffic from other use cases.
128+
&quot;priority&quot;: &quot;A String&quot;, # The priority of requests sent using this app profile.
129+
},
126130
}
127131

128132
appProfileId: string, Required. The ID to be used when referring to the new app profile within its instance, e.g., just `myprofile` rather than `projects/myproject/instances/myinstance/appProfiles/myprofile`.
@@ -144,10 +148,14 @@ <h3>Method Details</h3>
144148
],
145149
},
146150
&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*`.
151+
&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.
147152
&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.
148153
&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.
149154
&quot;clusterId&quot;: &quot;A String&quot;, # The cluster to which read/write requests should be routed.
150155
},
156+
&quot;standardIsolation&quot;: { # Standard options for isolating this app profile&#x27;s traffic from other use cases. # The standard options used for isolating this app profile&#x27;s traffic from other use cases.
157+
&quot;priority&quot;: &quot;A String&quot;, # The priority of requests sent using this app profile.
158+
},
151159
}</pre>
152160
</div>
153161

@@ -193,10 +201,14 @@ <h3>Method Details</h3>
193201
],
194202
},
195203
&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*`.
204+
&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.
196205
&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.
197206
&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.
198207
&quot;clusterId&quot;: &quot;A String&quot;, # The cluster to which read/write requests should be routed.
199208
},
209+
&quot;standardIsolation&quot;: { # Standard options for isolating this app profile&#x27;s traffic from other use cases. # The standard options used for isolating this app profile&#x27;s traffic from other use cases.
210+
&quot;priority&quot;: &quot;A String&quot;, # The priority of requests sent using this app profile.
211+
},
200212
}</pre>
201213
</div>
202214

@@ -227,10 +239,14 @@ <h3>Method Details</h3>
227239
],
228240
},
229241
&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*`.
242+
&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.
230243
&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.
231244
&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.
232245
&quot;clusterId&quot;: &quot;A String&quot;, # The cluster to which read/write requests should be routed.
233246
},
247+
&quot;standardIsolation&quot;: { # Standard options for isolating this app profile&#x27;s traffic from other use cases. # The standard options used for isolating this app profile&#x27;s traffic from other use cases.
248+
&quot;priority&quot;: &quot;A String&quot;, # The priority of requests sent using this app profile.
249+
},
234250
},
235251
],
236252
&quot;failedLocations&quot;: [ # Locations from which AppProfile information could not be retrieved, due to an outage or some other transient condition. AppProfiles from these locations may be missing from `app_profiles`. Values are of the form `projects//locations/`
@@ -272,10 +288,14 @@ <h3>Method Details</h3>
272288
],
273289
},
274290
&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*`.
291+
&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.
275292
&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.
276293
&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.
277294
&quot;clusterId&quot;: &quot;A String&quot;, # The cluster to which read/write requests should be routed.
278295
},
296+
&quot;standardIsolation&quot;: { # Standard options for isolating this app profile&#x27;s traffic from other use cases. # The standard options used for isolating this app profile&#x27;s traffic from other use cases.
297+
&quot;priority&quot;: &quot;A String&quot;, # The priority of requests sent using this app profile.
298+
},
279299
}
280300

281301
ignoreWarnings: boolean, If true, ignore safety checks when updating the app profile.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,6 @@ <h3>Method Details</h3>
656656
The object takes the form of:
657657

658658
{ # Request message for google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies
659-
&quot;ignoreWarnings&quot;: True or False, # If true, ignore safety checks when modifying the column families.
660659
&quot;modifications&quot;: [ # Required. Modifications to be atomically applied to the specified table&#x27;s families. Entries are applied in order, meaning that earlier modifications can be masked by later ones (in the case of repeated updates to the same family, for example).
661660
{ # A create, update, or delete of a particular column family.
662661
&quot;create&quot;: { # A set of columns within a table which share a common configuration. # Create a new column family with the specified schema, or fail if one already exists with the given ID.

googleapiclient/discovery_cache/documents/bigtableadmin.v2.json

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,7 +1966,7 @@
19661966
}
19671967
}
19681968
},
1969-
"revision": "20231005",
1969+
"revision": "20231013",
19701970
"rootUrl": "https://bigtableadmin.googleapis.com/",
19711971
"schemas": {
19721972
"AppProfile": {
@@ -1989,9 +1989,30 @@
19891989
"description": "The unique name of the app profile. Values are of the form `projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*`.",
19901990
"type": "string"
19911991
},
1992+
"priority": {
1993+
"deprecated": true,
1994+
"description": "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.",
1995+
"enum": [
1996+
"PRIORITY_UNSPECIFIED",
1997+
"PRIORITY_LOW",
1998+
"PRIORITY_MEDIUM",
1999+
"PRIORITY_HIGH"
2000+
],
2001+
"enumDescriptions": [
2002+
"Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.",
2003+
"",
2004+
"",
2005+
""
2006+
],
2007+
"type": "string"
2008+
},
19922009
"singleClusterRouting": {
19932010
"$ref": "SingleClusterRouting",
19942011
"description": "Use a single-cluster routing policy."
2012+
},
2013+
"standardIsolation": {
2014+
"$ref": "StandardIsolation",
2015+
"description": "The standard options used for isolating this app profile's traffic from other use cases."
19952016
}
19962017
},
19972018
"type": "object"
@@ -3067,10 +3088,6 @@
30673088
"description": "Request message for google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies",
30683089
"id": "ModifyColumnFamiliesRequest",
30693090
"properties": {
3070-
"ignoreWarnings": {
3071-
"description": "If true, ignore safety checks when modifying the column families.",
3072-
"type": "boolean"
3073-
},
30743091
"modifications": {
30753092
"description": "Required. Modifications to be atomically applied to the specified table's families. Entries are applied in order, meaning that earlier modifications can be masked by later ones (in the case of repeated updates to the same family, for example).",
30763093
"items": {
@@ -3366,6 +3383,29 @@
33663383
},
33673384
"type": "object"
33683385
},
3386+
"StandardIsolation": {
3387+
"description": "Standard options for isolating this app profile's traffic from other use cases.",
3388+
"id": "StandardIsolation",
3389+
"properties": {
3390+
"priority": {
3391+
"description": "The priority of requests sent using this app profile.",
3392+
"enum": [
3393+
"PRIORITY_UNSPECIFIED",
3394+
"PRIORITY_LOW",
3395+
"PRIORITY_MEDIUM",
3396+
"PRIORITY_HIGH"
3397+
],
3398+
"enumDescriptions": [
3399+
"Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.",
3400+
"",
3401+
"",
3402+
""
3403+
],
3404+
"type": "string"
3405+
}
3406+
},
3407+
"type": "object"
3408+
},
33693409
"Status": {
33703410
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
33713411
"id": "Status",

0 commit comments

Comments
 (0)