google-cloud-spanner 3.56.0__tar.gz → 3.58.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_cloud_spanner-3.56.0/google_cloud_spanner.egg-info → google_cloud_spanner-3.58.0}/PKG-INFO +5 -6
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/README.rst +3 -2
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/gapic_version.py +1 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/async_client.py +30 -30
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/client.py +30 -30
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc.py +21 -21
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/grpc_asyncio.py +21 -21
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest.py +4 -4
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/types/backup.py +113 -115
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/types/backup_schedule.py +9 -9
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/types/common.py +11 -11
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/types/spanner_database_admin.py +41 -41
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/gapic_version.py +1 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/async_client.py +129 -130
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/client.py +129 -130
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc.py +121 -122
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/grpc_asyncio.py +121 -122
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/types/spanner_instance_admin.py +100 -100
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/connection.py +2 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/batch.py +9 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/database.py +11 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/gapic_version.py +1 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/async_client.py +50 -47
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/client.py +50 -47
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/transports/grpc.py +43 -40
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/transports/grpc_asyncio.py +43 -40
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/transports/rest.py +59 -11
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/session.py +3 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/snapshot.py +6 -2
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/transaction.py +21 -5
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/change_stream.py +1 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/result_set.py +9 -9
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/spanner.py +219 -244
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/transaction.py +31 -33
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/type.py +6 -6
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0/google_cloud_spanner.egg-info}/PKG-INFO +5 -6
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/setup.py +1 -3
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/mock_server_test_base.py +5 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/test_request_id_header.py +0 -6
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_database_api.py +8 -2
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_session_api.py +7 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_connect.py +2 -2
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_connection.py +4 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test__helpers.py +69 -2
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_batch.py +25 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_client.py +2 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_session.py +237 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_snapshot.py +1 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_spanner.py +68 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_transaction.py +1 -1
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/LICENSE +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/MANIFEST.in +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/gapic_metadata.json +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/py.typed +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/pagers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/base.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/services/database_admin/transports/rest_base.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_database_v1/types/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/gapic_metadata.json +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/py.typed +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/pagers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/base.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/services/instance_admin/transports/rest_base.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/types/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_admin_instance_v1/types/common.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/_helpers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/batch_dml_executor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/checksum.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/client_side_statement_executor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/client_side_statement_parser.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/cursor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/exceptions.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/parse_utils.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/parsed_statement.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/parser.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/partition_helper.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/transaction_helper.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/types.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/utils.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_dbapi/version.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/_helpers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/_opentelemetry_tracing.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/backup.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/client.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/data_types.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/database_sessions_manager.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/gapic_metadata.json +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/instance.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/keyset.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/merged_result_set.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/constants.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/metrics_capture.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/metrics_exporter.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/metrics_interceptor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/metrics_tracer.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/metrics_tracer_factory.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/metrics/spanner_metrics_tracer_factory.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/param_types.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/pool.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/py.typed +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/request_id_header.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/pagers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/transports/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/transports/base.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/services/spanner/transports/rest_base.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/streamed.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/table.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/database_test.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/interceptors.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/mock_database_admin.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/mock_spanner.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/spanner_database_admin_pb2_grpc.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/testing/spanner_pb2_grpc.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/commit_response.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/keys.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/mutation.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google/cloud/spanner_v1/types/query_plan.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google_cloud_spanner.egg-info/SOURCES.txt +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google_cloud_spanner.egg-info/dependency_links.txt +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google_cloud_spanner.egg-info/not-zip-safe +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google_cloud_spanner.egg-info/requires.txt +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/google_cloud_spanner.egg-info/top_level.txt +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/setup.cfg +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/_builders.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/_fixtures.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/_helpers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/test_aborted_transaction.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/test_basics.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/test_dbapi_autocommit.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/test_dbapi_isolation_level.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/mockserver_tests/test_tags.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/_helpers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/_sample_data.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/conftest.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_backup_api.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_dbapi.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_instance_api.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_observability_options.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_streaming_chunking.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/test_table_api.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/testdata/descriptors.pb +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/testdata/singer.proto +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/testdata/singer_pb2.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/utils/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/utils/clear_streaming.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/utils/populate_streaming.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/utils/scrub_instances.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/system/utils/streaming_utils.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/spanner_admin_database_v1/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/spanner_admin_database_v1/test_database_admin.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/spanner_admin_instance_v1/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/spanner_admin_instance_v1/test_instance_admin.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/spanner_v1/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/gapic/spanner_v1/test_spanner.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/__init__.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test__helpers.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_batch_dml_executor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_checksum.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_client_side_statement_executor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_cursor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_globals.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_parse_utils.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_parser.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_transaction_helper.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_types.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/spanner_dbapi/test_utils.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/streaming-read-acceptance-test.json +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test__opentelemetry_tracing.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_atomic_counter.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_backup.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_database.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_database_session_manager.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_datatypes.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_instance.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_keyset.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_metrics.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_metrics_capture.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_metrics_exporter.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_metrics_interceptor.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_metrics_tracer.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_metrics_tracer_factory.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_packaging.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_param_types.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_pool.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_spanner_metrics_tracer_factory.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_streamed.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/test_table.py +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/testdata/singer.proto +0 -0
- {google_cloud_spanner-3.56.0 → google_cloud_spanner-3.58.0}/tests/unit/testdata/singer_pb2.py +0 -0
{google_cloud_spanner-3.56.0/google_cloud_spanner.egg-info → google_cloud_spanner-3.58.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-spanner
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.58.0
|
|
4
4
|
Summary: Google Cloud Spanner API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/python-spanner
|
|
6
6
|
Author: Google LLC
|
|
@@ -12,15 +12,13 @@ Classifier: Intended Audience :: Developers
|
|
|
12
12
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
13
|
Classifier: Programming Language :: Python
|
|
14
14
|
Classifier: Programming Language :: Python :: 3
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
15
|
Classifier: Programming Language :: Python :: 3.9
|
|
18
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
19
|
Classifier: Operating System :: OS Independent
|
|
22
20
|
Classifier: Topic :: Internet
|
|
23
|
-
Requires-Python: >=3.
|
|
21
|
+
Requires-Python: >=3.9
|
|
24
22
|
License-File: LICENSE
|
|
25
23
|
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.0
|
|
26
24
|
Requires-Dist: google-cloud-core<3.0.0,>=1.4.4
|
|
@@ -110,14 +108,15 @@ dependencies.
|
|
|
110
108
|
|
|
111
109
|
Supported Python Versions
|
|
112
110
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
113
|
-
Python >= 3.
|
|
111
|
+
Python >= 3.9
|
|
114
112
|
|
|
115
113
|
Deprecated Python Versions
|
|
116
114
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
117
115
|
Python == 2.7.
|
|
118
116
|
Python == 3.5.
|
|
119
117
|
Python == 3.6.
|
|
120
|
-
|
|
118
|
+
Python == 3.7.
|
|
119
|
+
Python == 3.8.
|
|
121
120
|
|
|
122
121
|
Mac/Linux
|
|
123
122
|
^^^^^^^^^
|
|
@@ -56,14 +56,15 @@ dependencies.
|
|
|
56
56
|
|
|
57
57
|
Supported Python Versions
|
|
58
58
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
59
|
-
Python >= 3.
|
|
59
|
+
Python >= 3.9
|
|
60
60
|
|
|
61
61
|
Deprecated Python Versions
|
|
62
62
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
63
63
|
Python == 2.7.
|
|
64
64
|
Python == 3.5.
|
|
65
65
|
Python == 3.6.
|
|
66
|
-
|
|
66
|
+
Python == 3.7.
|
|
67
|
+
Python == 3.8.
|
|
67
68
|
|
|
68
69
|
Mac/Linux
|
|
69
70
|
^^^^^^^^^
|
|
@@ -84,10 +84,10 @@ class DatabaseAdminAsyncClient:
|
|
|
84
84
|
|
|
85
85
|
The Cloud Spanner Database Admin API can be used to:
|
|
86
86
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
-
|
|
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
|
|
91
91
|
"""
|
|
92
92
|
|
|
93
93
|
_client: DatabaseAdminClient
|
|
@@ -749,26 +749,26 @@ class DatabaseAdminAsyncClient:
|
|
|
749
749
|
|
|
750
750
|
While the operation is pending:
|
|
751
751
|
|
|
752
|
-
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
-
|
|
764
|
-
|
|
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.
|
|
765
765
|
|
|
766
766
|
Upon completion of the returned operation:
|
|
767
767
|
|
|
768
|
-
-
|
|
769
|
-
-
|
|
770
|
-
|
|
771
|
-
|
|
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.
|
|
772
772
|
|
|
773
773
|
The returned [long-running
|
|
774
774
|
operation][google.longrunning.Operation] will have a name of the
|
|
@@ -1384,19 +1384,19 @@ class DatabaseAdminAsyncClient:
|
|
|
1384
1384
|
constraints based on attributes of the request, the
|
|
1385
1385
|
resource, or both. To learn which resources support
|
|
1386
1386
|
conditions in their IAM policies, see the [IAM
|
|
1387
|
-
documentation](
|
|
1387
|
+
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1388
1388
|
|
|
1389
1389
|
**JSON example:**
|
|
1390
1390
|
|
|
1391
|
-
:literal
|
|
1391
|
+
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "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 }`\ \`
|
|
1392
1392
|
|
|
1393
1393
|
**YAML example:**
|
|
1394
1394
|
|
|
1395
|
-
:literal
|
|
1395
|
+
:literal:`` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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`\ \`
|
|
1396
1396
|
|
|
1397
1397
|
For a description of IAM and its features, see the
|
|
1398
1398
|
[IAM
|
|
1399
|
-
documentation](
|
|
1399
|
+
documentation](https://cloud.google.com/iam/docs/).
|
|
1400
1400
|
|
|
1401
1401
|
"""
|
|
1402
1402
|
# Create or coerce a protobuf request object.
|
|
@@ -1531,19 +1531,19 @@ class DatabaseAdminAsyncClient:
|
|
|
1531
1531
|
constraints based on attributes of the request, the
|
|
1532
1532
|
resource, or both. To learn which resources support
|
|
1533
1533
|
conditions in their IAM policies, see the [IAM
|
|
1534
|
-
documentation](
|
|
1534
|
+
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1535
1535
|
|
|
1536
1536
|
**JSON example:**
|
|
1537
1537
|
|
|
1538
|
-
:literal
|
|
1538
|
+
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "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 }`\ \`
|
|
1539
1539
|
|
|
1540
1540
|
**YAML example:**
|
|
1541
1541
|
|
|
1542
|
-
:literal
|
|
1542
|
+
:literal:`` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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`\ \`
|
|
1543
1543
|
|
|
1544
1544
|
For a description of IAM and its features, see the
|
|
1545
1545
|
[IAM
|
|
1546
|
-
documentation](
|
|
1546
|
+
documentation](https://cloud.google.com/iam/docs/).
|
|
1547
1547
|
|
|
1548
1548
|
"""
|
|
1549
1549
|
# Create or coerce a protobuf request object.
|
|
@@ -2226,7 +2226,7 @@ class DatabaseAdminAsyncClient:
|
|
|
2226
2226
|
required. Other fields are ignored. Update is only
|
|
2227
2227
|
supported for the following fields:
|
|
2228
2228
|
|
|
2229
|
-
-
|
|
2229
|
+
- ``backup.expire_time``.
|
|
2230
2230
|
|
|
2231
2231
|
This corresponds to the ``backup`` field
|
|
2232
2232
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -127,10 +127,10 @@ class DatabaseAdminClient(metaclass=DatabaseAdminClientMeta):
|
|
|
127
127
|
|
|
128
128
|
The Cloud Spanner Database Admin API can be used to:
|
|
129
129
|
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
130
|
+
- create, drop, and list databases
|
|
131
|
+
- update the schema of pre-existing databases
|
|
132
|
+
- create, delete, copy and list backups for a database
|
|
133
|
+
- restore a database from an existing backup
|
|
134
134
|
"""
|
|
135
135
|
|
|
136
136
|
@staticmethod
|
|
@@ -1297,26 +1297,26 @@ class DatabaseAdminClient(metaclass=DatabaseAdminClientMeta):
|
|
|
1297
1297
|
|
|
1298
1298
|
While the operation is pending:
|
|
1299
1299
|
|
|
1300
|
-
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
-
|
|
1312
|
-
|
|
1300
|
+
- The database's
|
|
1301
|
+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
|
|
1302
|
+
field is set to true.
|
|
1303
|
+
- Cancelling the operation is best-effort. If the cancellation
|
|
1304
|
+
succeeds, the operation metadata's
|
|
1305
|
+
[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]
|
|
1306
|
+
is set, the updates are reverted, and the operation terminates
|
|
1307
|
+
with a ``CANCELLED`` status.
|
|
1308
|
+
- New UpdateDatabase requests will return a
|
|
1309
|
+
``FAILED_PRECONDITION`` error until the pending operation is
|
|
1310
|
+
done (returns successfully or with error).
|
|
1311
|
+
- Reading the database via the API continues to give the
|
|
1312
|
+
pre-request values.
|
|
1313
1313
|
|
|
1314
1314
|
Upon completion of the returned operation:
|
|
1315
1315
|
|
|
1316
|
-
-
|
|
1317
|
-
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1316
|
+
- The new values are in effect and readable via the API.
|
|
1317
|
+
- The database's
|
|
1318
|
+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
|
|
1319
|
+
field becomes false.
|
|
1320
1320
|
|
|
1321
1321
|
The returned [long-running
|
|
1322
1322
|
operation][google.longrunning.Operation] will have a name of the
|
|
@@ -1920,19 +1920,19 @@ class DatabaseAdminClient(metaclass=DatabaseAdminClientMeta):
|
|
|
1920
1920
|
constraints based on attributes of the request, the
|
|
1921
1921
|
resource, or both. To learn which resources support
|
|
1922
1922
|
conditions in their IAM policies, see the [IAM
|
|
1923
|
-
documentation](
|
|
1923
|
+
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1924
1924
|
|
|
1925
1925
|
**JSON example:**
|
|
1926
1926
|
|
|
1927
|
-
:literal
|
|
1927
|
+
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "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 }`\ \`
|
|
1928
1928
|
|
|
1929
1929
|
**YAML example:**
|
|
1930
1930
|
|
|
1931
|
-
:literal
|
|
1931
|
+
:literal:`` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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`\ \`
|
|
1932
1932
|
|
|
1933
1933
|
For a description of IAM and its features, see the
|
|
1934
1934
|
[IAM
|
|
1935
|
-
documentation](
|
|
1935
|
+
documentation](https://cloud.google.com/iam/docs/).
|
|
1936
1936
|
|
|
1937
1937
|
"""
|
|
1938
1938
|
# Create or coerce a protobuf request object.
|
|
@@ -2068,19 +2068,19 @@ class DatabaseAdminClient(metaclass=DatabaseAdminClientMeta):
|
|
|
2068
2068
|
constraints based on attributes of the request, the
|
|
2069
2069
|
resource, or both. To learn which resources support
|
|
2070
2070
|
conditions in their IAM policies, see the [IAM
|
|
2071
|
-
documentation](
|
|
2071
|
+
documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2072
2072
|
|
|
2073
2073
|
**JSON example:**
|
|
2074
2074
|
|
|
2075
|
-
:literal
|
|
2075
|
+
:literal:`` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "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 }`\ \`
|
|
2076
2076
|
|
|
2077
2077
|
**YAML example:**
|
|
2078
2078
|
|
|
2079
|
-
:literal
|
|
2079
|
+
:literal:`` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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`\ \`
|
|
2080
2080
|
|
|
2081
2081
|
For a description of IAM and its features, see the
|
|
2082
2082
|
[IAM
|
|
2083
|
-
documentation](
|
|
2083
|
+
documentation](https://cloud.google.com/iam/docs/).
|
|
2084
2084
|
|
|
2085
2085
|
"""
|
|
2086
2086
|
# Create or coerce a protobuf request object.
|
|
@@ -2756,7 +2756,7 @@ class DatabaseAdminClient(metaclass=DatabaseAdminClientMeta):
|
|
|
2756
2756
|
required. Other fields are ignored. Update is only
|
|
2757
2757
|
supported for the following fields:
|
|
2758
2758
|
|
|
2759
|
-
-
|
|
2759
|
+
- ``backup.expire_time``.
|
|
2760
2760
|
|
|
2761
2761
|
This corresponds to the ``backup`` field
|
|
2762
2762
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -126,10 +126,10 @@ class DatabaseAdminGrpcTransport(DatabaseAdminTransport):
|
|
|
126
126
|
|
|
127
127
|
The Cloud Spanner Database Admin API can be used to:
|
|
128
128
|
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
129
|
+
- create, drop, and list databases
|
|
130
|
+
- update the schema of pre-existing databases
|
|
131
|
+
- create, delete, copy and list backups for a database
|
|
132
|
+
- restore a database from an existing backup
|
|
133
133
|
|
|
134
134
|
This class defines the same methods as the primary client, so the
|
|
135
135
|
primary client can load the underlying transport implementation
|
|
@@ -464,26 +464,26 @@ class DatabaseAdminGrpcTransport(DatabaseAdminTransport):
|
|
|
464
464
|
|
|
465
465
|
While the operation is pending:
|
|
466
466
|
|
|
467
|
-
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
-
|
|
479
|
-
|
|
467
|
+
- The database's
|
|
468
|
+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
|
|
469
|
+
field is set to true.
|
|
470
|
+
- Cancelling the operation is best-effort. If the cancellation
|
|
471
|
+
succeeds, the operation metadata's
|
|
472
|
+
[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]
|
|
473
|
+
is set, the updates are reverted, and the operation terminates
|
|
474
|
+
with a ``CANCELLED`` status.
|
|
475
|
+
- New UpdateDatabase requests will return a
|
|
476
|
+
``FAILED_PRECONDITION`` error until the pending operation is
|
|
477
|
+
done (returns successfully or with error).
|
|
478
|
+
- Reading the database via the API continues to give the
|
|
479
|
+
pre-request values.
|
|
480
480
|
|
|
481
481
|
Upon completion of the returned operation:
|
|
482
482
|
|
|
483
|
-
-
|
|
484
|
-
-
|
|
485
|
-
|
|
486
|
-
|
|
483
|
+
- The new values are in effect and readable via the API.
|
|
484
|
+
- The database's
|
|
485
|
+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
|
|
486
|
+
field becomes false.
|
|
487
487
|
|
|
488
488
|
The returned [long-running
|
|
489
489
|
operation][google.longrunning.Operation] will have a name of the
|
|
@@ -132,10 +132,10 @@ class DatabaseAdminGrpcAsyncIOTransport(DatabaseAdminTransport):
|
|
|
132
132
|
|
|
133
133
|
The Cloud Spanner Database Admin API can be used to:
|
|
134
134
|
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
135
|
+
- create, drop, and list databases
|
|
136
|
+
- update the schema of pre-existing databases
|
|
137
|
+
- create, delete, copy and list backups for a database
|
|
138
|
+
- restore a database from an existing backup
|
|
139
139
|
|
|
140
140
|
This class defines the same methods as the primary client, so the
|
|
141
141
|
primary client can load the underlying transport implementation
|
|
@@ -475,26 +475,26 @@ class DatabaseAdminGrpcAsyncIOTransport(DatabaseAdminTransport):
|
|
|
475
475
|
|
|
476
476
|
While the operation is pending:
|
|
477
477
|
|
|
478
|
-
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
-
|
|
490
|
-
|
|
478
|
+
- The database's
|
|
479
|
+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
|
|
480
|
+
field is set to true.
|
|
481
|
+
- Cancelling the operation is best-effort. If the cancellation
|
|
482
|
+
succeeds, the operation metadata's
|
|
483
|
+
[cancel_time][google.spanner.admin.database.v1.UpdateDatabaseMetadata.cancel_time]
|
|
484
|
+
is set, the updates are reverted, and the operation terminates
|
|
485
|
+
with a ``CANCELLED`` status.
|
|
486
|
+
- New UpdateDatabase requests will return a
|
|
487
|
+
``FAILED_PRECONDITION`` error until the pending operation is
|
|
488
|
+
done (returns successfully or with error).
|
|
489
|
+
- Reading the database via the API continues to give the
|
|
490
|
+
pre-request values.
|
|
491
491
|
|
|
492
492
|
Upon completion of the returned operation:
|
|
493
493
|
|
|
494
|
-
-
|
|
495
|
-
-
|
|
496
|
-
|
|
497
|
-
|
|
494
|
+
- The new values are in effect and readable via the API.
|
|
495
|
+
- The database's
|
|
496
|
+
[reconciling][google.spanner.admin.database.v1.Database.reconciling]
|
|
497
|
+
field becomes false.
|
|
498
498
|
|
|
499
499
|
The returned [long-running
|
|
500
500
|
operation][google.longrunning.Operation] will have a name of the
|
|
@@ -1584,10 +1584,10 @@ class DatabaseAdminRestTransport(_BaseDatabaseAdminRestTransport):
|
|
|
1584
1584
|
|
|
1585
1585
|
The Cloud Spanner Database Admin API can be used to:
|
|
1586
1586
|
|
|
1587
|
-
-
|
|
1588
|
-
-
|
|
1589
|
-
-
|
|
1590
|
-
-
|
|
1587
|
+
- create, drop, and list databases
|
|
1588
|
+
- update the schema of pre-existing databases
|
|
1589
|
+
- create, delete, copy and list backups for a database
|
|
1590
|
+
- restore a database from an existing backup
|
|
1591
1591
|
|
|
1592
1592
|
This class defines the same methods as the primary client, so the
|
|
1593
1593
|
primary client can load the underlying transport implementation
|