Skip to main content
Google Cloud Documentation
Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • Migration
  • SDK, languages, frameworks, and tools
/
Console
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Sign in
  • Python
  • Client libraries
Start free
Overview Guides Reference Samples
Google Cloud Documentation
  • Technology areas
    • More
    • Overview
    • Guides
    • Reference
    • Samples
  • Cross-product tools
    • More
  • Console
  • Overview
  • Library reference docs
  • BigQuery DataFrames
  • google-cloud-aiplatform
  • google-cloud-asset
  • google-cloud-bigquery-storage
  • google-cloud-chronicle
  • google-cloud-compute
  • google-cloud-datacatalog
  • google-cloud-dataplex
  • google-cloud-documentai
  • google-cloud-financialservices
  • google-cloud-gdchardwaremanagement
  • google-cloud-gke-backup
  • google-cloud-logging
  • google-cloud-lustre
  • google-cloud-modelarmor
  • google-cloud-netapp
  • google-cloud-org-policy
  • google-cloud-retail
  • google-cloud-secret-manager
  • google-cloud-spanner
    • Overview
    • Advanced Session Pool Topics
    • API Reference
    • Batch API
    • Batching Modifications
    • Changelog
    • Spanner Client
    • Spanner Client
    • Database API
    • Database Admin
    • Instance API
    • Instance Admin
    • Keyset API
    • Multiprocessing
    • Tracing with OpenTelemetry
    • Session API
    • Snapshot API
    • Read-only Transactions via Snapshots
    • StreamedResultSet API
    • Transaction API
    • Read-write Transactions
    • Spanner Admin Database V1
      • database_admin
        • Overview
        • DatabaseAdminAsyncClient
        • DatabaseAdminClient
      • types
        • Overview
        • Backup
          • Overview
          • State
        • BackupInfo
        • CreateBackupMetadata
        • CreateBackupRequest
        • CreateDatabaseMetadata
        • CreateDatabaseRequest
        • Database
          • Overview
          • State
        • DeleteBackupRequest
        • DropDatabaseRequest
        • GetBackupRequest
        • GetDatabaseDdlRequest
        • GetDatabaseDdlResponse
        • GetDatabaseRequest
        • ListBackupOperationsRequest
        • ListBackupOperationsResponse
        • ListBackupsRequest
        • ListBackupsResponse
        • ListDatabaseOperationsRequest
        • ListDatabaseOperationsResponse
        • ListDatabasesRequest
        • ListDatabasesResponse
        • OperationProgress
        • OptimizeRestoredDatabaseMetadata
        • RestoreDatabaseMetadata
        • RestoreDatabaseRequest
        • RestoreInfo
        • RestoreSourceType
        • UpdateBackupRequest
        • UpdateDatabaseDdlMetadata
        • UpdateDatabaseDdlRequest
    • Spanner Admin Instance V1
      • instance_admin
        • Overview
        • InstanceAdminAsyncClient
        • InstanceAdminClient
      • types
        • Overview
        • CreateInstanceMetadata
        • CreateInstanceRequest
        • DeleteInstanceRequest
        • GetInstanceConfigRequest
        • GetInstanceRequest
        • Instance
          • Overview
          • LabelsEntry
          • State
        • InstanceConfig
        • ListInstanceConfigsRequest
        • ListInstanceConfigsResponse
        • ListInstancesRequest
        • ListInstancesResponse
        • ReplicaInfo
          • Overview
          • ReplicaType
        • UpdateInstanceMetadata
        • UpdateInstanceRequest
    • Spanner V1
      • batch
        • Overview
        • Batch
      • client
        • Overview
        • Client
      • database
        • Overview
        • BatchCheckout
        • BatchSnapshot
        • Database
        • SnapshotCheckout
      • instance
        • Overview
        • Instance
      • keyset
        • Overview
        • KeyRange
        • KeySet
      • pool
        • Overview
        • AbstractSessionPool
        • BurstyPool
        • FixedSizePool
        • PingingPool
        • SessionCheckout
        • TransactionPingingPool
      • spanner
        • Overview
        • SpannerAsyncClient
        • SpannerClient
      • session
        • Overview
        • Session
      • snapshot
        • Overview
        • Snapshot
      • streamed
        • Overview
        • StreamedResultSet
        • Unmergeable
      • transaction
        • Overview
        • Transaction
      • types
        • Overview
        • BatchCreateSessionsRequest
        • BatchCreateSessionsResponse
        • BeginTransactionRequest
        • CommitRequest
        • CommitResponse
        • CreateSessionRequest
        • DeleteSessionRequest
        • ExecuteBatchDmlRequest
          • Overview
          • Statement
            • Overview
            • ParamTypesEntry
        • ExecuteBatchDmlResponse
        • ExecuteSqlRequest
          • Overview
          • ParamTypesEntry
          • QueryMode
          • QueryOptions
        • GetSessionRequest
        • KeyRange
        • KeySet
        • ListSessionsRequest
        • ListSessionsResponse
        • Mutation
          • Overview
          • Delete
          • Write
        • PartialResultSet
        • Partition
        • PartitionOptions
        • PartitionQueryRequest
          • Overview
          • ParamTypesEntry
        • PartitionReadRequest
        • PartitionResponse
        • PlanNode
          • Overview
          • ChildLink
          • Kind
          • ShortRepresentation
            • Overview
            • SubqueriesEntry
        • QueryPlan
        • ReadRequest
        • ResultSet
        • ResultSetMetadata
        • ResultSetStats
        • RollbackRequest
        • Session
          • Overview
          • LabelsEntry
        • StructType
          • Overview
          • Field
        • Transaction
        • TransactionOptions
          • Overview
          • PartitionedDml
          • ReadOnly
          • ReadWrite
        • TransactionSelector
        • Type
        • TypeCode
  • google-cloud-storagebatchoperations
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Infrastructure as code
  • Migration
  • SDK, languages, frameworks, and tools
  • Home
  • Technology areas
  • Python
  • Client libraries
Stay organized with collections Save and categorize content based on your preferences.
  • 3.60.0 (latest)
  • 3.59.0
  • 3.58.0
  • 3.57.0
  • 3.56.0
  • 3.55.0
  • 3.54.0
  • 3.53.0
  • 3.52.0
  • 3.51.0
  • 3.50.1
  • 3.46.0
  • 3.45.0
  • 3.44.0
  • 3.43.0
  • 3.42.0
  • 3.41.0
  • 3.40.1
  • 3.39.0
  • 3.38.0
  • 3.37.0
  • 3.36.0
  • 3.35.1
  • 3.34.0
  • 3.33.0
  • 3.32.0
  • 3.31.0
  • 3.30.0
  • 3.29.0
  • 3.28.0
  • 3.27.1
  • 3.26.0
  • 3.25.0
  • 3.24.0
  • 3.23.0
  • 3.22.2
  • 3.21.0