Skip to content

Commit a041042

Browse files
chore: Update gapic-generator-python to 1.26.2 (#1406)
* chore: update Python generator version to 1.25.1 PiperOrigin-RevId: 800535761 Source-Link: googleapis/googleapis@4cf1f99 Source-Link: googleapis/googleapis-gen@133d25b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTMzZDI1YjY4ZTcxMjExNmUxYzVkYzcxZmMzZWIzYzVlNzE3MDIyYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: A comment for field `ranges` in message `.google.spanner.v1.KeySet` is changed docs: A comment for message `Mutation` is changed docs: A comment for field `columns` in message `.google.spanner.v1.Mutation` is changed docs: A comment for field `values` in message `.google.spanner.v1.Mutation` is changed docs: A comment for field `key_set` in message `.google.spanner.v1.Mutation` is changed docs: A comment for field `insert_or_update` in message `.google.spanner.v1.Mutation` is changed docs: A comment for field `replace` in message `.google.spanner.v1.Mutation` is changed docs: A comment for message `PlanNode` is changed docs: A comment for enum `Kind` is changed docs: A comment for field `variable` in message `.google.spanner.v1.PlanNode` is changed docs: A comment for field `index` in message `.google.spanner.v1.PlanNode` is changed docs: A comment for field `kind` in message `.google.spanner.v1.PlanNode` is changed docs: A comment for field `short_representation` in message `.google.spanner.v1.PlanNode` is changed docs: A comment for field `plan_nodes` in message `.google.spanner.v1.QueryPlan` is changed docs: A comment for method `CreateSession` in service `Spanner` is changed docs: A comment for method `GetSession` in service `Spanner` is changed docs: A comment for method `DeleteSession` in service `Spanner` is changed docs: A comment for method `ExecuteSql` in service `Spanner` is changed docs: A comment for method `ExecuteStreamingSql` in service `Spanner` is changed docs: A comment for method `Read` in service `Spanner` is changed docs: A comment for method `Commit` in service `Spanner` is changed docs: A comment for method `Rollback` in service `Spanner` is changed docs: A comment for method `PartitionQuery` in service `Spanner` is changed docs: A comment for method `PartitionRead` in service `Spanner` is changed docs: A comment for method `BatchWrite` in service `Spanner` is changed docs: A comment for field `session_template` in message `.google.spanner.v1.BatchCreateSessionsRequest` is changed docs: A comment for field `session_count` in message `.google.spanner.v1.BatchCreateSessionsRequest` is changed docs: A comment for field `approximate_last_use_time` in message `.google.spanner.v1.Session` is changed docs: A comment for field `multiplexed` in message `.google.spanner.v1.Session` is changed docs: A comment for enum `Priority` is changed docs: A comment for field `request_tag` in message `.google.spanner.v1.RequestOptions` is changed docs: A comment for field `transaction_tag` in message `.google.spanner.v1.RequestOptions` is changed docs: A comment for message `DirectedReadOptions` is changed docs: A comment for message `DirectedReadOptions` is changed docs: A comment for message `DirectedReadOptions` is changed docs: A comment for field `location` in message `.google.spanner.v1.DirectedReadOptions` is changed docs: A comment for field `auto_failover_disabled` in message `.google.spanner.v1.DirectedReadOptions` is changed docs: A comment for field `include_replicas` in message `.google.spanner.v1.DirectedReadOptions` is changed docs: A comment for field `exclude_replicas` in message `.google.spanner.v1.DirectedReadOptions` is changed docs: A comment for enum value `PROFILE` in enum `QueryMode` is changed docs: A comment for field `optimizer_version` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `optimizer_statistics_package` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `transaction` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `params` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `param_types` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `partition_token` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `seqno` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `data_boost_enabled` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `last_statement` in message `.google.spanner.v1.ExecuteSqlRequest` is changed docs: A comment for field `params` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed docs: A comment for field `param_types` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed docs: A comment for field `seqno` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed docs: A comment for field `last_statements` in message `.google.spanner.v1.ExecuteBatchDmlRequest` is changed docs: A comment for field `precommit_token` in message `.google.spanner.v1.ExecuteBatchDmlResponse` is changed docs: A comment for message `PartitionOptions` is changed docs: A comment for field `partition_size_bytes` in message `.google.spanner.v1.PartitionOptions` is changed docs: A comment for field `max_partitions` in message `.google.spanner.v1.PartitionOptions` is changed docs: A comment for field `transaction` in message `.google.spanner.v1.PartitionQueryRequest` is changed docs: A comment for field `sql` in message `.google.spanner.v1.PartitionQueryRequest` is changed docs: A comment for field `params` in message `.google.spanner.v1.PartitionQueryRequest` is changed docs: A comment for field `param_types` in message `.google.spanner.v1.PartitionQueryRequest` is changed docs: A comment for field `key_set` in message `.google.spanner.v1.PartitionReadRequest` is changed docs: A comment for field `partition_token` in message `.google.spanner.v1.Partition` is changed docs: A comment for enum value `ORDER_BY_UNSPECIFIED` in enum `OrderBy` is changed docs: A comment for enum value `ORDER_BY_PRIMARY_KEY` in enum `OrderBy` is changed docs: A comment for enum value `LOCK_HINT_UNSPECIFIED` in enum `LockHint` is changed docs: A comment for enum value `LOCK_HINT_EXCLUSIVE` in enum `LockHint` is changed docs: A comment for field `key_set` in message `.google.spanner.v1.ReadRequest` is changed docs: A comment for field `limit` in message `.google.spanner.v1.ReadRequest` is changed docs: A comment for field `partition_token` in message `.google.spanner.v1.ReadRequest` is changed docs: A comment for field `data_boost_enabled` in message `.google.spanner.v1.ReadRequest` is changed docs: A comment for field `order_by` in message `.google.spanner.v1.ReadRequest` is changed docs: A comment for field `request_options` in message `.google.spanner.v1.BeginTransactionRequest` is changed docs: A comment for field `mutation_key` in message `.google.spanner.v1.BeginTransactionRequest` is changed docs: A comment for field `single_use_transaction` in message `.google.spanner.v1.CommitRequest` is changed docs: A comment for field `return_commit_stats` in message `.google.spanner.v1.CommitRequest` is changed docs: A comment for field `max_commit_delay` in message `.google.spanner.v1.CommitRequest` is changed docs: A comment for field `precommit_token` in message `.google.spanner.v1.CommitRequest` is changed docs: A comment for field `exclude_txn_from_change_streams` in message `.google.spanner.v1.BatchWriteRequest` is changed docs: A comment for enum value `SERIALIZABLE` in enum `IsolationLevel` is changed PiperOrigin-RevId: 800749899 Source-Link: googleapis/googleapis@39c8072 Source-Link: googleapis/googleapis-gen@42cfcdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDJjZmNkYmJhYjFjYmUxMmY0ZTA5Njg5NTkxZjlkZmYwNjlmMDg3ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update gapic-generator-python to 1.26.2 PiperOrigin-RevId: 802200836 Source-Link: googleapis/googleapis@d300b15 Source-Link: googleapis/googleapis-gen@a1ff0ae Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTFmZjBhZTcyZGRjYjY4YTI1OTIxNWQ4Yzc3NjYxZTJjZGJiOWIwMiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: rahul2393 <[email protected]>
1 parent 1813a8e commit a041042

28 files changed

+1401
-1367
lines changed

google/cloud/spanner_admin_database_v1/services/database_admin/async_client.py

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ class DatabaseAdminAsyncClient:
8484
8585
The Cloud Spanner Database Admin API can be used to:
8686
87-
- create, drop, and list databases
88-
- update the schema of pre-existing databases
89-
- create, delete, copy and list backups for a database
90-
- restore a database from an existing backup
87+
- create, drop, and list databases
88+
- update the schema of pre-existing databases
89+
- create, delete, copy and list backups for a database
90+
- restore a database from an existing backup
9191
"""
9292

9393
_client: DatabaseAdminClient
@@ -749,26 +749,26 @@ async def update_database(
749749
750750
While the operation is pending:
751751
752-
- The database's
753-
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
754-
field is set to true.
755-
- Cancelling the operation is best-effort. If the cancellation
756-
succeeds, the operation metadata's
757-
[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]
758-
is set, the updates are reverted, and the operation
759-
terminates with a ``CANCELLED`` status.
760-
- New UpdateDatabase requests will return a
761-
``FAILED_PRECONDITION`` error until the pending operation is
762-
done (returns successfully or with error).
763-
- Reading the database via the API continues to give the
764-
pre-request values.
752+
- The database's
753+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
754+
field is set to true.
755+
- Cancelling the operation is best-effort. If the cancellation
756+
succeeds, the operation metadata's
757+
[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]
758+
is set, the updates are reverted, and the operation terminates
759+
with a ``CANCELLED`` status.
760+
- New UpdateDatabase requests will return a
761+
``FAILED_PRECONDITION`` error until the pending operation is
762+
done (returns successfully or with error).
763+
- Reading the database via the API continues to give the
764+
pre-request values.
765765
766766
Upon completion of the returned operation:
767767
768-
- The new values are in effect and readable via the API.
769-
- The database's
770-
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
771-
field becomes false.
768+
- The new values are in effect and readable via the API.
769+
- The database's
770+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
771+
field becomes false.
772772
773773
The returned [long-running
774774
operation][google.longrunning.Operation] will have a name of the
@@ -1384,19 +1384,19 @@ async def sample_set_iam_policy():
13841384
constraints based on attributes of the request, the
13851385
resource, or both. To learn which resources support
13861386
conditions in their IAM policies, see the [IAM
1387-
documentation](\ https://cloud.google.com/iam/help/conditions/resource-policies).
1387+
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
13881388
13891389
**JSON example:**
13901390
1391-
:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`
1391+
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`
13921392
13931393
**YAML example:**
13941394
1395-
:literal:`\` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`
1395+
:literal:`` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`
13961396
13971397
For a description of IAM and its features, see the
13981398
[IAM
1399-
documentation](\ https://cloud.google.com/iam/docs/).
1399+
documentation](https://cloud.google.com/iam/docs/).
14001400
14011401
"""
14021402
# Create or coerce a protobuf request object.
@@ -1531,19 +1531,19 @@ async def sample_get_iam_policy():
15311531
constraints based on attributes of the request, the
15321532
resource, or both. To learn which resources support
15331533
conditions in their IAM policies, see the [IAM
1534-
documentation](\ https://cloud.google.com/iam/help/conditions/resource-policies).
1534+
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
15351535
15361536
**JSON example:**
15371537
1538-
:literal:`\` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`
1538+
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:[email protected]", "group:[email protected]", "domain:google.com", "serviceAccount:[email protected]" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:[email protected]" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 }`\ \`
15391539
15401540
**YAML example:**
15411541
1542-
:literal:`\` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`
1542+
:literal:`` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3`\ \`
15431543
15441544
For a description of IAM and its features, see the
15451545
[IAM
1546-
documentation](\ https://cloud.google.com/iam/docs/).
1546+
documentation](https://cloud.google.com/iam/docs/).
15471547
15481548
"""
15491549
# Create or coerce a protobuf request object.
@@ -2226,7 +2226,7 @@ async def sample_update_backup():
22262226
required. Other fields are ignored. Update is only
22272227
supported for the following fields:
22282228
2229-
- ``backup.expire_time``.
2229+
- ``backup.expire_time``.
22302230
22312231
This corresponds to the ``backup`` field
22322232
on the ``request`` instance; if ``request`` is provided, this

0 commit comments

Comments
 (0)