
    T                    4$   d Z ddlmZ ddlmZ ddlmZ ddlmZ dZ	 G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z G d1 d2ej                        Z  G d3 d4ej                        Z! G d5 d6ej                        Z" G d7 d8ej                        Z# G d9 d:ej                        Z$ G d; d<ej                        Z% G d= d>ej                        Z& G d? d@ej                        Z' G dA dBej                        Z( G dC dDej                        Z) G dE dFej                        Z* G dG dHej                        Z+ G dI dJej                        Z, G dK dLej                        Z- G dM dNej                        Z. G dO dPej                        Z/ G dQ dRej                        Z0 G dS dTej                        Z1 G dU dVej                        Z2 G dW dXej                        Z3 G dY dZej                        Z4 G d[ d\ej                        Z5 G d] d^ej                        Z6 G d_ d`ej                        Z7 G da dbej                        Z8 G dc ddej                        Z9 G de dfej                        Z: G dg dhej                        Z; G di djej                        Z< G dk dlej                        Z= G dm dnej                        Z> G do dpej                        Z? G dq drej                        Z@ G ds dtej                        ZA G du dvej                        ZB G dw dxej                        ZC G dy dzej                        ZD G d{ d|ej                        ZE G d} d~ej                        ZF G d dej                        ZG G d dej                        ZH G d dej                        ZI G d dej                        ZJ G d dej                        ZK G d dej                        ZL G d dej                        ZM G d dej                        ZN G d dej                        ZO G d dej                        ZP G d dej                        Z
 G d dej                        ZQ G d dej                        ZR G d dej                        ZS G d dej                        ZT G d dej                        ZU G d dej                        ZV G d dej                        ZW G d dej                        ZX G d dej                        ZY G d dej                        ZZ G d dej                        Z[ G d dej                        Z\ G d dej                        Z] G d dej                        Z^ G d dej                        Z_ G d dej                        Z` G d dej                        Za G d dej                        Zb G d dej                        Zc G d dej                        Zd G d dej                        Ze G d dej                        Zf G d dej                        Zg G dÄ dej                        Zh G dń dej                        Zi G dǄ dej                        Zj G dɄ dej                        Zk G d˄ dej                        Zl G d̈́ dej                        Zm G dτ dej                        Zn G dф dej                        Zo G dӄ dej                        Zp G dՄ dej                        Zq G dׄ dej                        Zr G dل dej                        Zs G dۄ dej                        Zt G d݄ dej                        Zu G d߄ dej                        Zv G d dej                        Zw G d dej                        Zx G d dej                        Zy G d dej                        Zz G d dej                        Z{ G d dej                        Z| G d dej                        Z} G d dej                        Z~ G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d	 d
ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d d ej                        Z G d! d"ej                        Z G d# d$ej                        Z G d% d&ej                        Z G d' d(ej                        Z G d) d*ej                        Z G d+ d,ej                        Z G d- d.ej                        Z G d/ d0ej                        Z G d1 d2ej                        Z G d3 d4ej                        Z G d5 d6ej                        Z G d7 d8ej                        Z G d9 d:ej                        Z G d; d<ej                        Z G d= d>ej                        Z G d? d@ej                        Z G dA dBej                        Z G dC dDej                        Z G dE dFej                        Z G dG dHej                        Z G dI dJej                        Z G dK dLej                        Z G dM dNej                        Z G dO dPej                        Z G dQ dRej                        Z G dS dTej                        Z G dU dVej                        Z G dW dXej                        Z G dY dZej                        Z G d[ d\ej                        Z G d] d^ej                        Z G d_ d`ej                        Z G da dbej                        Z G dc ddej                        Z G de dfej                        Z G dg dhej                        Z G di djej                        Z G dk dlej                        Z G dm dnej                        Z G do dpej                        Z G dq drej                        Z G ds dtej                        Z G du dvej                        Z G dw dxej                        Z G dy dzej                        Z G d{ d|ej                        Z G d} d~ej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z G d dej                        Z ej                  e͐dd        ej                  e͐j                  dd        ej                  e͐j                  dd       y(  zhGenerated message classes for sqladmin version v1beta4.

API for Cloud SQL database instance management
    )absolute_import)messages)encoding)extra_typessqladminc                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)AclEntrya  An entry for an Access Control list.

  Fields:
    expirationTime: The time when this access control entry expires in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    kind: This is always `sql#aclEntry`.
    name: Optional. A label to identify this entry.
    value: The allowlisted value for the access control list.
              N)
__name__
__module____qualname____doc__	_messagesStringFieldexpirationTimekindnamevalue     Wlib/googlecloudsdk/generated_clients/apis/sqladmin/v1beta4/sqladmin_v1beta4_messages.pyr	   r	      sQ    	 )9((+.			q	!$			q	!$
)


"%r   r	   c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)AcquireSsrsLeaseContexta  Acquire SSRS lease context.

  Fields:
    duration: Lease duration needed for the SSRS setup.
    reportDatabase: The report database to be used for the SSRS setup.
    serviceLogin: The username to be used as the service login to connect to
      the report database for SSRS setup.
    setupLogin: The username to be used as the setup login to connect to the
      database server for SSRS setup.
  r
   r   r   r   N)
r   r   r   r   r   r   durationreportDatabaseserviceLogin
setupLoginr   r   r   r   r   #   sQ    	 #Y""1%((9((+.&&&q),$y$$Q'*r   r   c                   `    e Zd ZdZ ej
                  dej                  j                        Zy)AdvancedMachineFeatureszSpecifies options for controlling advanced machine features.

  Fields:
    threadsPerCore: The number of threads per physical core.
  r
   variantN)	r   r   r   r   r   IntegerFieldVariantINT32threadsPerCorer   r   r   r"   r"   5   s)     *9))!Y5F5F5L5LM.r   r"   c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z
 ej                  d      Zy)
ApiWarninga  An Admin API warning message.

  Enums:
    CodeValueValuesEnum: Code to uniquely identify the warning type.

  Fields:
    code: Code to uniquely identify the warning type.
    message: The warning message.
    region: The region name for REGION_UNREACHABLE warning.
  c                   $    e Zd ZdZdZdZdZdZdZy)ApiWarning.CodeValueValuesEnuma  Code to uniquely identify the warning type.

    Values:
      SQL_API_WARNING_CODE_UNSPECIFIED: An unknown or unset warning type from
        Cloud SQL API.
      REGION_UNREACHABLE: Warning when one or more regions are not reachable.
        The returned result set may be incomplete.
      MAX_RESULTS_EXCEEDS_LIMIT: Warning when user provided maxResults
        parameter exceeds the limit. The returned result set may be
        incomplete.
      COMPROMISED_CREDENTIALS: Warning when user tries to create/update a user
        with credentials that have previously been compromised by a public
        data breach.
      INTERNAL_STATE_FAILURE: Warning when the operation succeeds but some
        non-critical workflow state failed.
    r   r
   r   r   r   N)	r   r   r   r    SQL_API_WARNING_CODE_UNSPECIFIEDREGION_UNREACHABLEMAX_RESULTS_EXCEEDS_LIMITCOMPROMISED_CREDENTIALSINTERNAL_STATE_FAILUREr   r   r   CodeValueValuesEnumr,   K   s'      ()$ !r   r2   r
   r   r   N)r   r   r   r   r   Enumr2   	EnumFieldcoder   messageregionr   r   r   r*   r*   ?   sR    	INN . 
		2A	6$!I!!!$' 9  #&r   r*   c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)AvailableDatabaseVersiona1  An available database version. It can be a major or a minor version.

  Fields:
    displayName: The database version's display name.
    majorVersion: The version's major version name.
    name: The database version name. For MySQL 8.0, this string provides the
      database major and minor version.
  r
   r   r   N)	r   r   r   r   r   r   displayNamemajorVersionr   r   r   r   r9   r9   g   s?     &	%%a(+&&&q),			q	!$r   r9   c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z G d d	ej
                        Z	 ej                  d
d      Z ej                  dd      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej6                  d      Z ej                  d      Z ej<                  d      Z ej<                  d      Z  ej                  d      Z! ej                  dd       Z" ej                  d!      Z# ej6                  d"      Z$ ej                  d	d#      Z%y$)%Backupak  A backup resource.

  Enums:
    BackupKindValueValuesEnum: Output only. Specifies the kind of backup,
      PHYSICAL or DEFAULT_SNAPSHOT.
    DatabaseVersionValueValuesEnum: Output only. The database version of the
      instance of at the time this backup was made.
    StateValueValuesEnum: Output only. The state of this backup.
    TypeValueValuesEnum: Output only. The type of this backup. The type can be
      "AUTOMATED", "ON_DEMAND", or "FINAL".

  Fields:
    backupInterval: Output only. This output contains the following values:
      start_time: All database writes up to this time are available. end_time:
      Any database writes after this time aren't available.
    backupKind: Output only. Specifies the kind of backup, PHYSICAL or
      DEFAULT_SNAPSHOT.
    backupRun: Output only. The mapping to backup run resource used for IAM
      validations.
    databaseVersion: Output only. The database version of the instance of at
      the time this backup was made.
    description: The description of this backup.
    error: Output only. Information about why the backup operation fails (for
      example, when the backup state fails).
    expiryTime: Backup expiration time. A UTC timestamp of when this resource
      expired.
    instance: The name of the database instance.
    instanceDeletionTime: Optional. Output only. Timestamp in UTC of when the
      instance associated with this backup is deleted.
    instanceSettings: Optional. Output only. Instance setting of the source
      instance that's associated with this backup.
    kind: Output only. This is always `sql#backup`.
    kmsKey: Output only. This output contains the encryption configuration for
      a backup and the resource name of the KMS key for disk encryption.
    kmsKeyVersion: Output only. This output contains the encryption status for
      a backup and the version of the KMS key that's used to encrypt the Cloud
      SQL instance.
    location: The storage location of the backups. The location can be multi-
      regional.
    maxChargeableBytes: Output only. The maximum chargeable bytes for the
      backup.
    name: Output only. The resource name of the backup. Format:
      projects/{project}/backups/{backup}.
    satisfiesPzi: Output only. This status indicates whether the backup
      satisfies PZI. The status is reserved for future use.
    satisfiesPzs: Output only. This status indicates whether the backup
      satisfies PZS. The status is reserved for future use.
    selfLink: Output only. The URI of this resource.
    state: Output only. The state of this backup.
    timeZone: Output only. This output contains a backup time zone. If a Cloud
      SQL for SQL Server instance has a different time zone from the backup's
      time zone, then the restore to the instance doesn't happen.
    ttlDays: Input only. The time-to-live (TTL) interval for this resource (in
      days). For example: ttlDays:7, means 7 days from the current time. The
      expiration time can't exceed 365 days from the time that the backup is
      created.
    type: Output only. The type of this backup. The type can be "AUTOMATED",
      "ON_DEMAND", or "FINAL".
  c                       e Zd ZdZdZdZdZy) Backup.BackupKindValueValuesEnumzOutput only. Specifies the kind of backup, PHYSICAL or
    DEFAULT_SNAPSHOT.

    Values:
      SQL_BACKUP_KIND_UNSPECIFIED: This is an unknown BackupKind.
      SNAPSHOT: Snapshot-based backups.
      PHYSICAL: Physical backups.
    r   r
   r   Nr   r   r   r   SQL_BACKUP_KIND_UNSPECIFIEDSNAPSHOTPHYSICALr   r   r   BackupKindValueValuesEnumr?      s     #$HHr   rD   c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)5%Backup.DatabaseVersionValueValuesEnuma  Output only. The database version of the instance of at the time this
    backup was made.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r               	   
                                                                      !   "   #   $   %   &   '   (   )   *   +   ,   -   .   /   0   1   N6r   r   r   r    SQL_DATABASE_VERSION_UNSPECIFIED	MYSQL_5_1	MYSQL_5_5	MYSQL_5_6	MYSQL_5_7	MYSQL_8_0MYSQL_8_0_18MYSQL_8_0_26MYSQL_8_0_27MYSQL_8_0_28MYSQL_8_0_29MYSQL_8_0_30MYSQL_8_0_31MYSQL_8_0_32MYSQL_8_0_33MYSQL_8_0_34MYSQL_8_0_35MYSQL_8_0_36MYSQL_8_0_37MYSQL_8_0_39MYSQL_8_0_40MYSQL_8_0_41MYSQL_8_0_42MYSQL_8_0_43MYSQL_8_0_44MYSQL_8_0_45MYSQL_8_0_46	MYSQL_8_4SQLSERVER_2017_STANDARDSQLSERVER_2017_ENTERPRISESQLSERVER_2017_EXPRESSSQLSERVER_2017_WEBPOSTGRES_9_6POSTGRES_10POSTGRES_11POSTGRES_12POSTGRES_13POSTGRES_14POSTGRES_15POSTGRES_16POSTGRES_17POSTGRES_18SQLSERVER_2019_STANDARDSQLSERVER_2019_ENTERPRISESQLSERVER_2019_EXPRESSSQLSERVER_2019_WEBSQLSERVER_2022_STANDARDSQLSERVER_2022_ENTERPRISESQLSERVER_2022_EXPRESSSQLSERVER_2022_WEBr   r   r   DatabaseVersionValueValuesEnumrF         Qd ()$IIIIILLLLLLLLLLLLLLLLLLLLLI  "LKKKKKKKKK  "  "r   r   c                   ,    e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
Backup.StateValueValuesEnuma  Output only. The state of this backup.

    Values:
      SQL_BACKUP_STATE_UNSPECIFIED: The state of the backup is unknown.
      ENQUEUED: The backup that's added to a queue.
      RUNNING: The backup is in progress.
      FAILED: The backup failed.
      SUCCESSFUL: The backup is successful.
      DELETING: The backup is being deleted.
      DELETION_FAILED: Deletion of the backup failed.
    r   r
   r   r   r   rG   rH   N)r   r   r   r   SQL_BACKUP_STATE_UNSPECIFIEDENQUEUEDRUNNINGFAILED
SUCCESSFULDELETINGDELETION_FAILEDr   r   r   StateValueValuesEnumr   F  s-    
 $% HGFJHOr   r   c                        e Zd ZdZdZdZdZdZy)Backup.TypeValueValuesEnumau  Output only. The type of this backup. The type can be "AUTOMATED",
    "ON_DEMAND", or "FINAL".

    Values:
      SQL_BACKUP_TYPE_UNSPECIFIED: This is an unknown backup type.
      AUTOMATED: The backup schedule triggers a backup automatically.
      ON_DEMAND: The user triggers a backup manually.
      FINAL: The backup that's created when the instance is deleted.
    r   r
   r   r   N)r   r   r   r   SQL_BACKUP_TYPE_UNSPECIFIED	AUTOMATED	ON_DEMANDFINALr   r   r   TypeValueValuesEnumr   Z  s     #$IIEr   r   Intervalr
   r   r   r   rG   OperationErrorrH   rI   rJ   rK   DatabaseInstancerL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   N)&r   r   r   r   r   r3   rD   r   r   r   MessageFieldbackupIntervalr4   
backupKindr   	backupRundatabaseVersiondescriptionerror
expiryTimeinstanceinstanceDeletionTimeinstanceSettingsr   kmsKeykmsKeyVersionlocationr%   maxChargeableBytesr   BooleanFieldsatisfiesPzisatisfiesPzsselfLinkstatetimeZonettlDaystyper   r   r   r=   r=   v   s   :x).. Dy~~ DLY^^ (INN  *9))*a8."y""#>B*#i##A&)'I''(H!L/%	%%a(+
 )
 
 !11
5%$y$$Q'*"Y""1%(...q1+Y++,>C			r	"$ 9  $&')''+-"Y""2&(-y--b1			r	"$'''+,'''+,"Y""2&(
)

4b
9%"Y""2&("I""2&'			2B	7$r   r=   c                   H   e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  dd      Z ej                  d	      Z ej                  d
      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej,                  dej.                  j0                        Z ej                  dd      Zy)BackupConfigurationa  Database instance backup configuration.

  Enums:
    BackupTierValueValuesEnum: Output only. Backup tier that manages the
      backups for the instance.
    TransactionalLogStorageStateValueValuesEnum: Output only. This value
      contains the storage location of transactional logs for the database for
      point-in-time recovery.

  Fields:
    backupRetentionSettings: Backup retention settings.
    backupTier: Output only. Backup tier that manages the backups for the
      instance.
    binaryLogEnabled: (MySQL only) Whether binary log is enabled. If backup
      configuration is disabled, binarylog must be disabled as well.
    enabled: Whether this configuration is enabled.
    kind: This is always `sql#backupConfiguration`.
    location: Location of the backup
    managementConfig: Output only. Configurations for Backup and DR Service
      managed instances.
    pointInTimeRecoveryEnabled: Whether point in time recovery is enabled.
    replicationLogArchivingEnabled: Reserved for future use.
    startTime: Start time for the daily backup configuration in UTC timezone
      in the 24 hour format - `HH:MM`.
    transactionLogRetentionDays: The number of days of transaction logs we
      retain for point in time restore, from 1-7.
    transactionalLogStorageState: Output only. This value contains the storage
      location of transactional logs for the database for point-in-time
      recovery.
  c                        e Zd ZdZdZdZdZdZy)-BackupConfiguration.BackupTierValueValuesEnumaW  Output only. Backup tier that manages the backups for the instance.

    Values:
      BACKUP_TIER_UNSPECIFIED: Unspecified.
      STANDARD: Instance is managed by Cloud SQL.
      ADVANCED: Deprecated: ADVANCED is deprecated. Please use ENHANCED
        instead.
      ENHANCED: Instance is managed by Google Cloud Backup and DR Service.
    r   r
   r   r   N)r   r   r   r   BACKUP_TIER_UNSPECIFIEDSTANDARDADVANCEDENHANCEDr   r   r   BackupTierValueValuesEnumr     s      HHHr   r   c                   $    e Zd ZdZdZdZdZdZdZy)?BackupConfiguration.TransactionalLogStorageStateValueValuesEnumaf  Output only. This value contains the storage location of transactional
    logs for the database for point-in-time recovery.

    Values:
      TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIED: Unspecified.
      DISK: The transaction logs used for PITR for the instance are stored on
        a data disk.
      SWITCHING_TO_CLOUD_STORAGE: The transaction logs used for PITR for the
        instance are switching from being stored on a data disk to being
        stored in Cloud Storage. Only applicable to MySQL.
      SWITCHED_TO_CLOUD_STORAGE: The transaction logs used for PITR for the
        instance are now stored in Cloud Storage. Previously, they were stored
        on a data disk. Only applicable to MySQL.
      CLOUD_STORAGE: The transaction logs used for PITR for the instance are
        stored in Cloud Storage. Only applicable to MySQL and PostgreSQL.
    r   r
   r   r   r   N)	r   r   r   r   +TRANSACTIONAL_LOG_STORAGE_STATE_UNSPECIFIEDDISKSWITCHING_TO_CLOUD_STORAGESWITCHED_TO_CLOUD_STORAGECLOUD_STORAGEr   r   r   +TransactionalLogStorageStateValueValuesEnumr     s%      34/D!" !Mr   r   BackupRetentionSettingsr
   r   r   r   rG   rH   ManagementConfigrI   rJ   rK   rL   rM   r#   rN   N)r   r   r   r   r   r3   r   r   r   backupRetentionSettingsr4   
backupTierr   binaryLogEnabledenabledr   r   r   managementConfigpointInTimeRecoveryEnabledreplicationLogArchivingEnabled	startTimer%   r&   r'   transactionLogRetentionDaystransactionalLogStorageStater   r   r   r   r     s#   >).. INN . 3I223LaP"y""#>B*+Y++A."I""1%'			q	!$"Y""1%(+Y++,>B5y55a8#99#9#9!#< #i##B') 6	 6 6r9CTCTCZCZ [!4!4!45bdf!gr   r   c                   |    e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  d      Z	y)BackupContextzBackup context.

  Fields:
    backupId: The identifier of the backup.
    kind: This is always `sql#backupContext`.
    name: The name of the backup. Format: projects/{project}/backups/{backup}
  r
   r   r   N)
r   r   r   r   r   r%   backupIdr   r   r   r   r   r   r   r     s?     $Y##A&(			q	!$			q	!$r   r   c                       e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  dd      Zy)BackupReencryptionConfigzBackup Reencryption Config

  Enums:
    BackupTypeValueValuesEnum: Type of backups users want to re-encrypt.

  Fields:
    backupLimit: Backup re-encryption limit
    backupType: Type of backups users want to re-encrypt.
  c                       e Zd ZdZdZdZdZy)2BackupReencryptionConfig.BackupTypeValueValuesEnumzType of backups users want to re-encrypt.

    Values:
      BACKUP_TYPE_UNSPECIFIED: Unknown backup type, will be defaulted to
        AUTOMATIC backup type
      AUTOMATED: Reencrypt automatic backups
      ON_DEMAND: Reencrypt on-demand backups
    r   r
   r   N)r   r   r   r   BACKUP_TYPE_UNSPECIFIEDr   r   r   r   r   BackupTypeValueValuesEnumr     s      IIr   r   r
   r#   r   N)r   r   r   r   r   r3   r   r%   r&   r'   backupLimitr4   
backupTyper   r   r   r   r     sN    )..  '	&&q)2C2C2I2IJ+"y""#>B*r   r   c                       e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  dd      Zy)r   a  We currently only support backup retention by specifying the number of
  backups we will retain.

  Enums:
    RetentionUnitValueValuesEnum: The unit that 'retained_backups' represents.

  Fields:
    retainedBackups: Depending on the value of retention_unit, this is used to
      determine if a backup needs to be deleted. If retention_unit is 'COUNT',
      we will retain this many backups.
    retentionUnit: The unit that 'retained_backups' represents.
  c                       e Zd ZdZdZdZy)4BackupRetentionSettings.RetentionUnitValueValuesEnuma  The unit that 'retained_backups' represents.

    Values:
      RETENTION_UNIT_UNSPECIFIED: Backup retention unit is unspecified, will
        be treated as COUNT.
      COUNT: Retention will be by count, eg. "retain the most recent 7
        backups".
    r   r
   N)r   r   r   r   RETENTION_UNIT_UNSPECIFIEDCOUNTr   r   r   RetentionUnitValueValuesEnumr     s     "#Er   r  r
   r#   r   N)r   r   r   r   r   r3   r  r%   r&   r'   retainedBackupsr4   retentionUnitr   r   r   r   r      sN    
Y^^ 
 +I**1i6G6G6M6MN/%)%%&DaH-r   r   c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z G d d	ej
                        Z	 ej                  d
      Z ej                  dd      Z ej                  dd      Z ej                  d      Z ej                   dd      Z ej                   dd      Z ej                  d      Z ej                  d      Z ej                   dd      Z ej,                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej,                  d      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  d	d      Z  ej                  d       Z!y!)"	BackupRunay
  A BackupRun resource.

  Enums:
    BackupKindValueValuesEnum: Specifies the kind of backup, PHYSICAL or
      DEFAULT_SNAPSHOT.
    DatabaseVersionValueValuesEnum: Output only. The instance database version
      at the time this backup was made.
    StatusValueValuesEnum: The status of this run.
    TypeValueValuesEnum: The type of this run; can be either "AUTOMATED" or
      "ON_DEMAND" or "FINAL". This field defaults to "ON_DEMAND" and is
      ignored, when specified for insert requests.

  Fields:
    backupDatabaseInstalledVersion: Output only. Currently installed database
      version on the instance, including minor versions, such as
      `MYSQL_8_0_18`.
    backupKind: Specifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.
    databaseVersion: Output only. The instance database version at the time
      this backup was made.
    description: The description of this run, only applicable to on-demand
      backups.
    diskEncryptionConfiguration: Encryption configuration specific to a
      backup.
    diskEncryptionStatus: Encryption status specific to a backup.
    endTime: The time the backup operation completed in UTC timezone in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    enqueuedTime: The time the run was enqueued in UTC timezone in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    error: Information about why the backup operation failed. This is only
      present if the run has the FAILED status.
    id: The identifier for this backup run. Unique only for a specific Cloud
      SQL instance.
    instance: Name of the database instance.
    kind: This is always `sql#backupRun`.
    location: Location of the backups.
    maxChargeableBytes: Output only. The maximum chargeable bytes for the
      backup.
    selfLink: The URI of this resource.
    startTime: The time the backup operation actually started in UTC timezone
      in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    status: The status of this run.
    timeZone: Backup time zone to prevent restores to an instance with a
      different time zone. Now relevant only for SQL Server.
    type: The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or
      "FINAL". This field defaults to "ON_DEMAND" and is ignored, when
      specified for insert requests.
    windowStartTime: The start time of the backup window during which this the
      backup was attempted in [RFC 3339](https://tools.ietf.org/html/rfc3339)
      format, for example `2012-11-15T16:19:00.094Z`.
  c                       e Zd ZdZdZdZdZy)#BackupRun.BackupKindValueValuesEnumzSpecifies the kind of backup, PHYSICAL or DEFAULT_SNAPSHOT.

    Values:
      SQL_BACKUP_KIND_UNSPECIFIED: This is an unknown BackupKind.
      SNAPSHOT: Snapshot-based backups.
      PHYSICAL: Physical backups.
    r   r
   r   Nr@   r   r   r   rD   r  U  s     #$HHr   rD   c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)5(BackupRun.DatabaseVersionValueValuesEnuma  Output only. The instance database version at the time this backup was
    made.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Nrt   r   r   r   r   r	  a  r   r   r   c                   8    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZy)BackupRun.StatusValueValuesEnuma  The status of this run.

    Values:
      SQL_BACKUP_RUN_STATUS_UNSPECIFIED: The status of the run is unknown.
      ENQUEUED: The backup operation was enqueued.
      OVERDUE: The backup is overdue across a given backup window. Indicates a
        problem. Example: Long-running operation in progress during the whole
        window.
      RUNNING: The backup is in progress.
      FAILED: The backup failed.
      SUCCESSFUL: The backup was successful.
      SKIPPED: The backup was skipped (without problems) for a given backup
        window. Example: Instance was idle.
      DELETION_PENDING: The backup is about to be deleted.
      DELETION_FAILED: The backup deletion failed.
      DELETED: The backup has been deleted.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   N)r   r   r   r   !SQL_BACKUP_RUN_STATUS_UNSPECIFIEDr   OVERDUEr   r   r   SKIPPEDDELETION_PENDINGr   DELETEDr   r   r   StatusValueValuesEnumr    s=    " )*%HGGFJGOGr   r  c                        e Zd ZdZdZdZdZdZy)BackupRun.TypeValueValuesEnuma  The type of this run; can be either "AUTOMATED" or "ON_DEMAND" or
    "FINAL". This field defaults to "ON_DEMAND" and is ignored, when specified
    for insert requests.

    Values:
      SQL_BACKUP_RUN_TYPE_UNSPECIFIED: This is an unknown BackupRun type.
      AUTOMATED: The backup schedule automatically triggers a backup.
      ON_DEMAND: The user manually triggers a backup.
      FINAL: The backup created when instance is deleted.
    r   r
   r   r   N)r   r   r   r   SQL_BACKUP_RUN_TYPE_UNSPECIFIEDr   r   r   r   r   r   r   r    s    	 '(#IIEr   r   r
   r   r   r   DiskEncryptionConfigurationrG   DiskEncryptionStatusrH   rI   rJ   r   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   N)"r   r   r   r   r   r3   rD   r   r  r   r   backupDatabaseInstalledVersionr4   r   r   r   r   diskEncryptionConfigurationdiskEncryptionStatusendTimeenqueuedTimer   r%   idr   r   r   r   r   r   statusr   r   windowStartTimer   r   r   r  r    s   4l
).. 
Dy~~ DLinn :INN   $99#8#8#; "y""#>B*'I''(H!L/%	%%a(+ 6	 6 67TVW X///0FJ!I!!!$'&&&q),
 )
 
 !11
5%yb!""Y""2&(			r	"$"Y""2&(-y--b1"Y""2&(#i##B')96;&"Y""2&(			2B	7$)I))"-/r   r  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z	y)	BackupRunsListResponsea_  Backup run list results.

  Fields:
    items: A list of backup runs in reverse chronological order of the
      enqueued time.
    kind: This is always `sql#backupRunsList`.
    nextPageToken: The continuation token, used to page through large result
      sets. Provide this value in a subsequent request to return the next page
      of results.
  r  r
   Trepeatedr   r   N
r   r   r   r   r   r   itemsr   r   nextPageTokenr   r   r   r   r   *  sC    	 !)
 
 a$
?%			q	!$')''*-r   r   c                   |    e Zd ZdZ ej
                  d      Z ej                  d      Z ej
                  d      Z	y)BinLogCoordinateszBinary log coordinates.

  Fields:
    binLogFileName: Name of the binary log file for a Cloud SQL instance.
    binLogPosition: Position (offset) within the binary log file.
    kind: This is always `sql#binLogCoordinates`.
  r
   r   r   N)
r   r   r   r   r   r   binLogFileNamer%   binLogPositionr   r   r   r   r'  r'  ;  s?     )9((+.)9))!,.			q	!$r   r'  c                   ~   e Zd ZdZ ej
                  d      Z ej                  dd      Z ej
                  dd      Z	 ej
                  d      Z
 ej
                  d	      Z ej                  d
      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Zy)CloneContexta6  Database instance clone context.

  Fields:
    allocatedIpRange: The name of the allocated ip range for the private ip
      Cloud SQL instance. For example: "google-managed-services-default". If
      set, the cloned instance ip will be created in the allocated range. The
      range name must comply with [RFC
      1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must
      be 1-63 characters long and match the regular expression
      [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
    binLogCoordinates: Binary log coordinates, if specified, identify the
      position up to which the source instance is cloned. If not specified,
      the source instance is cloned up to the most recent binary log
      coordinates.
    databaseNames: (SQL Server only) Clone only the specified databases from
      the source instance. Clone all databases if empty.
    destinationInstanceName: Name of the Cloud SQL instance to be created as a
      clone.
    kind: This is always `sql#cloneContext`.
    pitrTimestampMs: Reserved for future use.
    pointInTime: Timestamp, if specified, identifies the time to which the
      source instance is cloned.
    preferredSecondaryZone: Optional. Copy clone and point-in-time recovery
      clone of a regional instance in the specified zones. If not specified,
      clone to the same secondary zone as the source instance. This value
      cannot be the same as the preferred_zone field.
    preferredZone: Optional. Copy clone and point-in-time recovery clone of an
      instance to the specified zone. If no zone is specified, clone to the
      same primary zone as the source instance.
    sourceInstanceDeletionTime: The timestamp used to identify the time when
      the source instance is deleted. If this instance is deleted, then you
      must set the timestamp.
  r
   r'  r   r   Tr!  r   rG   rH   rI   rJ   rK   rL   N)r   r   r   r   r   r   allocatedIpRanger   binLogCoordinatesdatabaseNamesdestinationInstanceNamer   r%   pitrTimestampMspointInTimepreferredSecondaryZonepreferredZonesourceInstanceDeletionTimer   r   r   r+  r+  I  s     D +Y**1-,i,,-@!D')''D9-1I11!4			q	!$*I**1-/%	%%a(+09003')''*-4y44R8r   r+  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)ColumnzyContains the name and datatype of a column.

  Fields:
    name: Name of the column.
    type: Datatype of the column.
  r
   r   N)r   r   r   r   r   r   r   r   r   r   r   r6  r6  x  s-     
		q	!$			q	!$r   r6  c                       e Zd ZdZ ej
                  d      Z ej                  ddd      Z ej                  ddd      Z	 ej
                  d	      Z
y
)ConnectPoolNodeConfiga  Details of a single read pool node of a read pool.

  Fields:
    dnsName: Output only. The DNS name of the read pool node.
    dnsNames: Output only. The list of DNS names used by this read pool node.
    ipAddresses: Output only. Mappings containing IP addresses that can be
      used to connect to the read pool node.
    name: Output only. The name of the read pool node. Doesn't include the
      project ID.
  r
   DnsNameMappingr   Tr!  	IpMappingr   r   N)r   r   r   r   r   r   dnsNamer   dnsNamesipAddressesr   r   r   r   r8  r8    sZ    	 "I!!!$'#Y##$4a$G(&	&&{AE+			q	!$r   r8  c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z G d d	ej
                        Z	 ej                  dd
      Z ej                  dd      Z ej                  dd      Z ej                  d      Z ej                   ddd      Z ej                   ddd      Z ej                  d      Z ej                  ddd      Z ej*                  dej,                  j.                        Z ej                   ddd      Z ej4                  d      Z ej                  d      Z ej                   dd      Z ej                  d	d      Zy) ConnectSettingsa  Connect settings retrieval response.

  Enums:
    BackendTypeValueValuesEnum: `SECOND_GEN`: Cloud SQL database instance.
      `EXTERNAL`: A database server that is not managed by Google. This
      property is read-only; use the `tier` property in the `settings` object
      to determine the database type.
    DatabaseVersionValueValuesEnum: The database engine type and version. The
      `databaseVersion` field cannot be changed after instance creation. MySQL
      instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`.
      PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or
      `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server
      instances: `SQLSERVER_2017_STANDARD` (default),
      `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
      `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
      `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
      `SQLSERVER_2019_WEB`.
    MdxProtocolSupportValueListEntryValuesEnum:
    ServerCaModeValueValuesEnum: Specify what type of CA is used for the
      server certificate.

  Fields:
    backendType: `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A
      database server that is not managed by Google. This property is read-
      only; use the `tier` property in the `settings` object to determine the
      database type.
    customSubjectAlternativeNames: Custom subject alternative names for the
      server certificate.
    databaseVersion: The database engine type and version. The
      `databaseVersion` field cannot be changed after instance creation. MySQL
      instances: `MYSQL_8_0`, `MYSQL_5_7` (default), or `MYSQL_5_6`.
      PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or
      `POSTGRES_12` (default), `POSTGRES_13`, or `POSTGRES_14`. SQL Server
      instances: `SQLSERVER_2017_STANDARD` (default),
      `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`,
      `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
      `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
      `SQLSERVER_2019_WEB`.
    dnsName: The dns name of the instance.
    dnsNames: Output only. The list of DNS names used by this instance.
    ipAddresses: The assigned IP addresses for the instance.
    kind: This is always `sql#connectSettings`.
    mdxProtocolSupport: Optional. Output only. mdx_protocol_support controls
      how the client uses metadata exchange when connecting to the instance.
      The values in the list representing parts of the MDX protocol that are
      supported by this instance. When the list is empty, the instance does
      not support MDX, so the client must not send an MDX request. The default
      is empty.
    nodeCount: The number of read pool nodes in a read pool.
    nodes: Output only. Entries containing information about each read pool
      node of the read pool.
    pscEnabled: Whether PSC connectivity is enabled for this instance.
    region: The cloud region for the instance. e.g. `us-central1`, `europe-
      west1`. The region cannot be changed after instance creation.
    serverCaCert: SSL configuration.
    serverCaMode: Specify what type of CA is used for the server certificate.
  c                        e Zd ZdZdZdZdZdZy)*ConnectSettings.BackendTypeValueValuesEnuma  `SECOND_GEN`: Cloud SQL database instance. `EXTERNAL`: A database
    server that is not managed by Google. This property is read-only; use the
    `tier` property in the `settings` object to determine the database type.

    Values:
      SQL_BACKEND_TYPE_UNSPECIFIED: This is an unknown backend type for
        instance.
      FIRST_GEN: V1 speckle instance.
      SECOND_GEN: V2 speckle instance.
      EXTERNAL: On premises instance.
    r   r
   r   r   Nr   r   r   r   SQL_BACKEND_TYPE_UNSPECIFIED	FIRST_GEN
SECOND_GENEXTERNALr   r   r   BackendTypeValueValuesEnumrA    s    
 $% IJHr   rG  c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)5.ConnectSettings.DatabaseVersionValueValuesEnuma  The database engine type and version. The `databaseVersion` field
    cannot be changed after instance creation. MySQL instances: `MYSQL_8_0`,
    `MYSQL_5_7` (default), or `MYSQL_5_6`. PostgreSQL instances:
    `POSTGRES_9_6`, `POSTGRES_10`, `POSTGRES_11` or `POSTGRES_12` (default),
    `POSTGRES_13`, or `POSTGRES_14`. SQL Server instances:
    `SQLSERVER_2017_STANDARD` (default), `SQLSERVER_2017_ENTERPRISE`,
    `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`, `SQLSERVER_2019_STANDARD`,
    `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, or
    `SQLSERVER_2019_WEB`.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Nrt   r   r   r   r   rI    s   Xr ()$IIIIILLLLLLLLLLLLLLLLLLLLLI  "LKKKKKKKKK  "  "r   r   c                       e Zd ZdZdZdZy):ConnectSettings.MdxProtocolSupportValueListEntryValuesEnumzMdxProtocolSupportValueListEntryValuesEnum enum type.

    Values:
      MDX_PROTOCOL_SUPPORT_UNSPECIFIED: Not specified.
      CLIENT_PROTOCOL_TYPE: Client should send the client protocol type in the
        MDX request.
    r   r
   N)r   r   r   r    MDX_PROTOCOL_SUPPORT_UNSPECIFIEDCLIENT_PROTOCOL_TYPEr   r   r   *MdxProtocolSupportValueListEntryValuesEnumrK  o  s     ()$r   rN  c                        e Zd ZdZdZdZdZdZy)+ConnectSettings.ServerCaModeValueValuesEnum'  Specify what type of CA is used for the server certificate.

    Values:
      CA_MODE_UNSPECIFIED: CA mode is unspecified. It is effectively the same
        as `GOOGLE_MANAGED_INTERNAL_CA`.
      GOOGLE_MANAGED_INTERNAL_CA: Google-managed self-signed internal CA.
      GOOGLE_MANAGED_CAS_CA: Google-managed regional CA part of root CA
        hierarchy hosted on Google Cloud's Certificate Authority Service
        (CAS).
      CUSTOMER_MANAGED_CAS_CA: Customer-managed CA hosted on Google Cloud's
        Certificate Authority Service (CAS).
    r   r
   r   r   Nr   r   r   r   CA_MODE_UNSPECIFIEDGOOGLE_MANAGED_INTERNAL_CAGOOGLE_MANAGED_CAS_CACUSTOMER_MANAGED_CAS_CAr   r   r   ServerCaModeValueValuesEnumrP  z  !     !"r   rW  r
   r   Tr!  r   r   r9  rG   r:  rH   rI   rJ   rK   r#   r8  rL   rM   rN   SslCertrO   rP   N)r   r   r   r   r   r3   rG  r   rN  rW  r4   backendTyper   customSubjectAlternativeNamesr   r;  r   r<  r=  r   mdxProtocolSupportr%   r&   r'   	nodeCountnodesr   
pscEnabledr7   serverCaCertserverCaModer   r   r   r?  r?    s{   8t9>> "Ky~~ KZ	9>> 	 INN  $ $	##$@!D+"7)"7"7D"I'I''(H!L/!I!!!$'#Y##$4a$G(&	&&{AE+			q	!$*y**+WYZeij$i$$Q	0A0A0G0GH)
 )
 
 !8"t
L%%y%%b)* 9  $&'''	26,$$$%BBG,r   r?  c                       e Zd ZdZ ej
                  d      Z ej                  ddd      Z ej                  dej                  j                        Zy	)
ConnectionPoolConfiga  The managed connection pooling configuration.

  Fields:
    connectionPoolingEnabled: Whether managed connection pooling is enabled.
    flags: Optional. List of connection pool configuration flags.
    poolerCount: Output only. Number of connection poolers.
  r
   ConnectionPoolFlagsr   Tr!  r   r#   N)r   r   r   r   r   r   connectionPoolingEnabledr   flagsr%   r&   r'   poolerCountr   r   r   rc  rc    sS     4Y33A6
 )
 
 !6D
I%&	&&q)2C2C2I2IJ+r   rc  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rd  a?  Connection pool flags for Cloud SQL instances managed connection pool
  configuration.

  Fields:
    name: Required. The name of the flag.
    value: Required. The value of the flag. Boolean flags are set to `on` for
      true and `off` for false. This field must be omitted if the flag doesn't
      take a value.
  r
   r   Nr   r   r   r   r   r   r   r   r   r   r   rd  rd    s-     
		q	!$
)


"%r   rd  c                   4    e Zd ZdZ ej
                  d      Zy)DataCacheConfigznData cache configurations.

  Fields:
    dataCacheEnabled: Whether data cache is enabled for the instance.
  r
   N)r   r   r   r   r   r   dataCacheEnabledr   r   r   rk  rk    s     ,Y++A.r   rk  c                   V   e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d      Z ej
                  d      Z ej
                  d	      Z ej                  d
d      Zy)Databasea  Represents a SQL database on the Cloud SQL instance.

  Fields:
    charset: The Cloud SQL charset value.
    collation: The Cloud SQL collation value.
    etag: This field is deprecated and will be removed from a future version
      of the API.
    instance: The name of the Cloud SQL instance. This does not include the
      project ID.
    kind: This is always `sql#database`.
    name: The name of the database in the Cloud SQL instance. This does not
      include the project ID or instance name.
    project: The project ID of the project containing the Cloud SQL database.
      The Google apps domain is prefixed if applicable.
    selfLink: The URI of this resource.
    sqlserverDatabaseDetails: A SqlServerDatabaseDetails attribute.
  r
   r   r   r   rG   rH   rI   rJ   SqlServerDatabaseDetailsrK   N)r   r   r   r   r   r   charset	collationetagr   r   r   projectr   r   sqlserverDatabaseDetailsr   r   r   rn  rn    s    $ "I!!!$'#i##A&)			q	!$"Y""1%(			q	!$			q	!$!I!!!$'"Y""1%(3Y334NPQRr   rn  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)DatabaseFlagsa.  Database flags for Cloud SQL instances.

  Fields:
    name: The name of the flag. These flags are passed at instance startup, so
      include both server options and system variables. Flags are specified
      with underscores, not hyphens. For more information, see [Configuring
      Database Flags](https://cloud.google.com/sql/docs/mysql/flags) in the
      Cloud SQL documentation.
    value: The value of the flag. Boolean flags are set to `on` for true and
      `off` for false. This field must be omitted if the flag doesn't take a
      value.
  r
   r   Nri  r   r   r   rv  rv    s-     
		q	!$
)


"%r   rv  c                   	   e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z G d d	ej
                        Z	 G d
 dej
                        Z
 G d dej
                        Z G d dej
                        Z G d dej                        Z ej                   d       G d dej                               Z ej$                  dd      Z ej(                  dd      Z ej$                  d      Z ej$                  d      Z ej0                  d      Z ej$                  d      Z ej(                  dd      Z ej8                  dd      Z ej8                  d d!      Z ej$                  d"      Z ej8                  d#d$d      Z  ej$                  d%      Z! ej8                  dd&      Z" ej$                  d'      Z# ej8                  d(d)      Z$ ejJ                  d*      Z& ej(                  dd+      Z' ej(                  d	d,      Z( ej8                  d-d.d      Z) ej$                  d/      Z* ej$                  d0      Z+ ej$                  d1      Z, ejJ                  d2      Z- ej$                  d3      Z. ej0                  d4      Z/ ej$                  d5      Z0 ej0                  d6ejb                  jd                  7      Z3 ej8                  d8d9d      Z4 ej8                  d:d;      Z5 ej8                  d<d=      Z6 ej$                  d>      Z7 ej$                  d?      Z8 ej$                  d@      Z9 ej$                  dA      Z: ej8                  dBdC      Z; ej$                  dDd      Z< ej8                  dEdF      Z= ej$                  dG      Z> ejJ                  dH      Z? ejJ                  dI      Z@ ej8                  dJdK      ZA ej$                  dL      ZB ej$                  dM      ZC ej8                  dNdO      ZD ej$                  dP      ZE ej8                  dQdR      ZF ej$                  dSd      ZG ej(                  ddT      ZH ej(                  ddU      ZI ej(                  ddVd      ZJ ejJ                  dW      ZK ej8                  ddX      ZL ej8                  dYdZd      ZM ej$                  d[      ZNy\)]r   a#!  A Cloud SQL instance resource.

  Enums:
    BackendTypeValueValuesEnum: The backend type. `SECOND_GEN`: Cloud SQL
      database instance. `EXTERNAL`: A database server that is not managed by
      Google. This property is read-only; use the `tier` property in the
      `settings` object to determine the database type.
    DatabaseVersionValueValuesEnum: The database engine type and version. The
      `databaseVersion` field cannot be changed after instance creation.
    InstalledVersionValueValuesEnum: Stores the current database version
      including minor version such as `MYSQL_8_0_18`.
    InstanceTypeValueValuesEnum: The instance type.
    SqlNetworkArchitectureValueValuesEnum: The SQL network architecture for
      the instance.
    StateValueValuesEnum: The current serving state of the Cloud SQL instance.
    SuspensionReasonValueListEntryValuesEnum:

  Messages:
    FailoverReplicaValue: The name and status of the failover replica.
    TagsValue: Optional. Input only. Immutable. Tag keys and tag values that
      are bound to this instance. You must represent each item in the map as:
      `"" : ""`. For example, a single resource can have the following tags:
      ``` "123/environment": "production", "123/costCenter": "marketing", ```
      For more information on tag creation and management, see
      https://cloud.google.com/resource-manager/docs/tags/tags-overview.

  Fields:
    availableMaintenanceVersions: Output only. List all maintenance versions
      applicable on the instance
    backendType: The backend type. `SECOND_GEN`: Cloud SQL database instance.
      `EXTERNAL`: A database server that is not managed by Google. This
      property is read-only; use the `tier` property in the `settings` object
      to determine the database type.
    connectionName: Connection name of the Cloud SQL instance used in
      connection strings.
    createTime: Output only. The time when the instance was created in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    currentDiskSize: The current disk usage of the instance in bytes. This
      property has been deprecated. Use the
      "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud
      Monitoring API instead. Please see [this
      announcement](https://groups.google.com/d/msg/google-cloud-sql-
      announce/I_7-F9EBhT0/BtvFtdFeAgAJ) for details.
    databaseInstalledVersion: Output only. Stores the current database version
      running on the instance including minor version such as `MYSQL_8_0_18`.
    databaseVersion: The database engine type and version. The
      `databaseVersion` field cannot be changed after instance creation.
    diskEncryptionConfiguration: Disk encryption configuration specific to an
      instance.
    diskEncryptionStatus: Disk encryption status specific to an instance.
    dnsName: Output only. The dns name of the instance.
    dnsNames: Output only. The list of DNS names used by this instance.
    etag: This field is deprecated and will be removed from a future version
      of the API. Use the `settings.settingsVersion` field instead.
    failoverReplica: The name and status of the failover replica.
    gceZone: The Compute Engine zone that the instance is currently serving
      from. This value could be different from the zone that was specified
      when the instance was created if the instance has failed over to its
      secondary zone. WARNING: Changing this might restart the instance.
    geminiConfig: Gemini instance configuration.
    includeReplicasForMajorVersionUpgrade: Input only. Determines whether an
      in-place major version upgrade of replicas happens when an in-place
      major version upgrade of a primary instance is initiated.
    installedVersion: Stores the current database version including minor
      version such as `MYSQL_8_0_18`.
    instanceType: The instance type.
    ipAddresses: The assigned IP addresses for the instance.
    ipv6Address: The IPv6 address assigned to the instance. (Deprecated) This
      property was applicable only to First Generation instances.
    kind: This is always `sql#instance`.
    maintenanceVersion: The current software version on the instance.
    majorVersionUpgradeIncludesReplicas: Input only. Deprecated field. Use the
      field include_replicas_for_major_version_upgrade instead.
    masterInstanceName: The name of the instance which will act as primary in
      the replication setup.
    maxDiskSize: The maximum disk size of the instance in bytes.
    name: Name of the Cloud SQL instance. This does not include the project
      ID.
    nodeCount: The number of read pool nodes in a read pool.
    nodes: Output only. Entries containing information about each read pool
      node of the read pool.
    onPremisesConfiguration: Configuration specific to on-premises instances.
    outOfDiskReport: This field represents the report generated by the
      proactive database wellness job for OutOfDisk issues. * Writers: * the
      proactive database wellness job for OOD. * Readers: * the proactive
      database wellness job
    primaryDnsName: Output only. DEPRECATED: please use write_endpoint
      instead.
    project: The project ID of the project containing the Cloud SQL instance.
      The Google apps domain is prefixed if applicable.
    pscServiceAttachmentLink: Output only. The link to service attachment of
      PSC instance.
    region: The geographical region of the Cloud SQL instance. It can be one
      of the
      [regions](https://cloud.google.com/sql/docs/mysql/locations#location-r)
      where Cloud SQL operates: For example, `asia-east1`, `europe-west1`, and
      `us-central1`. The default value is `us-central1`.
    replicaConfiguration: Configuration specific to failover replicas and read
      replicas.
    replicaNames: The replicas of the instance.
    replicationCluster: A primary instance and disaster recovery (DR) replica
      pair. A DR replica is a cross-region replica that you designate for
      failover in the event that the primary instance experiences regional
      failure. Applicable to MySQL and PostgreSQL.
    rootPassword: Initial root password. Use only on creation. You must set
      root passwords before you can connect to PostgreSQL instances.
    satisfiesPzi: Output only. This status indicates whether the instance
      satisfies PZI. The status is reserved for future use.
    satisfiesPzs: This status indicates whether the instance satisfies PZS.
      The status is reserved for future use.
    scheduledMaintenance: The start time of any upcoming scheduled maintenance
      for this instance.
    secondaryGceZone: The Compute Engine zone that the failover instance is
      currently serving from for a regional instance. This value could be
      different from the zone that was specified when the instance was created
      if the instance has failed over to its secondary/failover zone.
    selfLink: The URI of this resource.
    serverCaCert: SSL configuration.
    serviceAccountEmailAddress: The service account email address assigned to
      the instance. \This property is read-only.
    settings: The user settings.
    sourceInstanceNames: Optional. A list of names of source instances, each
      of which contains connection information, and is used to perform sync
      and replication setup.
    sqlNetworkArchitecture: The SQL network architecture for the instance.
    state: The current serving state of the Cloud SQL instance.
    suspensionReason: If the instance state is SUSPENDED, the reason for the
      suspension.
    switchTransactionLogsToCloudStorageEnabled: Input only. Whether Cloud SQL
      is enabled to switch storing point-in-time recovery log files from a
      data disk to Cloud Storage.
    tags: Optional. Input only. Immutable. Tag keys and tag values that are
      bound to this instance. You must represent each item in the map as: `""
      : ""`. For example, a single resource can have the following tags: ```
      "123/environment": "production", "123/costCenter": "marketing", ``` For
      more information on tag creation and management, see
      https://cloud.google.com/resource-manager/docs/tags/tags-overview.
    upgradableDatabaseVersions: Output only. All database versions that are
      available for upgrade.
    writeEndpoint: Output only. The dns name of the primary instance in a
      replication group.
  c                        e Zd ZdZdZdZdZdZy)+DatabaseInstance.BackendTypeValueValuesEnuma  The backend type. `SECOND_GEN`: Cloud SQL database instance.
    `EXTERNAL`: A database server that is not managed by Google. This property
    is read-only; use the `tier` property in the `settings` object to
    determine the database type.

    Values:
      SQL_BACKEND_TYPE_UNSPECIFIED: This is an unknown backend type for
        instance.
      FIRST_GEN: V1 speckle instance.
      SECOND_GEN: V2 speckle instance.
      EXTERNAL: On premises instance.
    r   r
   r   r   NrB  r   r   r   rG  ry    s     $% IJHr   rG  c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)5/DatabaseInstance.DatabaseVersionValueValuesEnuma$  The database engine type and version. The `databaseVersion` field
    cannot be changed after instance creation.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Nrt   r   r   r   r   r{    r   r   r   c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)50DatabaseInstance.InstalledVersionValueValuesEnuma  Stores the current database version including minor version such as
    `MYSQL_8_0_18`.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Nrt   r   r   r   InstalledVersionValueValuesEnumr}    r   r   r~  c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	,DatabaseInstance.InstanceTypeValueValuesEnuma  The instance type.

    Values:
      SQL_INSTANCE_TYPE_UNSPECIFIED: This is an unknown Cloud SQL instance
        type.
      CLOUD_SQL_INSTANCE: A regular Cloud SQL instance that is not replicating
        from a primary instance.
      ON_PREMISES_INSTANCE: An instance running on the customer's premises
        that is not managed by Cloud SQL.
      READ_REPLICA_INSTANCE: A Cloud SQL instance acting as a read-replica.
      READ_POOL_INSTANCE: A Cloud SQL read pool.
      CLOUD_SQL_HA_CLUSTER: A Cloud SQL HA cluster.
    r   r
   r   r   r   rG   N)
r   r   r   r   SQL_INSTANCE_TYPE_UNSPECIFIEDCLOUD_SQL_INSTANCEON_PREMISES_INSTANCEREAD_REPLICA_INSTANCEREAD_POOL_INSTANCECLOUD_SQL_HA_CLUSTERr   r   r   InstanceTypeValueValuesEnumr    s-     %&!r   r  c                       e Zd ZdZdZdZdZy)6DatabaseInstance.SqlNetworkArchitectureValueValuesEnuma-  The SQL network architecture for the instance.

    Values:
      SQL_NETWORK_ARCHITECTURE_UNSPECIFIED: <no description>
      NEW_NETWORK_ARCHITECTURE: The instance uses the new network
        architecture.
      OLD_NETWORK_ARCHITECTURE: The instance uses the old network
        architecture.
    r   r
   r   N)r   r   r   r   $SQL_NETWORK_ARCHITECTURE_UNSPECIFIEDNEW_NETWORK_ARCHITECTUREOLD_NETWORK_ARCHITECTUREr   r   r   %SqlNetworkArchitectureValueValuesEnumr    s     ,-(  r   r  c                   4    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
Zy)%DatabaseInstance.StateValueValuesEnuma  The current serving state of the Cloud SQL instance.

    Values:
      SQL_INSTANCE_STATE_UNSPECIFIED: The state of the instance is unknown.
      RUNNABLE: The instance is running, or has been stopped by owner.
      SUSPENDED: The instance is not available, for example due to problems
        with billing.
      PENDING_DELETE: The instance is being deleted.
      PENDING_CREATE: The instance is being created.
      MAINTENANCE: The instance is down for maintenance.
      FAILED: The creation of the instance failed or a fatal error occurred
        during maintenance.
      ONLINE_MAINTENANCE: Deprecated
      REPAIRING: (Applicable to read pool nodes only.) The read pool node
        needs to be repaired. The database might be unavailable.
    r   r
   r   r   r   rG   rH   rI   rJ   Nr   r   r   r   SQL_INSTANCE_STATE_UNSPECIFIEDRUNNABLE	SUSPENDEDPENDING_DELETEPENDING_CREATEMAINTENANCEr   ONLINE_MAINTENANCE	REPAIRINGr   r   r   r   r    8      &'"HINNKFIr   r   c                   (    e Zd ZdZdZdZdZdZdZdZ	y)	9DatabaseInstance.SuspensionReasonValueListEntryValuesEnuma  SuspensionReasonValueListEntryValuesEnum enum type.

    Values:
      SQL_SUSPENSION_REASON_UNSPECIFIED: This is an unknown suspension reason.
      BILLING_ISSUE: The instance is suspended due to billing issues (for
        example:, GCP account issue)
      LEGAL_ISSUE: The instance is suspended due to illegal content (for
        example:, child pornography, copyrighted material, etc.).
      OPERATIONAL_ISSUE: The instance is causing operational issues (for
        example:, causing the database to crash).
      KMS_KEY_ISSUE: The KMS key used by the instance is either revoked or
        denied access to
      CLOUD_SQL_FREE_TRIAL_EXPIRED: The Cloud SQL free trial for the instance
        has expired.
    r   r
   r   r   r   rG   N)
r   r   r   r   !SQL_SUSPENSION_REASON_UNSPECIFIEDBILLING_ISSUELEGAL_ISSUEOPERATIONAL_ISSUEKMS_KEY_ISSUECLOUD_SQL_FREE_TRIAL_EXPIREDr   r   r   (SuspensionReasonValueListEntryValuesEnumr    s*     )*%MKM#$ r   r  c                   X    e Zd ZdZ ej
                  d      Z ej                  d      Zy)%DatabaseInstance.FailoverReplicaValuea  The name and status of the failover replica.

    Fields:
      available: The availability status of the failover replica. A false
        status indicates that the failover replica is out of sync. The primary
        instance can only failover to the failover replica when the status is
        true.
      name: The name of the failover replica. If specified at instance
        creation, a failover replica is created for the instance. The name
        doesn't include the project ID.
    r
   r   N)	r   r   r   r   r   r   	availabler   r   r   r   r   FailoverReplicaValuer    s-    
 '	&&q)I 9  #Dr   r  additionalPropertiesc                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)DatabaseInstance.TagsValueaR  Optional. Input only. Immutable. Tag keys and tag values that are
    bound to this instance. You must represent each item in the map as: `"" :
    ""`. For example, a single resource can have the following tags: ```
    "123/environment": "production", "123/costCenter": "marketing", ``` For
    more information on tag creation and management, see
    https://cloud.google.com/resource-manager/docs/tags/tags-overview.

    Messages:
      AdditionalProperty: An additional property for a TagsValue object.

    Fields:
      additionalProperties: Additional properties of type TagsValue
    c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)-DatabaseInstance.TagsValue.AdditionalPropertyzAn additional property for a TagsValue object.

      Fields:
        key: Name of the additional property.
        value: A string attribute.
      r
   r   Nr   r   r   r   r   r   keyr   r   r   r   AdditionalPropertyr    -    
 "I!!!$c#i##A&er   r  r
   Tr!  N	r   r   r   r   r   Messager  r   r  r   r   r   	TagsValuer    s4    	'Y.. 	' 29112FTXYr   r  r
   Tr!  r   r   r   rG   rH   rI   r  rJ   r  rK   rL   r9  rM   rN   rO   rP   GeminiInstanceConfigrQ   rR   rS   rT   r:  rU   rV   rW   rX   rY   rZ   r[   r\   r]   r#   PoolNodeConfigr^   OnPremisesConfigurationr_   SqlOutOfDiskReportr`   ra   rb   rc   rd   ReplicaConfigurationre   rf   ReplicationClusterrg   rh   ri   rj   SqlScheduledMaintenancerk   rl   rm   rY  rn   ro   Settingsrp   rq   rr   rs   2   3   4   r9   5   6   N)Or   r   r   r   r   r3   rG  r   r~  r  r  r   r  r  r  r   MapUnrecognizedFieldsr  r   availableMaintenanceVersionsr4   rZ  connectionName
createTimer%   currentDiskSizedatabaseInstalledVersionr   r   r  r  r;  r<  rr  failoverReplicagceZonegeminiConfigr   %includeReplicasForMajorVersionUpgradeinstalledVersioninstanceTyper=  ipv6Addressr   maintenanceVersion#majorVersionUpgradeIncludesReplicasmasterInstanceNamemaxDiskSizer   r&   r'   r]  r^  onPremisesConfigurationoutOfDiskReportprimaryDnsNamers  pscServiceAttachmentLinkr7   replicaConfigurationreplicaNamesreplicationClusterrootPasswordr   r   scheduledMaintenancesecondaryGceZoner   r`  serviceAccountEmailAddresssettingssourceInstanceNamessqlNetworkArchitecturer   suspensionReason*switchTransactionLogsToCloudStorageEnabledtagsupgradableDatabaseVersionswriteEndpointr   r   r   r   r     s   N`9>> $Dy~~ DLD	 DLINN *!inn !Y^^ 6% %.$Y.. $  "8!!"89Z)## Z :Z8 "7!6!6q4!H#	##$@!D+(9((+.$y$$Q'**I**1-/2Y2215'I''(H!L/ 6	 6 67TVW X///0FJ!I!!"%'#Y##$4b4H(			r	"$*I**+A2F/!I!!"%''''(>C,*@)*@*@*D'(Y(()JBO$$$%BBG,&	&&{BF+%	%%b)+			r	"$,y,,R0(>	(>(>r(B%,y,,R0&	&&r*+			r	"$$i$$R1B1B1H1HI)
 )
 
 !12
E%2I223LbQ*I**+?D/(9((,.!I!!"%'2Y2226 9  $&///0FK&&&rD9,-y--.BBG&&&r*,'''+,'''+,///0I2N*Y**2."Y""2&('''	26,4y44R8#Y##J3(-	--b4@.9../VXZ[
)

4b
9%(Y(()SUWbfg/Ey/E/Eb/I,			R	0$5y556PRT_cd')''+-r   r   c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)DatabasesListResponsezDatabase list response.

  Fields:
    items: List of database resources in the instance.
    kind: This is always `sql#databasesList`.
  rn  r
   Tr!  r   N	r   r   r   r   r   r   r$  r   r   r   r   r   r  r  \  s1     !)
 
 Q
>%			q	!$r   r  c                   4    e Zd ZdZ ej
                  d      Zy)DbAlignedAtomicWritesConfigzDatabase engine aligned atomic writes configuration.

  Fields:
    dbAlignedAtomicWrites: Optional. When this parameter is set to true,
      CloudSQL will enable large block atomic writes with respect to the
      respective database engine.
  r
   N)r   r   r   r   r   r   dbAlignedAtomicWritesr   r   r   r  r  h  s     1)003r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)DemoteContextaS  This context is used to demote an existing standalone instance to be a
  Cloud SQL read replica for an external database server.

  Fields:
    kind: This is always `sql#demoteContext`.
    sourceRepresentativeInstanceName: Required. The name of the instance which
      acts as an on-premises primary instance in the replication setup.
  r
   r   N)r   r   r   r   r   r   r    sourceRepresentativeInstanceNamer   r   r   r  r  t  s.     
		q	!$%:Y%:%:1%="r   r  c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)DemoteMasterConfigurationaP  Read-replica configuration for connecting to the on-premises primary
  instance.

  Fields:
    kind: This is always `sql#demoteMasterConfiguration`.
    mysqlReplicaConfiguration: MySQL specific configuration when replicating
      from a MySQL on-premises primary instance. Replication configuration
      information such as the username, password, certificates, and keys are
      not stored in the instance metadata. The configuration information is
      used only to set up the replication connection and is stored by MySQL in
      a file named `master.info` in the data directory.
  r
   %DemoteMasterMySqlReplicaConfigurationr   N)	r   r   r   r   r   r   r   r   mysqlReplicaConfigurationr   r   r   r  r    s2     
		q	!$4i445\^_`r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dd      Z	 ej                  d      Z ej                  d      Zy)	DemoteMasterContexta  Database instance demote primary instance context.

  Fields:
    kind: This is always `sql#demoteMasterContext`.
    masterInstanceName: The name of the instance which will act as on-premises
      primary instance in the replication setup.
    replicaConfiguration: Configuration specific to read-replicas replicating
      from the on-premises primary instance.
    skipReplicationSetup: Flag to skip replication setup on the instance.
    verifyGtidConsistency: Verify the GTID consistency for demote operation.
      Default value: `True`. Setting this flag to `false` enables you to
      bypass the GTID consistency check between on-premises primary instance
      and Cloud SQL instance during the demotion operation but also exposes
      you to the risk of future replication failures. Change the value only if
      you know the reason for the GTID divergence and are confident that doing
      so will not cause any replication issues.
  r
   r   r  r   r   rG   N)r   r   r   r   r   r   r   r  r   r  r   skipReplicationSetupverifyGtidConsistencyr   r   r   r  r    sj    $ 
		q	!$,y,,Q////0KQO///20)003r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d      Zy)	r  au  Read-replica configuration specific to MySQL databases.

  Fields:
    caCertificate: PEM representation of the trusted CA's x509 certificate.
    clientCertificate: PEM representation of the replica's x509 certificate.
    clientKey: PEM representation of the replica's private key. The
      corresponding public key is encoded in the client's certificate. The
      format of the replica's private key can be either PKCS #1 or PKCS #8.
    kind: This is always `sql#demoteMasterMysqlReplicaConfiguration`.
    password: The password for the replication connection.
    username: The username for the replication connection.
  r
   r   r   r   rG   rH   N)r   r   r   r   r   r   caCertificateclientCertificate	clientKeyr   passwordusernamer   r   r   r  r    sv     ()''*-+i++A.#i##A&)			q	!$"Y""1%("Y""1%(r   r  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)DenyMaintenancePerioda]  Deny Maintenance Periods. This specifies a date range during when all
  CSA rollout will be denied.

  Fields:
    endDate: "deny maintenance period" end date. If the year of the end date
      is empty, the year of the start date also must be empty. In this case,
      it means the deny maintenance period recurs every year. The date is in
      format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
    startDate: "deny maintenance period" start date. If the year of the start
      date is empty, the year of the end date also must be empty. In this
      case, it means the deny maintenance period recurs every year. The date
      is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
    time: Time in UTC when the "deny maintenance period" starts on start_date
      and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
  r
   r   r   N)	r   r   r   r   r   r   endDate	startDatetimer   r   r   r  r    s?      "I!!!$'#i##A&)			q	!$r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r  zDisk encryption configuration for an instance.

  Fields:
    kind: This is always `sql#diskEncryptionConfiguration`.
    kmsKeyName: Resource name of KMS key for disk encryption
  r
   r   N)r   r   r   r   r   r   r   
kmsKeyNamer   r   r   r  r    s-     
		q	!$$y$$Q'*r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r  zDisk encryption status for an instance.

  Fields:
    kind: This is always `sql#diskEncryptionStatus`.
    kmsKeyVersionName: KMS key version used to encrypt the Cloud SQL instance
      resource
  r
   r   N)r   r   r   r   r   r   r   kmsKeyVersionNamer   r   r   r  r    s.     
		q	!$+i++A.r   r  c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  dd      Z
 ej                  d      Zy	)
r9  ay  DNS metadata.

  Enums:
    ConnectionTypeValueValuesEnum: Output only. The connection type of the DNS
      name.
    DnsScopeValueValuesEnum: Output only. The scope that the DNS name applies
      to.

  Fields:
    connectionType: Output only. The connection type of the DNS name.
    dnsScope: Output only. The scope that the DNS name applies to.
    name: The DNS name.
  c                        e Zd ZdZdZdZdZdZy),DnsNameMapping.ConnectionTypeValueValuesEnuma  Output only. The connection type of the DNS name.

    Values:
      CONNECTION_TYPE_UNSPECIFIED: Unknown connection type.
      PUBLIC: Public IP.
      PRIVATE_SERVICES_ACCESS: Private services access (private IP).
      PRIVATE_SERVICE_CONNECT: Private Service Connect.
    r   r
   r   r   N)r   r   r   r   CONNECTION_TYPE_UNSPECIFIEDPUBLICPRIVATE_SERVICES_ACCESSPRIVATE_SERVICE_CONNECTr   r   r   ConnectionTypeValueValuesEnumr    s      #$Fr   r  c                       e Zd ZdZdZdZy)&DnsNameMapping.DnsScopeValueValuesEnumzOutput only. The scope that the DNS name applies to.

    Values:
      DNS_SCOPE_UNSPECIFIED: Unknown DNS scope.
      INSTANCE: Indicates a instance-level DNS name.
    r   r
   N)r   r   r   r   DNS_SCOPE_UNSPECIFIEDINSTANCEr   r   r   DnsScopeValueValuesEnumr    s     Hr   r  r
   r   r   N)r   r   r   r   r   r3   r  r  r4   connectionTypednsScoper   r   r   r   r   r9  r9    se     inn  	  '9&&'FJ. Y  !:A>(			q	!$r   r9  c                       e Zd ZdZy)Emptya!  A generic empty message that you can re-use to avoid defining duplicated
  empty messages in your APIs. A typical example is to use it as the request
  or the response type of an API method. For instance: service Foo { rpc
  Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
  N)r   r   r   r   r   r   r   r  r    s    r   r  c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  d      Z	 ej                  d      Z ej                  d      Z ej                  dd	      Z ej                  dd
      Z ej                  d      Z ej"                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy)ExecuteSqlPayloada  The request payload used to execute SQL statements.

  Enums:
    OutputFormatValueValuesEnum: Optional. Deprecated field. The requested
      format of the SQL response.
    PartialResultModeValueValuesEnum: Optional. Controls how the API should
      respond when the SQL execution result is incomplete due to the size
      limit or another error. The default mode is to throw an error.

  Fields:
    accessToken: Optional. Deprecated field. The access token required for IAM
      user authentication.
    autoIamAuthn: Optional. When set to true, the API caller identity
      associated with the request is used for database authentication. The API
      caller must be an IAM user in the database.
    database: Optional. Name of the database on which the statement will be
      executed.
    outputFormat: Optional. Deprecated field. The requested format of the SQL
      response.
    partialResultMode: Optional. Controls how the API should respond when the
      SQL execution result is incomplete due to the size limit or another
      error. The default mode is to throw an error.
    password: Optional. The database user's password.
    rowLimit: Optional. The maximum number of rows returned per SQL statement.
    secretPath: Optional. The resource ID of a secret in secret manager which
      contains the database user's password. Expected format -
      projects/{project}/secrets/{secret}/versions/{version}.
    sqlStatement: Required. SQL statements to run on the database. It can be a
      single statement or a sequence of statements separated by semicolons.
    user: Optional. The name of an existing database user to connect to the
      database. When `auto_iam_authn` is set to true, this field is ignored
      and the API caller's IAM user is used.
  c                       e Zd ZdZdZdZy)-ExecuteSqlPayload.OutputFormatValueValuesEnumzOptional. Deprecated field. The requested format of the SQL response.

    Values:
      OUTPUT_FORMAT_UNSPECIFIED: Output format is not specified. This is the
        default value.
      JSON: Output format would be in JSON format.
    r   r
   N)r   r   r   r   OUTPUT_FORMAT_UNSPECIFIEDJSONr   r   r   OutputFormatValueValuesEnumr  K  s     !"Dr   r  c                       e Zd ZdZdZdZdZy)2ExecuteSqlPayload.PartialResultModeValueValuesEnuma  Optional. Controls how the API should respond when the SQL execution
    result is incomplete due to the size limit or another error. The default
    mode is to throw an error.

    Values:
      PARTIAL_RESULT_MODE_UNSPECIFIED: Unspecified mode, effectively the same
        as `FAIL_PARTIAL_RESULT`.
      FAIL_PARTIAL_RESULT: Throw an error if the result exceeds 10 MB or if a
        partial result can be retrieved. Don't return the result.
      ALLOW_PARTIAL_RESULT: Return a truncated result and set `partial_result`
        to true if the result exceeds 10 MB or if only a partial result can be
        retrieved due to error. Don't throw an error.
    r   r
   r   N)r   r   r   r   PARTIAL_RESULT_MODE_UNSPECIFIEDFAIL_PARTIAL_RESULTALLOW_PARTIAL_RESULTr   r   r    PartialResultModeValueValuesEnumr  V  s     '(#r   r!  r
   r   r   r   rG   rH   rI   rJ   rK   rL   N)r   r   r   r   r   r3   r  r!  r   accessTokenr   autoIamAuthndatabaser4   outputFormatpartialResultModer  r%   rowLimit
secretPathsqlStatementuserr   r   r   r  r  (  s     D	INN 	 $ &	%%a(+'''*,"Y""1%($$$%BAF,)i))*LaP"Y""1%(#Y##A&($y$$Q'*&&&q),			r	"$r   r  c                      e Zd ZdZ G d dej
                        Z G d dej                        Z G d dej                        Z	 G d d	ej                        Z
 G d
 dej                        Z G d dej                        Z ej                  dd      Z ej                  dd      Z ej                   dd      Z ej$                  dd      Z ej                   d      Z ej*                  d      Z ej                  d	d      Z ej                  dd      Z ej                  dd      Z ej                   d      Zy)ExportContexta	  Database instance export context.

  Enums:
    FileTypeValueValuesEnum: The file type for the specified uri.

  Messages:
    BakExportOptionsValue: Options for exporting BAK files (SQL Server-only)
    CsvExportOptionsValue: Options for exporting data as CSV. `MySQL` and
      `PostgreSQL` instances only.
    ServerlessExportOptionsValue: Optional. Options for serverless exports.
      Only applicable when 'offload' is set.
    SqlExportOptionsValue: Options for exporting data as SQL statements.
    TdeExportOptionsValue: Optional. Export parameters specific to SQL Server
      TDE certificates

  Fields:
    bakExportOptions: Options for exporting BAK files (SQL Server-only)
    csvExportOptions: Options for exporting data as CSV. `MySQL` and
      `PostgreSQL` instances only.
    databases: Databases to be exported. `MySQL instances:` If `fileType` is
      `SQL` and no database is specified, all databases are exported, except
      for the `mysql` system database. If `fileType` is `CSV`, you can specify
      one database, either by using this property or by using the
      `csvExportOptions.selectQuery` property, which takes precedence over
      this property. `PostgreSQL instances:` If you don't specify a database
      by name, all user databases in the instance are exported. This excludes
      system databases and Cloud SQL databases used to manage internal
      operations. Exporting all user databases is only available for
      directory-formatted parallel export. If `fileType` is `CSV`, this
      database must match the one specified in the
      `csvExportOptions.selectQuery` property. `SQL Server instances:` You
      must specify one database to be exported, and the `fileType` must be
      `BAK`.
    fileType: The file type for the specified uri.
    kind: This is always `sql#exportContext`.
    offload: Whether to perform a serverless export.
    serverlessExportOptions: Optional. Options for serverless exports. Only
      applicable when 'offload' is set.
    sqlExportOptions: Options for exporting data as SQL statements.
    tdeExportOptions: Optional. Export parameters specific to SQL Server TDE
      certificates
    uri: The path to the file in Google Cloud Storage where the export will be
      stored. The URI is in the form `gs://bucketName/fileName`. If the file
      already exists, the request succeeds, but the operation fails. If
      `fileType` is `SQL` and the filename ends with .gz, the contents are
      compressed.
  c                   $    e Zd ZdZdZdZdZdZdZy)%ExportContext.FileTypeValueValuesEnumzThe file type for the specified uri.

    Values:
      SQL_FILE_TYPE_UNSPECIFIED: Unknown file type.
      SQL: File containing SQL statements.
      CSV: File in CSV format.
      BAK: <no description>
      TDE: TDE certificate.
    r   r
   r   r   r   N	r   r   r   r   SQL_FILE_TYPE_UNSPECIFIEDSQLCSVBAKTDEr   r   r   FileTypeValueValuesEnumr.    s#     !"
C
C
C
Cr   r5  c                   d   e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z
 ej                  d      Z ej                  d      Z ej                  d      Z ej                  d	ej                   j"                  
      Z ej                  d      Zy)#ExportContext.BakExportOptionsValuea  Options for exporting BAK files (SQL Server-only)

    Enums:
      BakTypeValueValuesEnum: Type of this bak file will be export, FULL or
        DIFF, SQL Server only

    Fields:
      bakType: Type of this bak file will be export, FULL or DIFF, SQL Server
        only
      copyOnly: Deprecated: copy_only is deprecated. Use differential_base
        instead
      differentialBase: Whether or not the backup can be used as a
        differential base copy_only backup can not be served as differential
        base
      exportLogEndTime: Optional. The end timestamp when transaction log will
        be included in the export operation. [RFC
        3339](https://tools.ietf.org/html/rfc3339) format (for example,
        `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs
        until current time will be included. Only applied to Cloud SQL for SQL
        Server.
      exportLogStartTime: Optional. The begin timestamp when transaction log
        will be included in the export operation. [RFC
        3339](https://tools.ietf.org/html/rfc3339) format (for example,
        `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs
        from the beginning of retention period will be included. Only applied
        to Cloud SQL for SQL Server.
      stripeCount: Option for specifying how many stripes to use for the
        export. If blank, and the value of the striped field is true, the
        number of stripes is automatically chosen.
      striped: Whether or not the export should be striped.
    c                        e Zd ZdZdZdZdZdZy):ExportContext.BakExportOptionsValue.BakTypeValueValuesEnumzType of this bak file will be export, FULL or DIFF, SQL Server only

      Values:
        BAK_TYPE_UNSPECIFIED: Default type.
        FULL: Full backup.
        DIFF: Differential backup.
        TLOG: SQL Server Transaction Log
      r   r
   r   r   Nr   r   r   r   BAK_TYPE_UNSPECIFIEDFULLDIFFTLOGr   r   r   BakTypeValueValuesEnumr9        
 dddr   r?  r
   r   r   r   rG   rH   r#   rI   N)r   r   r   r   r   r3   r?  r4   bakTyper   copyOnlydifferentialBaser   exportLogEndTimeexportLogStartTimer%   r&   r'   stripeCountstripedr   r   r   BakExportOptionsValuer7    s    @  "i!!":A>G%y%%a(H-y--a0,y,,Q/...q1()((I4E4E4K4KLK$i$$Q'Gr   rH  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
y)#ExportContext.CsvExportOptionsValuea  Options for exporting data as CSV. `MySQL` and `PostgreSQL` instances
    only.

    Fields:
      escapeCharacter: Specifies the character that should appear before a
        data character that needs to be escaped.
      fieldsTerminatedBy: Specifies the character that separates columns
        within each row (line) of the file.
      linesTerminatedBy: This is used to separate lines. If a line does not
        contain all fields, the rest of the columns are set to their default
        values.
      quoteCharacter: Specifies the quoting character to be used when a data
        value is quoted.
      selectQuery: The select query used to extract the data.
    r
   r   r   r   rG   N)r   r   r   r   r   r   escapeCharacterfieldsTerminatedBylinesTerminatedByquoteCharacterselectQueryr   r   r   CsvExportOptionsValuerJ    se      ,i++A.O...q1-	--a0*Y**1-N')''*Kr   rP  c                       e Zd ZdZ ej
                  d      Z ej                  ddd      Z ej                  d      Z
y)	*ExportContext.ServerlessExportOptionsValueah  Optional. Options for serverless exports. Only applicable when
    'offload' is set.

    Fields:
      dataDiskSizeGb: Optional. The disk size to create the offload instance
        with.
      databaseFlags: Optional. Database flags to set specifically on the
        offload instance.
      tier: Optional. The tier to create the offload instance with.
    r
   rv  r   Tr!  r   N)r   r   r   r   r   r%   dataDiskSizeGbr   databaseFlagsr   tierr   r   r   ServerlessExportOptionsValuerR  	  sC    	 ,Y++A.N*I**?AMM 9  #Dr   rV  c                   p   e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  d      Z ej                  dd      Z ej                  d	      Z ej                  d
d      Z ej                   dej"                  j$                        Zy)#ExportContext.SqlExportOptionsValuea,  Options for exporting data as SQL statements.

    Messages:
      MysqlExportOptionsValue: Options for exporting from MySQL.
      PostgresExportOptionsValue: Options for exporting from a Cloud SQL for
        PostgreSQL instance.

    Fields:
      mysqlExportOptions: Options for exporting from MySQL.
      parallel: Optional. Whether or not the export should be parallel.
      postgresExportOptions: Options for exporting from a Cloud SQL for
        PostgreSQL instance.
      schemaOnly: Export only schemas.
      tables: Tables to export, or that were exported, from the specified
        database. If you specify tables, specify one and only one database.
        For PostgreSQL instances, you can specify only one table.
      threads: Optional. The number of threads to use for parallel export.
    c                   `    e Zd ZdZ ej
                  dej                  j                        Zy);ExportContext.SqlExportOptionsValue.MysqlExportOptionsValuea  Options for exporting from MySQL.

      Fields:
        masterData: Option to include SQL statement required to set up
          replication. If set to `1`, the dump file includes a CHANGE MASTER
          TO statement with the binary log coordinates, and --set-gtid-purged
          is set to ON. If set to `2`, the CHANGE MASTER TO statement is
          written as a SQL comment and has no effect. If set to any value
          other than `1`, --set-gtid-purged is set to OFF.
      r
   r#   N)	r   r   r   r   r   r%   r&   r'   
masterDatar   r   r   MysqlExportOptionsValuerZ  '	  s)    	
 *9))!Y5F5F5L5LMjr   r\  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)>ExportContext.SqlExportOptionsValue.PostgresExportOptionsValuea  Options for exporting from a Cloud SQL for PostgreSQL instance.

      Fields:
        clean: Optional. Use this option to include DROP <object> SQL
          statements. Use these statements to delete database objects before
          running the import operation.
        ifExists: Optional. Option to include an IF EXISTS SQL statement with
          each DROP statement produced by clean.
      r
   r   Nr   r   r   r   r   r   cleanifExistsr   r   r   PostgresExportOptionsValuer^  5	  s-    
 %i$$Q'e'''*hr   rb  r
   r   r   r   rG   Tr!  rH   r#   N)r   r   r   r   r   r  r\  rb  r   mysqlExportOptionsr   parallelpostgresExportOptions
schemaOnlyr   tablesr%   r&   r'   threadsr   r   r   SqlExportOptionsValuerX  	  s    &N)"3"3 N+Y%6%6 + 0//0I1M%y%%a(H2I223OQRS'''*J"Y""1t4F$i$$Q	0A0A0G0GHGr   ri  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)#ExportContext.TdeExportOptionsValuea  Optional. Export parameters specific to SQL Server TDE certificates

    Fields:
      certificatePath: Required. Path to the TDE certificate public key in the
        form gs://bucketName/fileName. The instance must have write access to
        the location. Applicable only for SQL Server instances.
      name: Required. Certificate name. Applicable only for SQL Server
        instances.
      privateKeyPassword: Required. Password that encrypts the private key.
      privateKeyPath: Required. Path to the TDE certificate private key in the
        form gs://bucketName/fileName. The instance must have write access to
        the location. Applicable only for SQL Server instances.
    r
   r   r   r   N
r   r   r   r   r   r   certificatePathr   privateKeyPasswordprivateKeyPathr   r   r   TdeExportOptionsValuerk  J	  sR     ,i++A.O 9  #D...q1*Y**1-Nr   rp  r
   r   r   Tr!  r   rG   rH   rI   rJ   rK   rL   N)r   r   r   r   r   r3   r5  r  rH  rP  rV  ri  rp  r   bakExportOptionscsvExportOptionsr   	databasesr4   fileTyper   r   offloadserverlessExportOptionssqlExportOptionstdeExportOptionsurir   r   r   r,  r,  t  sF   .`	  5(i// 5(n+i// +.$Y%6%6 $ 5Ii// 5In.i// .( ,Y++,CQG+Y++,CQG#i##A5) Y  !:A>(			q	!$"I""1%'2I223QSTU+Y++,CQG+Y++,CQG	b!#r   r,  c                   4    e Zd ZdZ ej
                  d      Zy)ExternalSyncSelectedObjectzzThe selected object that Cloud SQL migrates.

  Fields:
    database: The name of the database that Cloud SQL migrates.
  r
   Nr   r   r   r   r   r   r$  r   r   r   r{  r{  j	  s     #Y""1%(r   r{  c                   X    e Zd ZdZ ej
                  d      Z ej                  d      Zy)FailoverContexta  Database instance failover context.

  Fields:
    kind: This is always `sql#failoverContext`.
    settingsVersion: The current settings version of this instance. Request
      will be rejected if this version doesn't match the current settings
      version.
  r
   r   N)	r   r   r   r   r   r   r   r%   settingsVersionr   r   r   r~  r~  t	  s-     
		q	!$*I**1-/r   r~  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
y)FinalBackupConfigaP  Config used to determine the final backup settings for the instance.

  Fields:
    enabled: Whether the final backup is enabled for the instance.
    retentionDays: The number of days to retain the final backup after the
      instance deletion. The final backup will be purged at
      (time_of_instance_deletion + retention_days).
  r
   r   r#   N)r   r   r   r   r   r   r   r%   r&   r'   retentionDaysr   r   r   r  r  	  s;     #I""1%'()((I4E4E4K4KL-r   r  c                   t   e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z ej                  dd	
      Z
 ej                  dd	
      Z ej                  ddd	
      Z ej                  dd      Z ej                   d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                   d      Z ej                  dd      Zy)Flaga  A flag resource.

  Enums:
    AppliesToValueListEntryValuesEnum:
    FlagScopeValueValuesEnum: Scope of flag.
    TypeValueValuesEnum: The type of the flag. Flags are typed to being
      `BOOLEAN`, `STRING`, `INTEGER` or `NONE`. `NONE` is used for flags which
      do not take a value, such as `skip_grant_tables`.

  Fields:
    allowedIntValues: Use this field if only certain integers are accepted.
      Can be combined with min_value and max_value to add additional values.
    allowedStringValues: For `STRING` flags, a list of strings that the value
      can be set to.
    appliesTo: The database version this flag applies to. Can be MySQL
      instances: `MYSQL_8_0`, `MYSQL_8_0_18`, `MYSQL_8_0_26`, `MYSQL_5_7`, or
      `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
      `POSTGRES_11` or `POSTGRES_12`. SQL Server instances:
      `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`,
      `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`,
      `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`,
      `SQLSERVER_2019_EXPRESS`, or `SQLSERVER_2019_WEB`. See [the complete
      list](/sql/docs/mysql/admin-api/rest/v1/SqlDatabaseVersion).
    flagScope: Scope of flag.
    inBeta: Whether or not the flag is considered in beta.
    kind: This is always `sql#flag`.
    maxValue: For `INTEGER` flags, the maximum allowed value.
    minValue: For `INTEGER` flags, the minimum allowed value.
    name: This is the name of the flag. Flag names always use underscores, not
      hyphens, for example: `max_allowed_packet`
    recommendedIntValue: Recommended flag value in integer format for UI
      display.
    recommendedStringValue: Recommended flag value in string format for UI
      display.
    requiresRestart: Indicates whether changing this flag will trigger a
      database restart. Only applicable to Second Generation instances.
    type: The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
      `INTEGER` or `NONE`. `NONE` is used for flags which do not take a value,
      such as `skip_grant_tables`.
  c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)5&Flag.AppliesToValueListEntryValuesEnuma  AppliesToValueListEntryValuesEnum enum type.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Nrt   r   r   r   !AppliesToValueListEntryValuesEnumr  	     Pb ()$IIIIILLLLLLLLLLLLLLLLLLLLLI  "LKKKKKKKKK  "  "r   r  c                       e Zd ZdZdZdZdZy)Flag.FlagScopeValueValuesEnumzScope of flag.

    Values:
      SQL_FLAG_SCOPE_UNSPECIFIED: Assume database flags if unspecified
      SQL_FLAG_SCOPE_DATABASE: database flags
      SQL_FLAG_SCOPE_CONNECTION_POOL: connection pool configuration flags
    r   r
   r   Nr   r   r   r   SQL_FLAG_SCOPE_UNSPECIFIEDSQL_FLAG_SCOPE_DATABASESQL_FLAG_SCOPE_CONNECTION_POOLr   r   r   FlagScopeValueValuesEnumr  ?
  s     "#%&"r   r  c                   0    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zy
)Flag.TypeValueValuesEnuma  The type of the flag. Flags are typed to being `BOOLEAN`, `STRING`,
    `INTEGER` or `NONE`. `NONE` is used for flags which do not take a value,
    such as `skip_grant_tables`.

    Values:
      SQL_FLAG_TYPE_UNSPECIFIED: This is an unknown flag type.
      BOOLEAN: Boolean type flag.
      STRING: String type flag.
      INTEGER: Integer type flag.
      NONE: Flag type used for a server startup option.
      MYSQL_TIMEZONE_OFFSET: Type introduced specially for MySQL TimeZone
        offset. Accept a string value with the format [-12:59, 13:00].
      FLOAT: Float type flag.
      REPEATED_STRING: Comma-separated list of the strings in a SqlFlagType
        enum.
    r   r
   r   r   r   rG   rH   rI   N)r   r   r   r   SQL_FLAG_TYPE_UNSPECIFIEDBOOLEANSTRINGINTEGERNONEMYSQL_TIMEZONE_OFFSETFLOATREPEATED_STRINGr   r   r   r   r  K
  s3      !"GFGDEOr   r   r
   Tr!  r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   N)r   r   r   r   r   r3   r  r  r   r%   allowedIntValuesr   allowedStringValuesr4   	appliesTo	flagScoper   inBetar   maxValueminValuer   recommendedIntValuerecommendedStringValuerequiresRestartr   r   r   r   r  r  	  s;   'RC).. CJ
' 
'INN 4 ,Y++A=-	--a$?!i!!"EqSWX)!i!!"<a@)!9!!!$&			q	!$#Y##A&(#Y##A&(			q	!$.	..r209004*I**2./			2B	7$r   r  c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)FlagsListResponsezfFlags list response.

  Fields:
    items: List of flags.
    kind: This is always `sql#flagsList`.
  r  r
   Tr!  r   Nr  r   r   r   r  r  t
  1     !)
 
 T
:%			q	!$r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d      Zy)	r  a  Gemini instance configuration.

  Fields:
    activeQueryEnabled: Output only. Whether the active query is enabled.
    entitled: Output only. Whether Gemini is enabled.
    flagRecommenderEnabled: Output only. Whether the flag recommender is
      enabled.
    googleVacuumMgmtEnabled: Output only. Whether the vacuum management is
      enabled.
    indexAdvisorEnabled: Output only. Whether the index advisor is enabled.
    oomSessionCancelEnabled: Output only. Whether canceling the out-of-memory
      (OOM) session is enabled.
  r
   r   r   r   rG   rH   N)r   r   r   r   r   r   activeQueryEnabledentitledflagRecommenderEnabledgoogleVacuumMgmtEnabledindexAdvisorEnabledoomSessionCancelEnabledr   r   r   r  r  
  sz     .y--a0#Y##A&(1911!42I2215.	..q12I2215r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)GenerateEphemeralCertRequesta  Ephemeral certificate creation request.

  Fields:
    access_token: Optional. Access token to include in the signed certificate.
    public_key: PEM encoded public key to include in the signed certificate.
    readTime: Optional. Optional snapshot read timestamp to trade freshness
      for performance.
    validDuration: Optional. If set, it will contain the cert valid duration.
  r
   r   r   r   N)
r   r   r   r   r   r   access_token
public_keyreadTimevalidDurationr   r   r   r  r  
  sQ     '&&q),$y$$Q'*"Y""1%(')''*-r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)GenerateEphemeralCertResponsezWEphemeral certificate creation request.

  Fields:
    ephemeralCert: Generated cert
  rY  r
   N)r   r   r   r   r   r   ephemeralCertr   r   r   r  r  
  s     ))((A6-r   r  c                   0   e Zd ZdZ G d dej
                        Z G d dej                        Z G d dej                        Z	 G d d	ej                        Z
 G d
 dej                        Z ej                  dd      Z ej                  dd      Z ej                  d      Z ej"                  dd      Z ej                  d      Z ej                  d      Z ej                  d	d      Z ej                  dd      Z ej                  d      Zy)ImportContexta%  Database instance import context.

  Enums:
    FileTypeValueValuesEnum: The file type for the specified uri. * `SQL`: The
      file contains SQL statements. * `CSV`: The file contains CSV data. *
      `BAK`: The file contains backup data for a SQL Server instance.

  Messages:
    BakImportOptionsValue: Import parameters specific to SQL Server .BAK files
    CsvImportOptionsValue: Options for importing data as CSV.
    SqlImportOptionsValue: Optional. Options for importing data from SQL
      statements.
    TdeImportOptionsValue: Optional. Import parameters specific to SQL Server
      .TDE files Import parameters specific to SQL Server TDE certificates

  Fields:
    bakImportOptions: Import parameters specific to SQL Server .BAK files
    csvImportOptions: Options for importing data as CSV.
    database: The target database for the import. If `fileType` is `SQL`, this
      field is required only if the import file does not specify a database,
      and is overridden by any database specification in the import file. For
      entire instance parallel import operations, the database is overridden
      by the database name stored in subdirectory name. If `fileType` is
      `CSV`, one database must be specified.
    fileType: The file type for the specified uri. * `SQL`: The file contains
      SQL statements. * `CSV`: The file contains CSV data. * `BAK`: The file
      contains backup data for a SQL Server instance.
    importUser: The PostgreSQL user for this import operation. PostgreSQL
      instances only.
    kind: This is always `sql#importContext`.
    sqlImportOptions: Optional. Options for importing data from SQL
      statements.
    tdeImportOptions: Optional. Import parameters specific to SQL Server .TDE
      files Import parameters specific to SQL Server TDE certificates
    uri: Path to the import file in Cloud Storage, in the form
      `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported
      when `fileType` is `SQL`. The instance must have write permissions to
      the bucket and read access to the file.
  c                   $    e Zd ZdZdZdZdZdZdZy)%ImportContext.FileTypeValueValuesEnuma  The file type for the specified uri. * `SQL`: The file contains SQL
    statements. * `CSV`: The file contains CSV data. * `BAK`: The file
    contains backup data for a SQL Server instance.

    Values:
      SQL_FILE_TYPE_UNSPECIFIED: Unknown file type.
      SQL: File containing SQL statements.
      CSV: File in CSV format.
      BAK: <no description>
      TDE: TDE certificate.
    r   r
   r   r   r   Nr/  r   r   r   r5  r  
  s#    
 !"
C
C
C
Cr   r5  c                   d   e Zd ZdZ G d dej
                        Z G d dej                        Z ej                  dd      Z
 ej                  dd      Z ej                  d      Z ej                  d	      Z ej                   d
      Z ej                   d      Z ej                  d      Zy)#ImportContext.BakImportOptionsValuea{  Import parameters specific to SQL Server .BAK files

    Enums:
      BakTypeValueValuesEnum: Type of the bak content, FULL or DIFF.

    Messages:
      EncryptionOptionsValue: A EncryptionOptionsValue object.

    Fields:
      bakType: Type of the bak content, FULL or DIFF.
      encryptionOptions: A EncryptionOptionsValue attribute.
      noRecovery: Whether or not the backup importing will restore database
        with NORECOVERY option Applies only to Cloud SQL for SQL Server.
      recoveryOnly: Whether or not the backup importing request will just
        bring database online without downloading Bak content only one of
        "no_recovery" and "recovery_only" can be true otherwise error will
        return. Applies only to Cloud SQL for SQL Server.
      stopAt: Optional. The timestamp when the import should stop. This
        timestamp is in the [RFC 3339](https://tools.ietf.org/html/rfc3339)
        format (for example, `2023-10-01T16:19:00.094`). This field is
        equivalent to the STOPAT keyword and applies to Cloud SQL for SQL
        Server only.
      stopAtMark: Optional. The marked transaction where the import should
        stop. This field is equivalent to the STOPATMARK keyword and applies
        to Cloud SQL for SQL Server only.
      striped: Whether or not the backup set being restored is striped.
        Applies only to Cloud SQL for SQL Server.
    c                        e Zd ZdZdZdZdZdZy):ImportContext.BakImportOptionsValue.BakTypeValueValuesEnumzType of the bak content, FULL or DIFF.

      Values:
        BAK_TYPE_UNSPECIFIED: Default type.
        FULL: Full backup.
        DIFF: Differential backup.
        TLOG: SQL Server Transaction Log
      r   r
   r   r   Nr:  r   r   r   r?  r    r@  r   r?  c                       e Zd ZdZ ej
                  d      Z ej                  d      Z ej
                  d      Z	 ej
                  d      Z
y):ImportContext.BakImportOptionsValue.EncryptionOptionsValueaq  A EncryptionOptionsValue object.

      Fields:
        certPath: Path to the Certificate (.cer) in Cloud Storage, in the form
          `gs://bucketName/fileName`. The instance must have write permissions
          to the bucket and read access to the file.
        keepEncrypted: Optional. Whether the imported file remains encrypted.
        pvkPassword: Password that encrypts the private key
        pvkPath: Path to the Certificate Private Key (.pvk) in Cloud Storage,
          in the form `gs://bucketName/fileName`. The instance must have write
          permissions to the bucket and read access to the file.
      r
   r   r   r   N)r   r   r   r   r   r   certPathr   keepEncryptedpvkPasswordpvkPathr   r   r   EncryptionOptionsValuer    sQ    
 '&&q)h,i,,Q/m)I))!,k%	%%a(gr   r  r
   r   r   r   rG   rH   rI   N)r   r   r   r   r   r3   r?  r  r  r4   rA  r   encryptionOptionsr   
noRecoveryrecoveryOnlyr   stopAt
stopAtMarkrG  r   r   r   BakImportOptionsValuer  
  s    : )!2!2 )& "i!!":A>G.	../GK'''*J)9))!,L"Y""1%F&&&q)J$i$$Q'Gr   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d	      Zy
)#ImportContext.CsvImportOptionsValuea  Options for importing data as CSV.

    Fields:
      columns: The columns to which CSV data is imported. If not specified,
        all columns of the database table are loaded with CSV data.
      escapeCharacter: Specifies the character that should appear before a
        data character that needs to be escaped.
      fieldsTerminatedBy: Specifies the character that separates columns
        within each row (line) of the file.
      linesTerminatedBy: This is used to separate lines. If a line does not
        contain all fields, the rest of the columns are set to their default
        values.
      quoteCharacter: Specifies the quoting character to be used when a data
        value is quoted.
      table: The table to which CSV data is imported.
    r
   Tr!  r   r   r   rG   rH   N)r   r   r   r   r   r   columnsrK  rL  rM  rN  tabler   r   r   CsvImportOptionsValuer  4  sy    " $i##A5G+i++A.O...q1-	--a0*Y**1-N!I!!!$Er   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
 ej                  dej                  j                        Zy)	#ImportContext.SqlImportOptionsValuea  Optional. Options for importing data from SQL statements.

    Messages:
      PostgresImportOptionsValue: Optional. Options for importing from a Cloud
        SQL for PostgreSQL instance.

    Fields:
      parallel: Optional. Whether or not the import should be parallel.
      postgresImportOptions: Optional. Options for importing from a Cloud SQL
        for PostgreSQL instance.
      threads: Optional. The number of threads to use for parallel import.
    c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)>ImportContext.SqlImportOptionsValue.PostgresImportOptionsValuea  Optional. Options for importing from a Cloud SQL for PostgreSQL
      instance.

      Fields:
        clean: Optional. The --clean flag for the pg_restore utility. This
          flag applies only if you enabled Cloud SQL to import files in
          parallel.
        ifExists: Optional. The --if-exists flag for the pg_restore utility.
          This flag applies only if you enabled Cloud SQL to import files in
          parallel.
      r
   r   Nr_  r   r   r   PostgresImportOptionsValuer  [  s-    

 %i$$Q'e'''*hr   r  r
   r   r   r#   N)r   r   r   r   r   r  r  r   rd  r   postgresImportOptionsr%   r&   r'   rh  r   r   r   SqlImportOptionsValuer  M  sd    +Y%6%6 +  &y%%a(H2I223OQRS$i$$Q	0A0A0G0GHGr   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)#ImportContext.TdeImportOptionsValuea  Optional. Import parameters specific to SQL Server .TDE files Import
    parameters specific to SQL Server TDE certificates

    Fields:
      certificatePath: Required. Path to the TDE certificate public key in the
        form gs://bucketName/fileName. The instance must have read access to
        the file. Applicable only for SQL Server instances.
      name: Required. Certificate name. Applicable only for SQL Server
        instances.
      privateKeyPassword: Required. Password that encrypts the private key.
      privateKeyPath: Required. Path to the TDE certificate private key in the
        form gs://bucketName/fileName. The instance must have read access to
        the file. Applicable only for SQL Server instances.
    r
   r   r   r   Nrl  r   r   r   TdeImportOptionsValuer  o  sR     ,i++A.O 9  #D...q1*Y**1-Nr   r  r
   r   r   r   rG   rH   rI   rJ   rK   N)r   r   r   r   r   r3   r5  r  r  r  r  r  r   bakImportOptionscsvImportOptionsr   r$  r4   rt  
importUserr   sqlImportOptionstdeImportOptionsry  r   r   r   r  r  
  s   &P	 $E(i// E(N%i// %2 Ii//  ID.i// .* ,Y++,CQG+Y++,CQG"Y""1%( Y  !:A>($y$$Q'*			q	!$+Y++,CQG+Y++,CQG	a #r   r  c                      e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej                  dej                  j                        Z ej
                  d      Z ej
                  d      Zy)	InsightsConfigaI  Insights configuration. This specifies when Cloud SQL Insights feature
  is enabled and optional configuration.

  Fields:
    queryInsightsEnabled: Whether Query Insights feature is enabled.
    queryPlansPerMinute: Number of query execution plans captured by Insights
      per minute for all queries combined. Default is 5.
    queryStringLength: Maximum query length stored in bytes. Default value:
      1024 bytes. Range: 256-4500 bytes. Query lengths greater than this field
      value will be truncated to this value. When unset, query length will be
      the default value. Changing query length will restart the database.
    recordApplicationTags: Whether Query Insights will record application tags
      from query when enabled.
    recordClientAddress: Whether Query Insights will record client address
      when enabled.
  r
   r   r#   r   r   rG   N)r   r   r   r   r   r   queryInsightsEnabledr%   r&   r'   queryPlansPerMinutequeryStringLengthrecordApplicationTagsrecordClientAddressr   r   r   r  r    s    " 0//2.	..q):K:K:Q:QR,i,,Q	8I8I8O8OP0)003.	..q1r   r  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)InstanceReferenceat  Reference to another Cloud SQL instance.

  Fields:
    name: The name of the Cloud SQL instance being referenced. This does not
      include the project ID.
    project: The project ID of the Cloud SQL instance being referenced. The
      default is the same project ID as the instance references it.
    region: The region of the Cloud SQL instance being referenced.
  r
   r   r   N)	r   r   r   r   r   r   r   rs  r7   r   r   r   r  r    s?     
		q	!$!I!!!$' 9  #&r   r  c                   6    e Zd ZdZ ej
                  dd      Zy) InstancesAcquireSsrsLeaseRequestzRequest to acquire an SSRS lease for an instance.

  Fields:
    acquireSsrsLeaseContext: Contains details about the acquire SSRS lease
      operation.
  r   r
   N)r   r   r   r   r   r   acquireSsrsLeaseContextr   r   r   r  r    s     3I223LaPr   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesCloneRequestzlDatabase instance clone request.

  Fields:
    cloneContext: Contains details about the clone operation.
  r+  r
   N)r   r   r   r   r   r   cloneContextr   r   r   r  r    s     ('':,r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesDemoteMasterRequestzDatabase demote primary instance request.

  Fields:
    demoteMasterContext: Contains details about the demoteMaster operation.
  r  r
   N)r   r   r   r   r   r   demoteMasterContextr   r   r   r  r    s     /	../DaHr   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesDemoteRequesta6  This request is used to demote an existing standalone instance to be a
  Cloud SQL read replica for an external database server.

  Fields:
    demoteContext: Required. This context is used to demote an existing
      standalone instance to be a Cloud SQL read replica for an external
      database server.
  r  r
   N)r   r   r   r   r   r   demoteContextr   r   r   r  r    s     ))((!<-r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesExportRequestzoDatabase instance export request.

  Fields:
    exportContext: Contains details about the export operation.
  r,  r
   N)r   r   r   r   r   r   exportContextr   r   r   r  r         ))((!<-r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesFailoverRequestzOInstance failover request.

  Fields:
    failoverContext: Failover Context.
  r~  r
   N)r   r   r   r   r   r   failoverContextr   r   r   r  r    s     +I**+<a@/r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesImportRequestzoDatabase instance import request.

  Fields:
    importContext: Contains details about the import operation.
  r  r
   N)r   r   r   r   r   r   importContextr   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z	 ej
                  dd	d      Z
y
)InstancesListResponsea  Database instances list response.

  Fields:
    items: List of database instance resources.
    kind: This is always `sql#instancesList`.
    nextPageToken: The continuation token, used to page through large result
      sets. Provide this value in a subsequent request to return the next page
      of results.
    warnings: List of warnings that occurred while handling the request.
  r   r
   Tr!  r   r   r*   r   Nr   r   r   r   r   r   r$  r   r   r%  warningsr   r   r   r   r     sZ    	 !)
 
 !3Q
F%			q	!$')''*-#Y##L!dC(r   r   c                       e Zd ZdZ ej
                  d      Z ej                  ddd      Z ej
                  d      Z	y)	InstancesListServerCasResponsezInstances ListServerCas response.

  Fields:
    activeVersion: A string attribute.
    certs: List of server CA certificates for the instance.
    kind: This is always `sql#instancesListServerCas`.
  r
   rY  r   Tr!  r   N)
r   r   r   r   r   r   activeVersionr   certsr   r   r   r   r  r    sC     ()''*-
 )
 
 A
=%			q	!$r   r  c                       e Zd ZdZ ej
                  d      Z ej                  ddd      Z ej
                  d      Z	 ej                  ddd      Z
y	)
'InstancesListServerCertificatesResponsea  Instances ListServerCertificatess response.

  Fields:
    activeVersion: The `sha1_fingerprint` of the active certificate from
      `server_certs`.
    caCerts: List of server CA certificates for the instance.
    kind: This is always `sql#instancesListServerCertificates`.
    serverCerts: List of server certificates for the instance, signed by the
      corresponding CA from the `ca_certs` list.
  r
   rY  r   Tr!  r   r   N)r   r   r   r   r   r   r  r   caCertsr   serverCertsr   r   r   r  r  "  sY    	 ()''*-"I""9a$?'			q	!$&	&&y!dC+r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)+InstancesPreCheckMajorVersionUpgradeRequestzRequest for Pre-checks for MVU

  Fields:
    preCheckMajorVersionUpgradeContext: Required. Contains details about the
      pre-check major version upgrade operation.
  "PreCheckMajorVersionUpgradeContextr
   N)r   r   r   r   r   r   "preCheckMajorVersionUpgradeContextr   r   r   r  r  4  s      (>y'='=>bde'f$r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesReencryptRequestzDatabase Instance reencrypt request.

  Fields:
    backupReencryptionConfig: Configuration specific to backup re-encryption
  r   r
   N)r   r   r   r   r   r   backupReencryptionConfigr   r   r   r  r  ?  s      4Y334NPQRr   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dd      Z	 ej
                  dd      Z
 ej                  d	d
      Zy)InstancesRestoreBackupRequestaj  Database instance restore backup request.

  Fields:
    backup: The name of the backup that's used to restore a Cloud SQL
      instance: Format: projects/{project-id}/backups/{backup-uid}. Only one
      of restore_backup_context, backup, backupdr_backup can be passed to the
      input.
    backupdrBackup: The name of the backup that's used to restore a Cloud SQL
      instance: Format: "projects/{project-id}/locations/{location}/backupVaul
      ts/{backupvault}/dataSources/{datasource}/backups/{backup-uid}". Only
      one of restore_backup_context, backup, backupdr_backup can be passed to
      the input.
    restoreBackupContext: Parameters required to perform the restore backup
      operation.
    restoreInstanceClearOverridesFieldNames: Optional. This field has the same
      purpose as restore_instance_settings, changes any instance settings
      stored in the backup you are restoring from. With the difference that
      these fields are cleared in the settings.
    restoreInstanceSettings: Optional. By using this parameter, Cloud SQL
      overrides any instance settings stored in the backup you are restoring
      from. You can't change the instance's major database version and you can
      only increase the disk size. You can use this field to restore new
      instances only. This field is not applicable for restore to existing
      instances.
  r
   r   RestoreBackupContextr   r   Tr!  r   rG   N)r   r   r   r   r   r   backupbackupdrBackupr   restoreBackupContext'restoreInstanceClearOverridesFieldNamesrestoreInstanceSettingsr   r   r   r  r  I  sn    4 !9  #&(9((+.///0FJ,AI,A,A!d,S)2I223EqIr   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesRotateServerCaRequestzRotate Server CA request.

  Fields:
    rotateServerCaContext: Contains details about the rotate server CA
      operation.
  RotateServerCaContextr
   N)r   r   r   r   r   r   rotateServerCaContextr   r   r   r  r  k  s     1)001H!Lr   r  c                   6    e Zd ZdZ ej
                  dd      Zy)'InstancesRotateServerCertificateRequestzRotate Server Certificate request.

  Fields:
    rotateServerCertificateContext: Optional. Contains details about the
      rotate server CA operation.
  RotateServerCertificateContextr
   N)r   r   r   r   r   r   rotateServerCertificateContextr   r   r   r  r  v  s      $:9#9#9:Z\]#^ r   r  c                   6    e Zd ZdZ ej
                  dd      Zy)InstancesTruncateLogRequestzwInstance truncate log request.

  Fields:
    truncateLogContext: Contains details about the truncate log operation.
  TruncateLogContextr
   N)r   r   r   r   r   r   truncateLogContextr   r   r   r#  r#    s     .y--.BAFr   r#  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r   ak  Represents a time interval, encoded as a Timestamp start (inclusive) and
  a Timestamp end (exclusive). The start must be less than or equal to the
  end. When the start equals the end, the interval is empty (matches no time).
  When both start and end are unspecified, the interval matches any time.

  Fields:
    endTime: Optional. Exclusive end of the interval. If specified, a
      Timestamp matching this interval will have to be before the end.
    startTime: Optional. Inclusive start of the interval. If specified, a
      Timestamp matching this interval will have to be the same or after the
      start.
  r
   r   N)r   r   r   r   r   r   r  r   r   r   r   r   r     s-     "I!!!$'#i##A&)r   r   c                   $   e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  d      Z	 ej                  ddd	
      Z ej                  dd	
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej(                  dd      Z ej                  d      Z ej(                  dd      Zy)IpConfigurationa&  IP Management configuration.

  Enums:
    ServerCaModeValueValuesEnum: Specify what type of CA is used for the
      server certificate.
    SslModeValueValuesEnum: Specify how SSL/TLS is enforced in database
      connections. If you must use the `require_ssl` flag for backward
      compatibility, then only the following value pairs are valid: For
      PostgreSQL and MySQL: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and
      `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`
      * `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
      For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and
      `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
      The value of `ssl_mode` has priority over the value of `require_ssl`.
      For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and
      `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL
      connections, while `require_ssl=false` means accept both non-SSL and SSL
      connections. In this case, MySQL and PostgreSQL databases respect
      `ssl_mode` and accepts only SSL connections.

  Fields:
    allocatedIpRange: The name of the allocated ip range for the private ip
      Cloud SQL instance. For example: "google-managed-services-default". If
      set, the instance ip will be created in the allocated range. The range
      name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035).
      Specifically, the name must be 1-63 characters long and match the
      regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
    authorizedNetworks: The list of external networks that are allowed to
      connect to the instance using the IP. In 'CIDR' notation, also known as
      'slash' notation (for example: `157.197.200.0/24`).
    customSubjectAlternativeNames: Optional. Custom Subject Alternative
      Name(SAN)s for a Cloud SQL instance.
    enablePrivatePathForGoogleCloudServices: Controls connectivity to private
      IP instances from Google services, such as BigQuery.
    ipv4Enabled: Whether the instance is assigned a public IP address or not.
    privateNetwork: The resource link for the VPC network from which the Cloud
      SQL instance is accessible for private IP. For example,
      `/projects/myProject/global/networks/default`. This setting can be
      updated, but it cannot be removed after it is set.
    pscConfig: PSC settings for this instance.
    requireSsl: Use `ssl_mode` instead. Whether SSL/TLS connections over IP
      are enforced. If set to false, then allow both non-SSL/non-TLS and
      SSL/TLS connections. For SSL/TLS connections, the client certificate
      won't be verified. If set to true, then only allow connections encrypted
      with SSL/TLS and with valid client certificates. If you want to enforce
      SSL/TLS without enforcing the requirement for valid client certificates,
      then use the `ssl_mode` flag instead of the legacy `require_ssl` flag.
    reservedIpRange: This field is deprecated and will be removed from a
      future version of the API.
    serverCaMode: Specify what type of CA is used for the server certificate.
    serverCaPool: Optional. The resource name of the server CA pool for an
      instance with `CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format:
      projects/{PROJECT}/locations/{REGION}/caPools/{CA_POOL_ID}
    sslMode: Specify how SSL/TLS is enforced in database connections. If you
      must use the `require_ssl` flag for backward compatibility, then only
      the following value pairs are valid: For PostgreSQL and MySQL: *
      `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` *
      `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` *
      `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true`
      For SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and
      `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true`
      The value of `ssl_mode` has priority over the value of `require_ssl`.
      For example, for the pair `ssl_mode=ENCRYPTED_ONLY` and
      `require_ssl=false`, `ssl_mode=ENCRYPTED_ONLY` means accept only SSL
      connections, while `require_ssl=false` means accept both non-SSL and SSL
      connections. In this case, MySQL and PostgreSQL databases respect
      `ssl_mode` and accepts only SSL connections.
  c                        e Zd ZdZdZdZdZdZy)+IpConfiguration.ServerCaModeValueValuesEnumrQ  r   r
   r   r   NrR  r   r   r   rW  r*    rX  r   rW  c                        e Zd ZdZdZdZdZdZy)&IpConfiguration.SslModeValueValuesEnumaf	  Specify how SSL/TLS is enforced in database connections. If you must
    use the `require_ssl` flag for backward compatibility, then only the
    following value pairs are valid: For PostgreSQL and MySQL: *
    `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and `require_ssl=false` *
    `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false` *
    `ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED` and `require_ssl=true` For
    SQL Server: * `ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED` and
    `require_ssl=false` * `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=true` The
    value of `ssl_mode` has priority over the value of `require_ssl`. For
    example, for the pair `ssl_mode=ENCRYPTED_ONLY` and `require_ssl=false`,
    `ssl_mode=ENCRYPTED_ONLY` means accept only SSL connections, while
    `require_ssl=false` means accept both non-SSL and SSL connections. In this
    case, MySQL and PostgreSQL databases respect `ssl_mode` and accepts only
    SSL connections.

    Values:
      SSL_MODE_UNSPECIFIED: The SSL mode is unknown.
      ALLOW_UNENCRYPTED_AND_ENCRYPTED: Allow non-SSL/non-TLS and SSL/TLS
        connections. For SSL connections to MySQL and PostgreSQL, the client
        certificate isn't verified. When this value is used, the legacy
        `require_ssl` flag must be false or cleared to avoid a conflict
        between the values of the two flags.
      ENCRYPTED_ONLY: Only allow connections encrypted with SSL/TLS. For SSL
        connections to MySQL and PostgreSQL, the client certificate isn't
        verified. When this value is used, the legacy `require_ssl` flag must
        be false or cleared to avoid a conflict between the values of the two
        flags.
      TRUSTED_CLIENT_CERTIFICATE_REQUIRED: Only allow connections encrypted
        with SSL/TLS and with valid client certificates. When this value is
        used, the legacy `require_ssl` flag must be true or cleared to avoid
        the conflict between values of two flags. PostgreSQL clients or users
        that connect using IAM database authentication must use either the
        [Cloud SQL Auth
        Proxy](https://cloud.google.com/sql/docs/postgres/connect-auth-proxy)
        or [Cloud SQL
        Connectors](https://cloud.google.com/sql/docs/postgres/connect-
        connectors) to enforce client identity verification. Only applicable
        to MySQL and PostgreSQL. Not applicable to SQL Server.
    r   r
   r   r   N)r   r   r   r   SSL_MODE_UNSPECIFIEDALLOW_UNENCRYPTED_AND_ENCRYPTEDENCRYPTED_ONLY#TRUSTED_CLIENT_CERTIFICATE_REQUIREDr   r   r   SslModeValueValuesEnumr,    s!    &N &'#N*+'r   r1  r
   r	   r   Tr!  r   r   rG   rH   	PscConfigrI   rJ   rK   rL   rM   rN   N)r   r   r   r   r   r3   rW  r1  r   r,  r   authorizedNetworksr[  r   'enablePrivatePathForGoogleCloudServicesipv4EnabledprivateNetwork	pscConfig
requireSslreservedIpRanger4   ra  serverCaPoolsslModer   r   r   r(  r(    s   CJ INN  $+,y~~ +,Z +Y**1--y--j!dK"7)"7"7D"I,BI,B,B1,E)&	&&q)+(9((+.$i$$[!4)%y%%a(*)I))!,/$$$%BBG,&&&r*,I 8"='r   r(  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Zy)r:  a  Database instance IP mapping

  Enums:
    TypeValueValuesEnum: The type of this IP address. A `PRIMARY` address is a
      public address that can accept incoming connections. A `PRIVATE` address
      is a private address that can accept incoming connections. An `OUTGOING`
      address is the source address of connections originating from the
      instance, if supported.

  Fields:
    ipAddress: The IP address assigned.
    timeToRetire: The due time for this IP to be retired in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`. This field is only available when the IP is
      scheduled to be retired.
    type: The type of this IP address. A `PRIMARY` address is a public address
      that can accept incoming connections. A `PRIVATE` address is a private
      address that can accept incoming connections. An `OUTGOING` address is
      the source address of connections originating from the instance, if
      supported.
  c                   $    e Zd ZdZdZdZdZdZdZy)IpMapping.TypeValueValuesEnumaC  The type of this IP address. A `PRIMARY` address is a public address
    that can accept incoming connections. A `PRIVATE` address is a private
    address that can accept incoming connections. An `OUTGOING` address is the
    source address of connections originating from the instance, if supported.

    Values:
      SQL_IP_ADDRESS_TYPE_UNSPECIFIED: This is an unknown IP address type.
      PRIMARY: IP address the customer is supposed to connect to. Usually this
        is the load balancer's IP address
      OUTGOING: Source IP address of the connection a read replica establishes
        to its external primary instance. This IP address can be allowlisted
        by the customer in case it has a firewall that filters incoming
        connection to its on premises primary instance.
      PRIVATE: Private IP used when using private IPs and network peering.
      MIGRATED_1ST_GEN: V1 IP of a migrated instance. We want the user to
        decommission this IP as soon as the migration is complete. Note: V1
        instances with V1 ip addresses will be counted as PRIMARY.
    r   r
   r   r   r   N)	r   r   r   r   SQL_IP_ADDRESS_TYPE_UNSPECIFIEDPRIMARYOUTGOINGPRIVATEMIGRATED_1ST_GENr   r   r   r   r>  G  s$    $ '(#GHGr   r   r
   r   r   N)r   r   r   r   r   r3   r   r   	ipAddresstimeToRetirer4   r   r   r   r   r:  r:  0  sR    ,INN 2 $i##A&)&&&q),			2A	6$r   r:  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej
                  ddd      Z	y	)
ListBackupsResponseav  The response payload containing a list of the backups.

  Fields:
    backups: A list of backups.
    nextPageToken: A token, which can be sent as `page_token` to retrieve the
      next page. If this field is omitted, then there aren't subsequent pages.
    warnings: If a region isn't unavailable or if an unknown error occurs,
      then a warning message is returned.
  r=   r
   Tr!  r   r*   r   N)
r   r   r   r   r   r   backupsr   r%  r  r   r   r   rG  rG  e  sG     #I""8Q>'')''*-#Y##L!dC(r   rG  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)LocationPreferenceaE  Preferred location. This specifies where a Cloud SQL instance is
  located. Note that if the preferred location is not available, the instance
  will be located as close as possible within the region. Only one location
  may be specified.

  Fields:
    followGaeApplication: The App Engine application to follow, it must be in
      the same region as the Cloud SQL instance. WARNING: Changing this might
      restart the instance.
    kind: This is always `sql#locationPreference`.
    secondaryZone: The preferred Compute Engine zone for the
      secondary/failover (for example: us-central1-a, us-central1-b, etc.). To
      disable this field, set it to 'no_secondary_zone'.
    zone: The preferred Compute Engine zone (for example: us-central1-a, us-
      central1-b, etc.). WARNING: Changing this might restart the instance.
  r
   r   r   r   N)
r   r   r   r   r   r   followGaeApplicationr   secondaryZonezoner   r   r   rJ  rJ  u  sR    " /..q1			q	!$')''*-			q	!$r   rJ  c                   $   e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  dej                  j                        Z ej                  d      Z ej                  dd      Zy	)
MaintenanceWindowa  Maintenance window. This specifies when a Cloud SQL instance is
  restarted for system maintenance purposes.

  Enums:
    UpdateTrackValueValuesEnum: Maintenance timing settings: `canary`,
      `stable`, or `week5`. For more information, see [About maintenance on
      Cloud SQL
      instances](https://cloud.google.com/sql/docs/mysql/maintenance).

  Fields:
    day: Day of week - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`,
      `SATURDAY`, or `SUNDAY`. Specify in the UTC time zone. Returned in
      output as an integer, 1 to 7, where `1` equals Monday.
    hour: Hour of day - 0 to 23. Specify in the UTC time zone.
    kind: This is always `sql#maintenanceWindow`.
    updateTrack: Maintenance timing settings: `canary`, `stable`, or `week5`.
      For more information, see [About maintenance on Cloud SQL
      instances](https://cloud.google.com/sql/docs/mysql/maintenance).
  c                        e Zd ZdZdZdZdZdZy),MaintenanceWindow.UpdateTrackValueValuesEnuma3  Maintenance timing settings: `canary`, `stable`, or `week5`. For more
    information, see [About maintenance on Cloud SQL
    instances](https://cloud.google.com/sql/docs/mysql/maintenance).

    Values:
      SQL_UPDATE_TRACK_UNSPECIFIED: This is an unknown maintenance timing
        preference.
      canary: For an instance with a scheduled maintenance window, this
        maintenance timing indicates that the maintenance update is scheduled
        7 to 14 days after the notification is sent out. Also referred to as
        `Week 1` (Console) and `preview` (gcloud CLI).
      stable: For an instance with a scheduled maintenance window, this
        maintenance timing indicates that the maintenance update is scheduled
        15 to 21 days after the notification is sent out. Also referred to as
        `Week 2` (Console) and `production` (gcloud CLI).
      week5: For instance with a scheduled maintenance window, this
        maintenance timing indicates that the maintenance update is scheduled
        35 to 42 days after the notification is sent out.
    r   r
   r   r   N)r   r   r   r   SQL_UPDATE_TRACK_UNSPECIFIEDcanarystableweek5r   r   r   UpdateTrackValueValuesEnumrQ    s    & $% FFEr   rV  r
   r#   r   r   r   N)r   r   r   r   r   r3   rV  r%   r&   r'   dayhourr   r   r4   updateTrackr   r   r   rO  rO    s    (9>> 2 		q)*;*;*A*AB#			9+<+<+B+B	C$			q	!$#	##$@!D+r   rO  c                   `    e Zd ZdZ ej
                  dej                  j                        Zy)r   zConfigurations for Backup and DR Service managed instances.

  Fields:
    backupdrTransactionLogRetentionDays: The number of days of transaction
      logs we retain for backups of instances managed by Backup and DR
      Service.
  r
   r#   N)	r   r   r   r   r   r%   r&   r'   #backupdrTransactionLogRetentionDaysr   r   r   r   r     s*     )?	(>(>q)J[J[JaJa(b%r   r   c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r  ay  Represents a notice or warning message from the database.

  Fields:
    message: The full message string. For PostgreSQL, this is a formatted
      string that may include severity, code, and the notice/warning message.
      For MySQL, this contains the warning message.
    severity: The severity of the message (e.g., "NOTICE" for PostgreSQL,
      "WARNING" for MySQL).
  r
   r   N)r   r   r   r   r   r   r6   severityr   r   r   r  r    s-     "I!!!$'"Y""1%(r   r  c                   4    e Zd ZdZ ej
                  d      Zy)MetadatazThe additional metadata information regarding the execution of the SQL
  statements.

  Fields:
    sqlStatementExecutionTime: The time taken to execute the SQL statements.
  r
   N)r   r   r   r   r   r   sqlStatementExecutionTimer   r   r   r_  r_    s     4i33A6r   r_  c                      e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej                  dej                  j                        Z ej
                  d      Z ej
                  d      Z ej                  d	      Z ej
                  d
      Z ej
                  d      Z ej
                  d      Z ej&                  d      Zy)MySqlReplicaConfigurationaJ  Read-replica configuration specific to MySQL databases.

  Fields:
    caCertificate: PEM representation of the trusted CA's x509 certificate.
    clientCertificate: PEM representation of the replica's x509 certificate.
    clientKey: PEM representation of the replica's private key. The
      corresponding public key is encoded in the client's certificate.
    connectRetryInterval: Seconds to wait between connect retries. MySQL's
      default is 60 seconds.
    dumpFilePath: Path to a SQL dump file in Google Cloud Storage from which
      the replica instance is to be created. The URI is in the form
      gs://bucketName/fileName. Compressed gzip files (.gz) are also
      supported. Dumps have the binlog co-ordinates from which replication
      begins. This can be accomplished by setting --master-data to 1 when
      using mysqldump.
    kind: This is always `sql#mysqlReplicaConfiguration`.
    masterHeartbeatPeriod: Interval in milliseconds between replication
      heartbeats.
    password: The password for the replication connection.
    sslCipher: A list of permissible ciphers to use for SSL encryption.
    username: The username for the replication connection.
    verifyServerCertificate: Whether or not to check the primary instance's
      Common Name value in the certificate that it sends during the SSL
      handshake.
  r
   r   r   r   r#   rG   rH   rI   rJ   rK   rL   rM   N)r   r   r   r   r   r   r  r  r  r%   r&   r'   connectRetryIntervaldumpFilePathr   masterHeartbeatPeriodr  	sslCipherr  r   verifyServerCertificater   r   r   rb  rb    s    4 ()''*-+i++A.#i##A&)///9;L;L;R;RS&&&q),			q	!$0)003"Y""1%(#i##A&)"Y""2&(2I2226r   rb  c                   :    e Zd ZdZ ej
                  ddd      Zy)MySqlSyncConfigztMySQL-specific external server sync settings.

  Fields:
    initialSyncFlags: Flags to use for the initial dump.
  	SyncFlagsr
   Tr!  N)r   r   r   r   r   r   initialSyncFlagsr   r   r   ri  ri    s      ,Y++KTJr   ri  c                      e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  d      Z
 ej                  d      Z ej                  d      Z ej                  d	      Z ej                  d
      Z ej                  ddd      Z ej                  dd      Z ej$                  dd      Z ej                  d      Zy)r  aR  On-premises instance configuration.

  Enums:
    SslOptionValueValuesEnum: Optional. SslOption for replica connection to
      the on-premises source.

  Fields:
    caCertificate: PEM representation of the trusted CA's x509 certificate.
    clientCertificate: PEM representation of the replica's x509 certificate.
    clientKey: PEM representation of the replica's private key. The
      corresponding public key is encoded in the client's certificate.
    dumpFilePath: The dump file to create the Cloud SQL replica.
    hostPort: The host and port of the on-premises instance in host:port
      format
    kind: This is always `sql#onPremisesConfiguration`.
    password: The password for connecting to on-premises instance.
    selectedObjects: Optional. A list of objects that the user selects for
      replication from an external source instance.
    sourceInstance: The reference to Cloud SQL instance if the source is Cloud
      SQL.
    sslOption: Optional. SslOption for replica connection to the on-premises
      source.
    username: The username for connecting to on-premises instance.
  c                        e Zd ZdZdZdZdZdZy)0OnPremisesConfiguration.SslOptionValueValuesEnuma  Optional. SslOption for replica connection to the on-premises source.

    Values:
      SSL_OPTION_UNSPECIFIED: Unknown SSL option i.e. SSL option not specified
        by user.
      DISABLE: SSL is disabled for replica connection to the on-premises
        source.
      REQUIRE: SSL is required for replica connection to the on-premises
        source.
      VERIFY_CA: Verify CA is required for replica connection to the on-
        premises source.
    r   r
   r   r   N)r   r   r   r   SSL_OPTION_UNSPECIFIEDDISABLEREQUIRE	VERIFY_CAr   r   r   SslOptionValueValuesEnumrn  3  s     GGIr   rs  r
   r   r   r   rG   rH   rI   SelectedObjectsrJ   Tr!  r  rK   rL   rM   N)r   r   r   r   r   r3   rs  r   r  r  r  rd  hostPortr   r  r   selectedObjectssourceInstancer4   	sslOptionr  r   r   r   r  r    s    2 $ ()''*-+i++A.#i##A&)&&&q),"Y""1%(			q	!$"Y""1%(*I**+<a$O/)9))*=qA.!i!!"<bA)"Y""2&(r   r  c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z ej                  dd	      Z
 ej                  d
d      Z ej                  dd      Z ej                  d      Z ej                  dd      Z ej                  dd      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej(                  dd      Z ej                  d      Z ej(                  dd      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej(                  dd      Z ej                  dd       Z ej                  d!      Z ej                  d"      Z ej                  d#      Z ej                  d$      Z y%)&	Operationa  An Operation resource. For successful operations that return an
  Operation resource, only the fields relevant to the operation are populated
  in the resource.

  Enums:
    MaintenanceTypeValueValuesEnum: Optional. The type of maintenance to be
      performed on the instance.
    OperationTypeValueValuesEnum: The type of the operation. Valid values are:
      * `CREATE` * `DELETE` * `UPDATE` * `RESTART` * `IMPORT` * `EXPORT` *
      `BACKUP_VOLUME` * `RESTORE_VOLUME` * `CREATE_USER` * `DELETE_USER` *
      `CREATE_DATABASE` * `DELETE_DATABASE`
    StatusValueValuesEnum: The status of an operation.

  Fields:
    acquireSsrsLeaseContext: The context for acquire SSRS lease operation, if
      applicable.
    apiWarning: An Admin API warning message.
    backupContext: The context for backup operation, if applicable.
    endTime: The time this operation finished in UTC timezone in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    error: If errors occurred during processing of this operation, this field
      will be populated.
    exportContext: The context for export operation, if applicable.
    importContext: The context for import operation, if applicable.
    insertTime: The time this operation was enqueued in UTC timezone in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    kind: This is always `sql#operation`.
    maintenanceType: Optional. The type of maintenance to be performed on the
      instance.
    name: An identifier that uniquely identifies the operation. You can use
      this identifier to retrieve the Operations resource that has information
      about the operation.
    operationType: The type of the operation. Valid values are: * `CREATE` *
      `DELETE` * `UPDATE` * `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME`
      * `RESTORE_VOLUME` * `CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` *
      `DELETE_DATABASE`
    preCheckMajorVersionUpgradeContext: The context for pre-check major
      version upgrade operation, if applicable. This field is only populated
      when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The
      PreCheckMajorVersionUpgradeContext message itself contains the details
      for that pre-check, such as the target database version for the upgrade
      and the results of the check (including any warnings or errors found).
    selfLink: The URI of this resource.
    startTime: The time this operation actually started in UTC timezone in
      [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    status: The status of an operation.
    subOperationType: Optional. The sub operation based on the operation type.
    targetId: Name of the resource on which this operation runs.
    targetLink: A string attribute.
    targetProject: The project ID of the target instance related to this
      operation.
    user: The email address of the user who initiated this operation.
  c                   $    e Zd ZdZdZdZdZdZdZy)(Operation.MaintenanceTypeValueValuesEnuma6  Optional. The type of maintenance to be performed on the instance.

    Values:
      SQL_MAINTENANCE_TYPE_UNSPECIFIED: Maintenance type is unspecified.
      INSTANCE_MAINTENANCE: Indicates that a standalone instance is undergoing
        maintenance. The instance can be either a primary instance or a
        replica.
      REPLICA_INCLUDED_MAINTENANCE: Indicates that the primary instance and
        all of its replicas, including cascading replicas, are undergoing
        maintenance. Maintenance is performed on groups of replicas first,
        followed by the primary instance.
      INSTANCE_SELF_SERVICE_MAINTENANCE: Indicates that the standalone
        instance is undergoing maintenance, initiated by self-service. The
        instance can be either a primary instance or a replica.
      REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE: Indicates that the primary
        instance and all of its replicas are undergoing maintenance, initiated
        by self-service. Maintenance is performed on groups of replicas first,
        followed by the primary instance.
    r   r
   r   r   r   N	r   r   r   r    SQL_MAINTENANCE_TYPE_UNSPECIFIEDINSTANCE_MAINTENANCEREPLICA_INCLUDED_MAINTENANCE!INSTANCE_SELF_SERVICE_MAINTENANCE)REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCEr   r   r   MaintenanceTypeValueValuesEnumr|    '    & ()$#$ ()%01-r   r  c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8y7)8&Operation.OperationTypeValueValuesEnuma  The type of the operation. Valid values are: * `CREATE` * `DELETE` *
    `UPDATE` * `RESTART` * `IMPORT` * `EXPORT` * `BACKUP_VOLUME` *
    `RESTORE_VOLUME` * `CREATE_USER` * `DELETE_USER` * `CREATE_DATABASE` *
    `DELETE_DATABASE`

    Values:
      SQL_OPERATION_TYPE_UNSPECIFIED: Unknown operation type.
      IMPORT: Imports data into a Cloud SQL instance.
      EXPORT: Exports data from a Cloud SQL instance to a Cloud Storage
        bucket.
      CREATE: Creates a new Cloud SQL instance.
      UPDATE: Updates the settings of a Cloud SQL instance.
      DELETE: Deletes a Cloud SQL instance.
      RESTART: Restarts the Cloud SQL instance.
      BACKUP: <no description>
      SNAPSHOT: <no description>
      BACKUP_VOLUME: Performs instance backup.
      DELETE_VOLUME: Deletes an instance backup.
      RESTORE_VOLUME: Restores an instance backup.
      INJECT_USER: Injects a privileged user in mysql for MOB instances.
      CLONE: Clones a Cloud SQL instance.
      STOP_REPLICA: Stops replication on a Cloud SQL read replica instance.
      START_REPLICA: Starts replication on a Cloud SQL read replica instance.
      PROMOTE_REPLICA: Promotes a Cloud SQL replica instance.
      CREATE_REPLICA: Creates a Cloud SQL replica instance.
      CREATE_USER: Creates a new user in a Cloud SQL instance.
      DELETE_USER: Deletes a user from a Cloud SQL instance.
      UPDATE_USER: Updates an existing user in a Cloud SQL instance.
      CREATE_DATABASE: Creates a database in the Cloud SQL instance.
      DELETE_DATABASE: Deletes a database in the Cloud SQL instance.
      UPDATE_DATABASE: Updates a database in the Cloud SQL instance.
      FAILOVER: Performs failover of an HA-enabled Cloud SQL failover replica.
      DELETE_BACKUP: Deletes the backup taken by a backup run.
      RECREATE_REPLICA: <no description>
      TRUNCATE_LOG: Truncates a general or slow log table in MySQL.
      DEMOTE_MASTER: Demotes the stand-alone instance to be a Cloud SQL read
        replica for an external database server.
      MAINTENANCE: Indicates that the instance is currently in maintenance.
        Maintenance typically causes the instance to be unavailable for 1-3
        minutes.
      ENABLE_PRIVATE_IP: This field is deprecated, and will be removed in
        future version of API.
      DEFER_MAINTENANCE: <no description>
      CREATE_CLONE: Creates clone instance.
      RESCHEDULE_MAINTENANCE: Reschedule maintenance to another time.
      START_EXTERNAL_SYNC: Starts external sync of a Cloud SQL EM replica to
        an external primary instance.
      LOG_CLEANUP: Recovers logs from an instance's old data disk.
      AUTO_RESTART: Performs auto-restart of an HA-enabled Cloud SQL database
        for auto recovery.
      REENCRYPT: Re-encrypts CMEK instances with latest key version.
      SWITCHOVER: Switches the roles of the primary and replica pair. The
        target instance should be the replica.
      UPDATE_BACKUP: Update a backup.
      ACQUIRE_SSRS_LEASE: Acquire a lease for the setup of SQL Server
        Reporting Services (SSRS).
      RELEASE_SSRS_LEASE: Release a lease for the setup of SQL Server
        Reporting Services (SSRS).
      RECONFIGURE_OLD_PRIMARY: Reconfigures old primary after a promote
        replica operation. Effect of a promote operation to the old primary is
        executed in this operation, asynchronously from the promote replica
        operation executed to the replica.
      CLUSTER_MAINTENANCE: Indicates that the instance, its read replicas, and
        its cascading replicas are in maintenance. Maintenance typically gets
        initiated on groups of replicas first, followed by the primary
        instance. For each instance, maintenance typically causes the instance
        to be unavailable for 1-3 minutes.
      SELF_SERVICE_MAINTENANCE: Indicates that the instance (and any of its
        replicas) are currently in maintenance. This is initiated as a self-
        service request by using SSM. Maintenance typically causes the
        instance to be unavailable for 1-3 minutes.
      SWITCHOVER_TO_REPLICA: Switches a primary instance to a replica. This
        operation runs as part of a switchover operation to the original
        primary instance.
      MAJOR_VERSION_UPGRADE: Updates the major version of a Cloud SQL
        instance.
      ADVANCED_BACKUP: Deprecated: ADVANCED_BACKUP is deprecated. Use
        ENHANCED_BACKUP instead.
      MANAGE_BACKUP: Changes the BackupTier of a Cloud SQL instance.
      ENHANCED_BACKUP: Creates a backup for an Enhanced BackupTier Cloud SQL
        instance.
      REPAIR_READ_POOL: Repairs entire read pool or specified read pool nodes
        in the read pool.
      CREATE_READ_POOL: Creates a Cloud SQL read pool instance.
      PRE_CHECK_MAJOR_VERSION_UPGRADE: Pre-checks for major version upgrade.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   r  r  r  N)9r   r   r   r   SQL_OPERATION_TYPE_UNSPECIFIEDIMPORTEXPORTCREATEUPDATEDELETERESTARTBACKUPrB   BACKUP_VOLUMEDELETE_VOLUMERESTORE_VOLUMEINJECT_USERCLONESTOP_REPLICASTART_REPLICAPROMOTE_REPLICACREATE_REPLICACREATE_USERDELETE_USERUPDATE_USERCREATE_DATABASEDELETE_DATABASEUPDATE_DATABASEFAILOVERDELETE_BACKUPRECREATE_REPLICATRUNCATE_LOGDEMOTE_MASTERr  ENABLE_PRIVATE_IPDEFER_MAINTENANCECREATE_CLONERESCHEDULE_MAINTENANCESTART_EXTERNAL_SYNCLOG_CLEANUPAUTO_RESTART	REENCRYPT
SWITCHOVERUPDATE_BACKUPACQUIRE_SSRS_LEASERELEASE_SSRS_LEASERECONFIGURE_OLD_PRIMARYCLUSTER_MAINTENANCESELF_SERVICE_MAINTENANCESWITCHOVER_TO_REPLICAMAJOR_VERSION_UPGRADEADVANCED_BACKUPMANAGE_BACKUPENHANCED_BACKUPREPAIR_READ_POOLCREATE_READ_POOLPRE_CHECK_MAJOR_VERSION_UPGRADEr   r   r   OperationTypeValueValuesEnumr    s$   Ul &'"FFFFFGFHMMNKELMONKKKOOOHMLMKLKLIJM !OMO&(#r   r  c                        e Zd ZdZdZdZdZdZy)Operation.StatusValueValuesEnuma  The status of an operation.

    Values:
      SQL_OPERATION_STATUS_UNSPECIFIED: The state of the operation is unknown.
      PENDING: The operation has been queued, but has not started yet.
      RUNNING: The operation is running.
      DONE: The operation completed.
    r   r
   r   r   N)r   r   r   r    SQL_OPERATION_STATUS_UNSPECIFIEDPENDINGr   DONEr   r   r   r  r  3  s     ()$GGDr   r  r   r
   r*   r   r   r   r   OperationErrorsrG   r,  rH   r  rI   rJ   rK   rL   rM   rN   r  rO   rP   rQ   rR   SqlSubOperationTyperS   rT   rU   rV   rW   N)!r   r   r   r   r   r3   r  r  r  r   r  
apiWarningbackupContextr   r  r   r  r  
insertTimer   r4   maintenanceTyper   operationTyper  r   r   r  subOperationTypetargetId
targetLinktargetProjectr*  r   r   r   rz  rz  R  s   7r2y~~ 24K)Y^^ K)Zinn  3I223LaP%y%%lA6*()((!<-!I!!!$'
 )
 
 !2A
6%()((!<-()((!<-$y$$Q'*			q	!$'I''(H"M/			r	"$%)%%&DbI-'=y'='=>bdf'g$"Y""2&(#i##B')96;&+Y++,A2F"Y""2&($y$$R(*')''+-			r	"$r   rz  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy)r   zDatabase instance operation error.

  Fields:
    code: Identifies the specific error that occurred.
    kind: This is always `sql#operationError`.
    message: Additional information about the error encountered.
  r
   r   r   N)	r   r   r   r   r   r   r5   r   r6   r   r   r   r   r   X  s?     
		q	!$			q	!$!I!!!$'r   r   c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)r  zDatabase instance operation errors list wrapper.

  Fields:
    errors: The list of errors encountered while processing this operation.
    kind: This is always `sql#operationErrors`.
  r   r
   Tr!  r   N)	r   r   r   r   r   r   errorsr   r   r   r   r   r  r  f  s2     "9!!"2AE&			q	!$r   r  c                      e Zd ZdZ ej
                  d      Z ej                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d      Z ej
                  d      Z ej
                  d      Zy	)
OperationMetadataa"  Represents the metadata of the long-running operation.

  Fields:
    apiVersion: Output only. API version used to start the operation.
    cancelRequested: Output only. Identifies whether the user has requested
      cancellation of the operation. Operations that have been cancelled
      successfully have google.longrunning.Operation.error value with a
      google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
    createTime: Output only. The time the operation was created.
    endTime: Output only. The time the operation finished running.
    statusDetail: Output only. Human-readable status of the operation, if any.
    target: Output only. Server-defined resource path for the target of the
      operation.
    verb: Output only. Name of the verb executed by the operation.
  r
   r   r   r   rG   rH   rI   N)r   r   r   r   r   r   
apiVersionr   cancelRequestedr  r  statusDetailtargetverbr   r   r   r  r  r  s      %y$$Q'**I**1-/$y$$Q'*!I!!!$'&&&q), 9  #&			q	!$r   r  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z	 ej
                  dd	d      Z
y
)OperationsListResponseau  Operations list response.

  Fields:
    items: List of operation resources.
    kind: This is always `sql#operationsList`.
    nextPageToken: The continuation token, used to page through large result
      sets. Provide this value in a subsequent request to return the next page
      of results.
    warnings: List of warnings that occurred while handling the request.
  rz  r
   Tr!  r   r   r*   r   Nr  r   r   r   r  r    sY    	 !)
 
 a$
?%			q	!$')''*-#Y##L!dC(r   r  c                   X    e Zd ZdZ ej
                  d      Z ej                  d      Zy)PasswordStatuszRead-only password status.

  Fields:
    locked: If true, user does not have login privileges.
    passwordExpirationTime: The expiration time of the current password.
  r
   r   N)	r   r   r   r   r   r   lockedr   passwordExpirationTimer   r   r   r  r    s.     "9!!!$&09003r   r  c                      e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z
 ej                  d      Z ej                  d      Z ej                  dej                  j                  	      Z ej"                  d
      Z ej                  dej                  j                  	      Zy)PasswordValidationPolicya  Database instance local user password validation policy

  Enums:
    ComplexityValueValuesEnum: The complexity of the password.

  Fields:
    complexity: The complexity of the password.
    disallowCompromisedCredentials: This field is deprecated and will be
      removed in a future version of the API.
    disallowUsernameSubstring: Disallow username as a part of the password.
    enablePasswordPolicy: Whether the password policy is enabled or not.
    minLength: Minimum number of characters allowed.
    passwordChangeInterval: Minimum interval after which the password can be
      changed. This flag is only supported for PostgreSQL.
    reuseInterval: Number of previous passwords that cannot be reused.
  c                       e Zd ZdZdZdZy)2PasswordValidationPolicy.ComplexityValueValuesEnumzThe complexity of the password.

    Values:
      COMPLEXITY_UNSPECIFIED: Complexity check is not specified.
      COMPLEXITY_DEFAULT: A combination of lowercase, uppercase, numeric, and
        non-alphanumeric characters.
    r   r
   N)r   r   r   r   COMPLEXITY_UNSPECIFIEDCOMPLEXITY_DEFAULTr   r   r   ComplexityValueValuesEnumr    s     r   r  r
   r   r   r   rG   r#   rH   rI   N)r   r   r   r   r   r3   r  r4   
complexityr   disallowCompromisedCredentialsdisallowUsernameSubstringenablePasswordPolicyr%   r&   r'   	minLengthr   passwordChangeIntervalreuseIntervalr   r   r   r  r    s    "	).. 	 #y""#>B*#99#9#9!#< 4i44Q7///2$i$$Q	0A0A0G0GH)09003()((I4E4E4K4KL-r   r  c                   4    e Zd ZdZ ej
                  d      Zy)PerformDiskShrinkContextzfPerform disk shrink context.

  Fields:
    targetSizeGb: The target disk shrink size in GigaBytes.
  r
   N)r   r   r   r   r   r%   targetSizeGbr   r   r   r  r    s     (''*,r   r  c                   ~   e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d	      Z ej
                  d
      Z ej
                  d      Z ej
                  d      Z ej                  dd      Zy)PointInTimeRestoreContexta  Context to perform a point-in-time restore of an instance managed by
  Google Cloud Backup and Disaster Recovery.

  Fields:
    allocatedIpRange: Optional. The name of the allocated IP range for the
      internal IP Cloud SQL instance. For example: "google-managed-services-
      default". If you set this, then Cloud SQL creates the IP address for the
      cloned instance in the allocated range. This range must comply with [RFC
      1035](https://tools.ietf.org/html/rfc1035) standards. Specifically, the
      name must be 1-63 characters long and match the regular expression
      [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
    databaseNames: Optional. (SQL Server only) Clone only the specified
      databases from the source instance. If you don't specify any databases,
      then Cloud SQL clones all databases for the instance.
    datasource: The Google Cloud Backup and Disaster Recovery Datasource URI.
      Format: projects/{project}/locations/{region}/backupVaults/{backupvault}
      /dataSources/{datasource}.
    pointInTime: Required. The date and time to which you want to restore the
      instance.
    preferredSecondaryZone: Optional. Point-in-time recovery of a regional
      instance in the specified zones. If not specified, clone to the same
      secondary zone as the source instance. This value cannot be the same as
      the preferred_zone field.
    preferredZone: Optional. Point-in-time recovery of an instance to the
      specified zone. If no zone is specified, then clone to the same primary
      zone as the source instance.
    privateNetwork: Optional. The resource link for the VPC network from which
      the Cloud SQL instance is accessible for private IP. For example,
      `/projects/myProject/global/networks/default`.
    sourceInstanceDeletionTime: The timestamp used to identify the time when
      the source instance is deleted. If this instance is deleted, then you
      must set the timestamp.
    targetInstance: Target instance name.
    targetInstanceSettings: Optional. Specifies the instance settings that
      will be overridden from the source instance. This field is only
      applicable for cross project PITRs.
  r
   r   Tr!  r   r   rG   rH   rI   rJ   rK   r   rL   N)r   r   r   r   r   r   r,  r.  
datasourcer1  r2  r3  r6  r4  targetInstancer   targetInstanceSettingsr   r   r   r  r    s    $L +Y**1-')''D9-$y$$Q'*%	%%a(+09003')''*-(9((+.4y44Q7(9((+.19112DbIr   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  ddd      Z
 ej                  d	      Z ej                  d
dd      Z ej                  d      Z ej                  dd      Zy)r  a  Details of a single read pool node of a read pool.

  Enums:
    StateValueValuesEnum: Output only. The current state of the read pool
      node.

  Fields:
    dnsName: Output only. The DNS name of the read pool node.
    dnsNames: Output only. The list of DNS names used by this read pool node.
    gceZone: Output only. The zone of the read pool node.
    ipAddresses: Output only. Mappings containing IP addresses that can be
      used to connect to the read pool node.
    name: Output only. The name of the read pool node, to be used for
      retrieving metrics and logs.
    state: Output only. The current state of the read pool node.
  c                   4    e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
Zy)#PoolNodeConfig.StateValueValuesEnuma  Output only. The current state of the read pool node.

    Values:
      SQL_INSTANCE_STATE_UNSPECIFIED: The state of the instance is unknown.
      RUNNABLE: The instance is running, or has been stopped by owner.
      SUSPENDED: The instance is not available, for example due to problems
        with billing.
      PENDING_DELETE: The instance is being deleted.
      PENDING_CREATE: The instance is being created.
      MAINTENANCE: The instance is down for maintenance.
      FAILED: The creation of the instance failed or a fatal error occurred
        during maintenance.
      ONLINE_MAINTENANCE: Deprecated
      REPAIRING: (Applicable to read pool nodes only.) The read pool node
        needs to be repaired. The database might be unavailable.
    r   r
   r   r   r   rG   rH   rI   rJ   Nr  r   r   r   r   r    r  r   r   r
   r9  r   Tr!  r   r:  r   rG   rH   N)r   r   r   r   r   r3   r   r   r;  r   r<  r  r=  r   r4   r   r   r   r   r  r    s    "Y^^ 6 "I!!!$'#Y##$4a$G(!I!!!$'&	&&{AE+			q	!$
)

4a
8%r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  ddd      Z
 ej                  dd	      Zy
)r  a  Pre-check major version upgrade context.

  Enums:
    TargetDatabaseVersionValueValuesEnum: Required. The target database
      version to upgrade to.

  Fields:
    kind: Optional. This is always `sql#preCheckMajorVersionUpgradeContext`.
    preCheckResponse: Output only. The responses from the precheck operation.
    targetDatabaseVersion: Required. The target database version to upgrade
      to.
  c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5y4)5GPreCheckMajorVersionUpgradeContext.TargetDatabaseVersionValueValuesEnuma  Required. The target database version to upgrade to.

    Values:
      SQL_DATABASE_VERSION_UNSPECIFIED: This is an unknown database version.
      MYSQL_5_1: The database version is MySQL 5.1.
      MYSQL_5_5: The database version is MySQL 5.5.
      MYSQL_5_6: The database version is MySQL 5.6.
      MYSQL_5_7: The database version is MySQL 5.7.
      MYSQL_8_0: The database version is MySQL 8.
      MYSQL_8_0_18: The database major version is MySQL 8.0 and the minor
        version is 18.
      MYSQL_8_0_26: The database major version is MySQL 8.0 and the minor
        version is 26.
      MYSQL_8_0_27: The database major version is MySQL 8.0 and the minor
        version is 27.
      MYSQL_8_0_28: The database major version is MySQL 8.0 and the minor
        version is 28.
      MYSQL_8_0_29: The database major version is MySQL 8.0 and the minor
        version is 29.
      MYSQL_8_0_30: The database major version is MySQL 8.0 and the minor
        version is 30.
      MYSQL_8_0_31: The database major version is MySQL 8.0 and the minor
        version is 31.
      MYSQL_8_0_32: The database major version is MySQL 8.0 and the minor
        version is 32.
      MYSQL_8_0_33: The database major version is MySQL 8.0 and the minor
        version is 33.
      MYSQL_8_0_34: The database major version is MySQL 8.0 and the minor
        version is 34.
      MYSQL_8_0_35: The database major version is MySQL 8.0 and the minor
        version is 35.
      MYSQL_8_0_36: The database major version is MySQL 8.0 and the minor
        version is 36.
      MYSQL_8_0_37: The database major version is MySQL 8.0 and the minor
        version is 37.
      MYSQL_8_0_39: The database major version is MySQL 8.0 and the minor
        version is 39.
      MYSQL_8_0_40: The database major version is MySQL 8.0 and the minor
        version is 40.
      MYSQL_8_0_41: The database major version is MySQL 8.0 and the minor
        version is 41.
      MYSQL_8_0_42: The database major version is MySQL 8.0 and the minor
        version is 42.
      MYSQL_8_0_43: The database major version is MySQL 8.0 and the minor
        version is 43.
      MYSQL_8_0_44: The database major version is MySQL 8.0 and the minor
        version is 44.
      MYSQL_8_0_45: The database major version is MySQL 8.0 and the minor
        version is 45.
      MYSQL_8_0_46: The database major version is MySQL 8.0 and the minor
        version is 46.
      MYSQL_8_4: The database version is MySQL 8.4.
      SQLSERVER_2017_STANDARD: The database version is SQL Server 2017
        Standard.
      SQLSERVER_2017_ENTERPRISE: The database version is SQL Server 2017
        Enterprise.
      SQLSERVER_2017_EXPRESS: The database version is SQL Server 2017 Express.
      SQLSERVER_2017_WEB: The database version is SQL Server 2017 Web.
      POSTGRES_9_6: The database version is PostgreSQL 9.6.
      POSTGRES_10: The database version is PostgreSQL 10.
      POSTGRES_11: The database version is PostgreSQL 11.
      POSTGRES_12: The database version is PostgreSQL 12.
      POSTGRES_13: The database version is PostgreSQL 13.
      POSTGRES_14: The database version is PostgreSQL 14.
      POSTGRES_15: The database version is PostgreSQL 15.
      POSTGRES_16: The database version is PostgreSQL 16.
      POSTGRES_17: The database version is PostgreSQL 17.
      POSTGRES_18: The database version is PostgreSQL 18.
      SQLSERVER_2019_STANDARD: The database version is SQL Server 2019
        Standard.
      SQLSERVER_2019_ENTERPRISE: The database version is SQL Server 2019
        Enterprise.
      SQLSERVER_2019_EXPRESS: The database version is SQL Server 2019 Express.
      SQLSERVER_2019_WEB: The database version is SQL Server 2019 Web.
      SQLSERVER_2022_STANDARD: The database version is SQL Server 2022
        Standard.
      SQLSERVER_2022_ENTERPRISE: The database version is SQL Server 2022
        Enterprise.
      SQLSERVER_2022_EXPRESS: The database version is SQL Server 2022 Express.
      SQLSERVER_2022_WEB: The database version is SQL Server 2022 Web.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   Nrt   r   r   r   $TargetDatabaseVersionValueValuesEnumr  P  r  r   r  r
   PreCheckResponser   Tr!  r   N)r   r   r   r   r   r3   r  r   r   r   preCheckResponser4   targetDatabaseVersionr   r   r   r  r  B  s]    CY^^ CJ 
		q	!$+Y++,>DQ-)--.TVWXr   r  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z	 ej                  dd      Zy	)
r  a  Structured PreCheckResponse containing message, type, and required
  actions.

  Enums:
    MessageTypeValueValuesEnum: The type of message whether it is an info,
      warning, or error.

  Fields:
    actionsRequired: The actions that the user needs to take. Use repeated for
      multiple actions.
    message: The message to be displayed to the user.
    messageType: The type of message whether it is an info, warning, or error.
  c                        e Zd ZdZdZdZdZdZy)+PreCheckResponse.MessageTypeValueValuesEnuma  The type of message whether it is an info, warning, or error.

    Values:
      MESSAGE_TYPE_UNSPECIFIED: Default unspecified value to prevent
        unintended behavior changes.
      INFO: General informational messages that don't require action.
      WARNING: Warnings that might impact the upgrade but don't block it.
      ERROR: Errors that a user must resolve before proceeding with the
        upgrade.
    r   r
   r   r   N)r   r   r   r   MESSAGE_TYPE_UNSPECIFIEDINFOWARNINGERRORr   r   r   MessageTypeValueValuesEnumr    s    	  !DGEr   r  r
   Tr!  r   r   N)r   r   r   r   r   r3   r  r   actionsRequiredr6   r4   messageTyper   r   r   r  r    sT    9>>   *I))!d;/!I!!!$'#	##$@!D+r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
y)PscAutoConnectionConfigaz  Settings for an automatically-setup Private Service Connect consumer
  endpoint that is used to connect to a Cloud SQL instance.

  Fields:
    consumerNetwork: Optional. The consumer network of this consumer endpoint.
      This must be a resource path that includes both the host project and the
      network name. For example, `projects/project1/global/networks/network1`.
      The consumer host project of this network might be different from the
      consumer service project.
    consumerNetworkStatus: The connection policy status of the consumer
      network.
    consumerProject: Optional. This is the project ID of consumer service
      project of this consumer endpoint. Optional. This is only applicable if
      consumer_network is a shared vpc network.
    ipAddress: The IP address of the consumer endpoint.
    status: The connection status of the consumer endpoint.
  r
   r   r   r   rG   N)r   r   r   r   r   r   consumerNetworkconsumerNetworkStatusconsumerProjectrD  r  r   r   r   r  r    sd    $ *I))!,//)//2)I))!,/#i##A&) 9  #&r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej                  ddd      Z	 ej                  d      Zy	)
r2  a  PSC settings for a Cloud SQL instance.

  Fields:
    allowedConsumerProjects: Optional. The list of consumer projects that are
      allow-listed for PSC connections to this instance. This instance can be
      connected to with PSC from any network in these projects. Each consumer
      project in this list may be represented by a project number (numeric) or
      by a project id (alphanumeric).
    networkAttachmentUri: Optional. The network attachment of the consumer
      network that the Private Service Connect enabled Cloud SQL instance is
      authorized to connect via PSC interface. format:
      projects/PROJECT/regions/REGION/networkAttachments/ID
    pscAutoConnections: Optional. The list of settings for requested Private
      Service Connect consumer endpoints that can be used to connect to this
      Cloud SQL instance.
    pscEnabled: Whether PSC connectivity is enabled for this instance.
  r
   Tr!  r   r  r   r   N)r   r   r   r   r   r   allowedConsumerProjectsnetworkAttachmentUrir   pscAutoConnectionsr   r_  r   r   r   r2  r2    s\    $ 2I11!dC...q1-y--.GUYZ%y%%a(*r   r2  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z
 ej
                  dd	d      Z ej
                  d
d      Zy)QueryResulta  QueryResult contains the result of executing a single SQL statement.

  Fields:
    columns: List of columns included in the result. This also includes the
      data type of the column.
    message: Message related to the SQL execution result.
    partialResult: Set to true if the SQL execution's result is truncated due
      to size limits or an error retrieving results.
    rows: Rows returned by the SQL statement.
    status: If results were truncated due to an error, details of that error.
  r6  r
   Tr!  r   r   Rowr   StatusrG   N)r   r   r   r   r   r   r  r   r6   r   partialResultrowsr  r   r   r   r  r  1  sm    
 #I""8Q>'!I!!!$'()((+-			q4	8$!9!!(A.&r   r  c                      e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej                  dej                  j                        Z ej                  d	d
d      Zy)ReadPoolAutoScaleConfigaQ  The read pool auto-scale configuration.

  Fields:
    disableScaleIn: Indicates whether read pool auto scaling supports scale in
      operations (removing nodes).
    enabled: Indicates whether read pool auto scaling is enabled.
    maxNodeCount: Maximum number of read pool nodes to be maintained.
    minNodeCount: Minimum number of read pool nodes to be maintained.
    scaleInCooldownSeconds: The cooldown period for scale in operations.
    scaleOutCooldownSeconds: The cooldown period for scale out operations.
    targetMetrics: Optional. Target metrics for read pool auto scaling.
  r
   r   r   r#   r   rG   rH   TargetMetricrI   Tr!  N)r   r   r   r   r   r   disableScaleInr   r%   r&   r'   maxNodeCountminNodeCountscaleInCooldownSecondsscaleOutCooldownSecondsr   targetMetricsr   r   r   r  r  E  s     *9))!,."I""1%''''93D3D3J3JK,'''93D3D3J3JK,1911!Y=N=N=T=TU2I221i>O>O>U>UV()((TJ-r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  d      Z	 ej                  dd      Zy)r  a  Read-replica configuration for connecting to the primary instance.

  Fields:
    cascadableReplica: Optional. Specifies if a SQL Server replica is a
      cascadable replica. A cascadable replica is a SQL Server cross region
      replica that supports replica(s) under it.
    failoverTarget: Specifies if the replica is the failover target. If the
      field is set to `true` the replica will be designated as a failover
      replica. In case the primary instance fails, the replica instance will
      be promoted as the new primary instance. Only one replica can be
      specified as failover target, and the replica has to be in different
      zone with the primary instance.
    kind: This is always `sql#replicaConfiguration`.
    mysqlReplicaConfiguration: MySQL specific configuration when replicating
      from a MySQL on-premises primary instance. Replication configuration
      information such as the username, password, certificates, and keys are
      not stored in the instance metadata. The configuration information is
      used only to set up the replication connection and is stored by MySQL in
      a file named `master.info` in the data directory.
  r
   r   r   rb  r   N)r   r   r   r   r   r   cascadableReplicafailoverTargetr   r   r   r  r   r   r   r  r  \  sW    * -i,,Q/)9))!,.			q	!$4i445PRSTr   r  c                   |    e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  d      Z	y)r  a  A primary instance and disaster recovery (DR) replica pair. A DR replica
  is a cross-region replica that you designate for failover in the event that
  the primary instance has regional failure. Applicable to MySQL and
  PostgreSQL.

  Fields:
    drReplica: Output only. Read-only field that indicates whether the replica
      is a DR replica. This field is not set if the instance is a primary
      instance.
    failoverDrReplicaName: Optional. If the instance is a primary instance,
      then this field identifies the disaster recovery (DR) replica. A DR
      replica is an optional configuration for Enterprise Plus edition
      instances. If the instance is a read replica, then the field is not set.
      Set this field to a replica name to designate a DR replica for a primary
      instance. Remove the replica name to remove the DR replica designation.
    psaWriteEndpoint: Output only. If set, this field indicates this instance
      has a private service access (PSA) DNS endpoint that is pointing to the
      primary instance of the cluster. If this instance is the primary, then
      the DNS endpoint points to this instance. After a switchover or replica
      failover operation, this DNS endpoint points to the promoted instance.
      This is a read-only field, returned to the user as information. This
      field can exist even if a standalone instance doesn't have a DR replica
      yet or the DR replica is deleted.
  r
   r   r   N)
r   r   r   r   r   r   	drReplicar   failoverDrReplicaNamepsaWriteEndpointr   r   r   r  r  x  sA    2 %i$$Q')/)//2*Y**1-r   r  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  d      Z
y)
Reschedulea  A Reschedule object.

  Enums:
    RescheduleTypeValueValuesEnum: Required. The type of the reschedule.

  Fields:
    rescheduleType: Required. The type of the reschedule.
    scheduleTime: Optional. Timestamp when the maintenance shall be
      rescheduled to if reschedule_type=SPECIFIC_TIME, in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
  c                        e Zd ZdZdZdZdZdZy)(Reschedule.RescheduleTypeValueValuesEnuma  Required. The type of the reschedule.

    Values:
      RESCHEDULE_TYPE_UNSPECIFIED: <no description>
      IMMEDIATE: Reschedules maintenance to happen now (within 5 minutes).
      NEXT_AVAILABLE_WINDOW: Reschedules maintenance to occur within one week
        from the originally scheduled day and time.
      SPECIFIC_TIME: Reschedules maintenance to a specific time and day.
    r   r
   r   r   N)r   r   r   r   RESCHEDULE_TYPE_UNSPECIFIED	IMMEDIATENEXT_AVAILABLE_WINDOWSPECIFIC_TIMEr   r   r   RescheduleTypeValueValuesEnumr'    s     #$IMr   r,  r
   r   N)r   r   r   r   r   r3   r,  r4   rescheduleTyper   scheduleTimer   r   r   r%  r%    s@    inn  '9&&'FJ.&&&q),r   r%  c                       e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  d      Z	 ej                  d      Z
y)r  ai  Database instance restore from backup context. Backup context contains
  source instance id and project id.

  Fields:
    backupRunId: The ID of the backup run to restore from.
    instanceId: The ID of the instance that the backup was taken from.
    kind: This is always `sql#restoreBackupContext`.
    project: The full project ID of the source instance.
  r
   r   r   r   N)r   r   r   r   r   r%   backupRunIdr   
instanceIdr   rs  r   r   r   r  r    sQ     '	&&q)+$y$$Q'*			q	!$!I!!!$'r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r  a  Instance rotate server CA context.

  Fields:
    kind: This is always `sql#rotateServerCaContext`.
    nextVersion: The fingerprint of the next version to be rotated to. If left
      unspecified, will be rotated to the most recently added server CA
      version.
  r
   r   Nr   r   r   r   r   r   r   nextVersionr   r   r   r  r    -     
		q	!$%	%%a(+r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r   a;  Instance rotate server certificate context.

  Fields:
    kind: Optional. This is always `sql#rotateServerCertificateContext`.
    nextVersion: Optional. The fingerprint of the next version to be rotated
      to. If left unspecified, will be rotated to the most recently added
      server certificate version.
  r
   r   Nr3  r   r   r   r   r     r5  r   r   c                   :    e Zd ZdZ ej
                  ddd      Zy)r  zPContains the values for a row.

  Fields:
    values: The values for the row.
  Valuer
   Tr!  N)r   r   r   r   r   r   valuesr   r   r   r  r    s     "9!!'1t<&r   r  c                   4    e Zd ZdZ ej
                  d      Zy)rt  zA list of objects that the user selects for replication from an external
  source instance.

  Fields:
    database: Required. The name of the database to migrate.
  r
   Nr|  r   r   r   rt  rt    s     #Y""1%(r   rt  c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z G d d	ej
                        Z	 G d
 dej
                        Z
 G d dej
                        Z G d dej
                        Z ej                  d       G d dej                               Z ej"                  d      Z ej&                  dd      Z ej*                  dd      Z ej*                  dd      Z ej0                  dd      Z ej"                  d      Z ej&                  dd      Z ej*                  dd      Z ej0                  d       Z ej*                  d!d"      Z ej&                  dd#      Z ej"                  d$      Z  ej*                  d%d&      Z! ejD                  d'      Z# ejD                  d(      Z$ ejD                  d)      Z% ej&                  d	d*      Z& ej*                  d+d,d      Z' ej"                  d-      Z( ej*                  d.d/      Z) ej"                  d0      Z* ej*                  d1d2d      Z+ ej&                  dd3      Z, ej"                  d4      Z- ej"                  d5      Z. ej*                  d6d7      Z/ ej*                  d8d9      Z0 ej0                  d:      Z1 ej*                  d;d<      Z2 ej0                  d=      Z3 ej*                  d>d?      Z4 ej0                  d@      Z5 ej*                  dAdB      Z6 ej*                  dCdD      Z7 ej&                  ddE      Z8 ej*                  dFdG      Z9 ej"                  dH      Z: ejD                  dIejv                  jx                  J      Z= ej&                  ddK      Z> ej"                  dL      Z? ejD                  dM      Z@ ej*                  dNdO      ZA ej"                  dP      ZB ejD                  dQ      ZC ej0                  dR      ZD ej0                  dS      ZE ej*                  dTdUd      ZF ej*                  ddV      ZGyW)Xr  a&  Database instance settings.

  Enums:
    ActivationPolicyValueValuesEnum: The activation policy specifies when the
      instance is activated; it is applicable only when the instance state is
      RUNNABLE. Valid values: * `ALWAYS`: The instance is on, and remains so
      even in the absence of connection requests. * `NEVER`: The instance is
      off; it is not activated, even if a connection request arrives.
    AvailabilityTypeValueValuesEnum: Availability type. Potential values: *
      `ZONAL`: The instance serves data from only one zone. Outages in that
      zone affect data accessibility. * `REGIONAL`: The instance can serve
      data from more than one zone in a region (it is highly available)./ For
      more information, see [Overview of the High Availability
      Configuration](https://cloud.google.com/sql/docs/mysql/high-
      availability).
    ConnectorEnforcementValueValuesEnum: Specifies if connections must use
      Cloud SQL connectors. Option values include the following:
      `NOT_REQUIRED` (Cloud SQL instances can be connected without Cloud SQL
      Connectors) and `REQUIRED` (Only allow connections that use Cloud SQL
      Connectors) Note that using REQUIRED disables all existing authorized
      networks. If this field is not specified when creating a new instance,
      NOT_REQUIRED is used. If this field is not specified when patching or
      updating an existing instance, it is left unchanged in the instance.
    DataDiskTypeValueValuesEnum: The type of data disk: `PD_SSD` (default) or
      `PD_HDD`. Not used for First Generation instances.
    EditionValueValuesEnum: Optional. The edition of the instance.
    PricingPlanValueValuesEnum: The pricing plan for this instance. This can
      be either `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second
      Generation instances.
    ReplicationTypeValueValuesEnum: The type of replication this instance
      uses. This can be either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated)
      This property was only applicable to First Generation instances.

  Messages:
    UserLabelsValue: User-provided labels, represented as a dictionary where
      each label is a single key value pair.

  Fields:
    acceleratedReplicaMode: Optional. Configuration to depict if the replica
      is accelerated.
    activationPolicy: The activation policy specifies when the instance is
      activated; it is applicable only when the instance state is RUNNABLE.
      Valid values: * `ALWAYS`: The instance is on, and remains so even in the
      absence of connection requests. * `NEVER`: The instance is off; it is
      not activated, even if a connection request arrives.
    activeDirectoryConfig: Active Directory configuration, relevant only for
      Cloud SQL for SQL Server.
    advancedMachineFeatures: Specifies advanced machine configuration for the
      instances relevant only for SQL Server.
    authorizedGaeApplications: The App Engine app IDs that can access this
      instance. (Deprecated) Applied to First Generation instances only.
    autoUpgradeEnabled: Optional. Cloud SQL for MySQL auto-upgrade
      configuration. When this parameter is set to true, auto-upgrade is
      enabled for MySQL 8.0 minor versions. The MySQL version must be 8.0.35
      or higher.
    availabilityType: Availability type. Potential values: * `ZONAL`: The
      instance serves data from only one zone. Outages in that zone affect
      data accessibility. * `REGIONAL`: The instance can serve data from more
      than one zone in a region (it is highly available)./ For more
      information, see [Overview of the High Availability
      Configuration](https://cloud.google.com/sql/docs/mysql/high-
      availability).
    backupConfiguration: The daily backup configuration for the instance.
    collation: The name of server Instance collation.
    connectionPoolConfig: Optional. The managed connection pooling
      configuration for the instance.
    connectorEnforcement: Specifies if connections must use Cloud SQL
      connectors. Option values include the following: `NOT_REQUIRED` (Cloud
      SQL instances can be connected without Cloud SQL Connectors) and
      `REQUIRED` (Only allow connections that use Cloud SQL Connectors) Note
      that using REQUIRED disables all existing authorized networks. If this
      field is not specified when creating a new instance, NOT_REQUIRED is
      used. If this field is not specified when patching or updating an
      existing instance, it is left unchanged in the instance.
    crashSafeReplicationEnabled: Configuration specific to read replica
      instances. Indicates whether database flags for crash-safe replication
      are enabled. This property was only applicable to First Generation
      instances.
    dataCacheConfig: Configuration for data cache.
    dataDiskProvisionedIops: Optional. Provisioned number of I/O operations
      per second for the data disk. This field is only used for hyperdisk-
      balanced disk types.
    dataDiskProvisionedThroughput: Optional. Provisioned throughput measured
      in MiB per second for the data disk. This field is only used for
      hyperdisk-balanced disk types.
    dataDiskSizeGb: The size of data disk, in GB. The data disk size minimum
      is 10GB.
    dataDiskType: The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not
      used for First Generation instances.
    databaseFlags: The database flags passed to the instance at startup.
    databaseReplicationEnabled: Configuration specific to read replica
      instances. Indicates whether replication is enabled or not. WARNING:
      Changing this restarts the instance.
    dbAlignedAtomicWritesConfig: Optional. Database engine aligned atomic
      writes configuration.
    deletionProtectionEnabled: Configuration to protect against accidental
      instance deletion.
    denyMaintenancePeriods: Deny maintenance periods
    edition: Optional. The edition of the instance.
    enableDataplexIntegration: Optional. By default, Cloud SQL instances have
      schema extraction disabled for Dataplex. When this parameter is set to
      true, schema extraction for Dataplex on Cloud SQL instances is
      activated.
    enableGoogleMlIntegration: Optional. When this parameter is set to true,
      Cloud SQL instances can connect to Vertex AI to pass requests for real-
      time predictions and insights to the AI. The default value is false.
      This applies only to Cloud SQL for MySQL and Cloud SQL for PostgreSQL
      instances.
    finalBackupConfig: Optional. The final backup configuration for the
      instance.
    insightsConfig: Insights configuration, for now relevant only for
      Postgres.
    instanceVersion: The current software version the instance is running on.
    ipConfiguration: The settings for IP Management. This allows to enable or
      disable the instance IP and manage which external networks can connect
      to the instance. The IPv4 address cannot be disabled for Second
      Generation instances.
    kind: This is always `sql#settings`.
    locationPreference: The location preference settings. This allows the
      instance to be located as near as possible to either an App Engine app
      or Compute Engine zone for better performance. App Engine co-location
      was only applicable to First Generation instances.
    maintenanceVersion: The current software version on the instance.
    maintenanceWindow: The maintenance window for this instance. This
      specifies when the instance can be restarted for maintenance purposes.
    passwordValidationPolicy: The local user password validation policy of the
      instance.
    pricingPlan: The pricing plan for this instance. This can be either
      `PER_USE` or `PACKAGE`. Only `PER_USE` is supported for Second
      Generation instances.
    readPoolAutoScaleConfig: Optional. The read pool auto-scale configuration
      for the instance.
    recreateReplicasOnPrimaryCrash: Specifies if replicas should automatically
      be recreated on a MySQL primary instance crashes when it is operating in
      low durability mode.
    replicationLagMaxSeconds: Optional. Configuration value for recreation of
      replica after certain replication lag.
    replicationType: The type of replication this instance uses. This can be
      either `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was
      only applicable to First Generation instances.
    retainBackupsOnDelete: Optional. When this parameter is set to true, Cloud
      SQL retains backups of the instance even after the instance is deleted.
      The ON_DEMAND backup will be retained until customer deletes the backup
      or the project. The AUTOMATED backup will be retained based on the
      backups retention setting.
    settingsVersion: The version of instance settings. This is a required
      field for update method to make sure concurrent updates are handled
      properly. During update, use the most recent settingsVersion value for
      this instance and do not try to update this value.
    sqlServerAuditConfig: SQL Server specific audit configuration.
    storageAutoResize: Configuration to increase storage size automatically.
      The default value is true.
    storageAutoResizeLimit: The maximum size to which storage capacity can be
      automatically increased. The default value is 0, which specifies that
      there is no limit.
    tier: The tier (or machine type) for this instance, for example `db-
      custom-1-3840`. WARNING: Changing this restarts the instance.
    timeZone: Server timezone, relevant only for Cloud SQL for SQL Server.
    uncMappings: Optional. The UNC mapping for the instance, used for
      transactional replication. SQL Server only.
    userLabels: User-provided labels, represented as a dictionary where each
      label is a single key value pair.
  c                        e Zd ZdZdZdZdZdZy)(Settings.ActivationPolicyValueValuesEnuma=  The activation policy specifies when the instance is activated; it is
    applicable only when the instance state is RUNNABLE. Valid values: *
    `ALWAYS`: The instance is on, and remains so even in the absence of
    connection requests. * `NEVER`: The instance is off; it is not activated,
    even if a connection request arrives.

    Values:
      SQL_ACTIVATION_POLICY_UNSPECIFIED: Unknown activation plan.
      ALWAYS: The instance is always up and running.
      NEVER: The instance never starts.
      ON_DEMAND: The instance starts upon receiving requests.
    r   r
   r   r   N)r   r   r   r   !SQL_ACTIVATION_POLICY_UNSPECIFIEDALWAYSNEVERr   r   r   r   ActivationPolicyValueValuesEnumr=    s     )*%FEIr   rA  c                       e Zd ZdZdZdZdZy)(Settings.AvailabilityTypeValueValuesEnumaF  Availability type. Potential values: * `ZONAL`: The instance serves
    data from only one zone. Outages in that zone affect data accessibility. *
    `REGIONAL`: The instance can serve data from more than one zone in a
    region (it is highly available)./ For more information, see [Overview of
    the High Availability
    Configuration](https://cloud.google.com/sql/docs/mysql/high-availability).

    Values:
      SQL_AVAILABILITY_TYPE_UNSPECIFIED: This is an unknown Availability type.
      ZONAL: Zonal available instance.
      REGIONAL: Regional available instance.
    r   r
   r   N)r   r   r   r   !SQL_AVAILABILITY_TYPE_UNSPECIFIEDZONALREGIONALr   r   r   AvailabilityTypeValueValuesEnumrC    s     )*%EHr   rG  c                       e Zd ZdZdZdZdZy),Settings.ConnectorEnforcementValueValuesEnuma  Specifies if connections must use Cloud SQL connectors. Option values
    include the following: `NOT_REQUIRED` (Cloud SQL instances can be
    connected without Cloud SQL Connectors) and `REQUIRED` (Only allow
    connections that use Cloud SQL Connectors) Note that using REQUIRED
    disables all existing authorized networks. If this field is not specified
    when creating a new instance, NOT_REQUIRED is used. If this field is not
    specified when patching or updating an existing instance, it is left
    unchanged in the instance.

    Values:
      CONNECTOR_ENFORCEMENT_UNSPECIFIED: The requirement for Cloud SQL
        connectors is unknown.
      NOT_REQUIRED: Do not require Cloud SQL connectors.
      REQUIRED: Require all connections to use Cloud SQL connectors, including
        the Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go
        connectors. Note: This disables all existing authorized networks.
    r   r
   r   N)r   r   r   r   !CONNECTOR_ENFORCEMENT_UNSPECIFIEDNOT_REQUIREDREQUIREDr   r   r   #ConnectorEnforcementValueValuesEnumrI    s    " )*%LHr   rM  c                   $    e Zd ZdZdZdZdZdZdZy)$Settings.DataDiskTypeValueValuesEnuma  The type of data disk: `PD_SSD` (default) or `PD_HDD`. Not used for
    First Generation instances.

    Values:
      SQL_DATA_DISK_TYPE_UNSPECIFIED: This is an unknown data disk type.
      PD_SSD: An SSD data disk.
      PD_HDD: An HDD data disk.
      OBSOLETE_LOCAL_SSD: This field is deprecated and will be removed from a
        future version of the API.
      HYPERDISK_BALANCED: A Hyperdisk Balanced data disk.
    r   r
   r   r   r   N)	r   r   r   r   SQL_DATA_DISK_TYPE_UNSPECIFIEDPD_SSDPD_HDDOBSOLETE_LOCAL_SSDHYPERDISK_BALANCEDr   r   r   DataDiskTypeValueValuesEnumrO    s%    
 &'"FFr   rU  c                       e Zd ZdZdZdZdZy)Settings.EditionValueValuesEnumzOptional. The edition of the instance.

    Values:
      EDITION_UNSPECIFIED: The instance did not specify the edition.
      ENTERPRISE: The instance is an enterprise edition.
      ENTERPRISE_PLUS: The instance is an Enterprise Plus edition.
    r   r
   r   N)r   r   r   r   EDITION_UNSPECIFIED
ENTERPRISEENTERPRISE_PLUSr   r   r   EditionValueValuesEnumrW    s     JOr   r[  c                       e Zd ZdZdZdZdZy)#Settings.PricingPlanValueValuesEnumao  The pricing plan for this instance. This can be either `PER_USE` or
    `PACKAGE`. Only `PER_USE` is supported for Second Generation instances.

    Values:
      SQL_PRICING_PLAN_UNSPECIFIED: This is an unknown pricing plan for this
        instance.
      PACKAGE: The instance is billed at a monthly flat rate.
      PER_USE: The instance is billed per usage.
    r   r
   r   N)r   r   r   r   SQL_PRICING_PLAN_UNSPECIFIEDPACKAGEPER_USEr   r   r   PricingPlanValueValuesEnumr]    s     $% GGr   ra  c                       e Zd ZdZdZdZdZy)'Settings.ReplicationTypeValueValuesEnuma  The type of replication this instance uses. This can be either
    `ASYNCHRONOUS` or `SYNCHRONOUS`. (Deprecated) This property was only
    applicable to First Generation instances.

    Values:
      SQL_REPLICATION_TYPE_UNSPECIFIED: This is an unknown replication type
        for a Cloud SQL instance.
      SYNCHRONOUS: The synchronous replication mode for First Generation
        instances. It is the default value.
      ASYNCHRONOUS: The asynchronous replication mode for First Generation
        instances. It provides a slight performance gain, but if an outage
        occurs while this option is set to asynchronous, you can lose up to a
        few seconds of updates to your data.
    r   r
   r   N)r   r   r   r    SQL_REPLICATION_TYPE_UNSPECIFIEDSYNCHRONOUSASYNCHRONOUSr   r   r   ReplicationTypeValueValuesEnumrc    s     ()$KLr   rg  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)Settings.UserLabelsValuea  User-provided labels, represented as a dictionary where each label is
    a single key value pair.

    Messages:
      AdditionalProperty: An additional property for a UserLabelsValue object.

    Fields:
      additionalProperties: Additional properties of type UserLabelsValue
    c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)+Settings.UserLabelsValue.AdditionalPropertyzAn additional property for a UserLabelsValue object.

      Fields:
        key: Name of the additional property.
        value: A string attribute.
      r
   r   Nr  r   r   r   r  rk  #  r  r   r  r
   Tr!  Nr  r   r   r   UserLabelsValueri    s4    	'Y.. 	' 29112FTXYr   rl  r
   r   SqlActiveDirectoryConfigr   r"   r   rG   Tr!  rH   rI   r   rJ   rK   rc  rL   rM   rN   rk  rO   rP   rQ   rR   rS   rv  rT   rU   r  rV   rW   r  rX   rY   rZ   r[   r  r\   r  r]   r^   r(  r_   r`   rJ  ra   rb   rO  rc   r  rd   re   r  rf   rg   rh   r#   ri   rj   rk   SqlServerAuditConfigrl   rm   rn   ro   rp   
UncMappingrq   rr   N)Hr   r   r   r   r   r3   rA  rG  rM  rU  r[  ra  rg  r   r  r  rl  r   acceleratedReplicaModer4   activationPolicyr   activeDirectoryConfigadvancedMachineFeaturesr   authorizedGaeApplicationsautoUpgradeEnabledavailabilityTypebackupConfigurationrq  connectionPoolConfigconnectorEnforcementcrashSafeReplicationEnableddataCacheConfigr%   dataDiskProvisionedIopsdataDiskProvisionedThroughputrS  dataDiskTyperT  databaseReplicationEnableddbAlignedAtomicWritesConfigdeletionProtectionEnableddenyMaintenancePeriodseditionenableDataplexIntegrationenableGoogleMlIntegrationfinalBackupConfiginsightsConfiginstanceVersionipConfigurationr   locationPreferencer  maintenanceWindowpasswordValidationPolicypricingPlanreadPoolAutoScaleConfigrecreateReplicasOnPrimaryCrashr&   r'   replicationLagMaxSecondsreplicationTyperetainBackupsOnDeleter  sqlServerAuditConfigstorageAutoResizestorageAutoResizeLimitrU  r   uncMappings
userLabelsr   r   r   r  r    s   bH	 $	 "INN ,INN $
y~~ 
9>> y~~ & "8!!"89Z	)) Z :Z0 2911!4(Y(()JAN0)001KQO2I223LaP3i33AE-y--a0(Y(()JAN.	../DaH#i##A&)///0FK,,,-RTVW 6	 6 6r :*I**+<bA/2I2226"8)"8"8"<)9))"-.$$$%BBG,()(("tL-5y55b9 6	 6 67TVX Y4i44R819112I2X\]I 8"='4i44R84i44R8,i,,-@"E)9))*:B?.)I))"-/*I**+<bA/			r	"$-y--.BBG,y,,R0,i,,-@"E3Y334NPRS#	##$@"E+2I223LbQ#99#9#9"#= 3Y33B	@Q@Q@W@WX'I''(H"M/0)004*I**2.////0FK,i,,R01911"5			r	"$"Y""2&(&	&&|R$G+%y%%&7<*r   r  c                      e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z	 ej                  d      Z
 ej                  d	      Z ej                  dd
      Z ej                  d      Zy)rm  a   Active Directory configuration, relevant only for Cloud SQL for SQL
  Server.

  Enums:
    ModeValueValuesEnum: Optional. The mode of the Active Directory
      configuration.

  Fields:
    adminCredentialSecretName: Optional. The secret manager key storing the
      administrator credential. (e.g., projects/{project}/secrets/{secret}).
    dnsServers: Optional. Domain controller IPv4 addresses used to bootstrap
      Active Directory.
    domain: The name of the domain (e.g., mydomain.com).
    kind: This is always sql#activeDirectoryConfig.
    mode: Optional. The mode of the Active Directory configuration.
    organizationalUnit: Optional. The organizational unit distinguished name.
      This is the full hierarchical path to the organizational unit.
  c                        e Zd ZdZdZdZdZdZy),SqlActiveDirectoryConfig.ModeValueValuesEnuma  Optional. The mode of the Active Directory configuration.

    Values:
      ACTIVE_DIRECTORY_MODE_UNSPECIFIED: Unspecified mode.
      MANAGED_ACTIVE_DIRECTORY: Managed Active Directory mode. This is the
        fallback option to maintain backward compatibility.
      SELF_MANAGED_ACTIVE_DIRECTORY: Deprecated: Use
        CUSTOMER_MANAGED_ACTIVE_DIRECTORY instead.
      CUSTOMER_MANAGED_ACTIVE_DIRECTORY: Customer-managed Active Directory
        mode.
    r   r
   r   r   N)r   r   r   r   !ACTIVE_DIRECTORY_MODE_UNSPECIFIEDMANAGED_ACTIVE_DIRECTORYSELF_MANAGED_ACTIVE_DIRECTORY!CUSTOMER_MANAGED_ACTIVE_DIRECTORYr   r   r   ModeValueValuesEnumr  v  s!    
 )*% $%!()%r   r  r
   r   Tr!  r   r   rG   rH   N)r   r   r   r   r   r3   r  r   adminCredentialSecretName
dnsServersdomainr   r4   modeorganizationalUnitr   r   r   rm  rm  b  s    &*INN *" 4i33A6$y$$Q6* 9  #&			q	!$			2A	6$,y,,Q/r   rm  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej                  dd      Z	y)SqlBackupRunsDeleteRequestay  A SqlBackupRunsDeleteRequest object.

  Fields:
    id: The ID of the backup run to delete. To find a backup run ID, use the
      [list](https://cloud.google.com/sql/docs/mysql/admin-
      api/rest/v1beta4/backupRuns/list) method.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Trequiredr   r   N
r   r   r   r   r   r%   r  r   r   rs  r   r   r   r  r    sE     ya$/""Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej                  dd      Z	y)SqlBackupRunsGetRequestzA SqlBackupRunsGetRequest object.

  Fields:
    id: The ID of this backup run.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   r   Nr  r   r   r   r  r    sE     ya$/""Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej                  dd      Z	y)	SqlBackupRunsInsertRequesta  A SqlBackupRunsInsertRequest object.

  Fields:
    backupRun: A BackupRun resource to be passed as the request body.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r  r
   r   Tr  r   N)
r   r   r   r   r   r   r   r   r   rs  r   r   r   r  r    sE     %i$$[!4)"Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dej                  j                        Z
 ej
                  d      Z ej
                  dd      Zy	)
SqlBackupRunsListRequesta  A SqlBackupRunsListRequest object.

  Fields:
    instance: Cloud SQL instance ID, or "-" for all instances. This does not
      include the project ID.
    maxResults: Maximum number of backup runs per response.
    pageToken: A previously-returned page token representing part of the
      larger set of results to view.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   r#   r   r   N)r   r   r   r   r   r   r   r%   r&   r'   
maxResults	pageTokenrs  r   r   r   r  r    sc    	 #Y""1t4(%y%%a1B1B1H1HI*#i##A&)!I!!!d3'r   r  c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)SqlBackupsCreateBackupRequestzA SqlBackupsCreateBackupRequest object.

  Fields:
    backup: A Backup resource to be passed as the request body.
    parent: Required. The parent resource where this backup is created.
      Format: projects/{project}
  r=   r
   r   Tr  N)	r   r   r   r   r   r   r  r   parentr   r   r   r  r    s1     "9!!(A.& 9  T2&r   r  c                   8    e Zd ZdZ ej
                  dd      Zy)SqlBackupsDeleteBackupRequestzA SqlBackupsDeleteBackupRequest object.

  Fields:
    name: Required. The name of the backup to delete. Format:
      projects/{project}/backups/{backup}
  r
   Tr  Nr   r   r   r   r   r   r   r   r   r   r  r         
		q4	0$r   r  c                   8    e Zd ZdZ ej
                  dd      Zy)SqlBackupsGetBackupRequestzA SqlBackupsGetBackupRequest object.

  Fields:
    name: Required. The name of the backup to retrieve. Format:
      projects/{project}/backups/{backup}
  r
   Tr  Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej
                  d      Z ej
                  dd      Zy	)
SqlBackupsListBackupsRequesta  A SqlBackupsListBackupsRequest object.

  Fields:
    filter: Multiple filter queries are separated by spaces. For example,
      'instance:abc AND type:FINAL, 'location:us',
      'backupInterval.startTime>=1950-01-01T01:01:25.771Z'. You can filter by
      type, instance, backupInterval.startTime (creation time), or location.
    pageSize: The maximum number of backups to return per response. The
      service might return fewer backups than this value. If a value for this
      parameter isn't specified, then, at most, 500 backups are returned. The
      maximum value is 2,000. Any values that you set, which are greater than
      2,000, are changed to 2,000.
    pageToken: A page token, received from a previous `ListBackups` call.
      Provide this to retrieve the subsequent page. When paginating, all other
      parameters provided to `ListBackups` must match the call that provided
      the page token.
    parent: Required. The parent that owns this collection of backups. Format:
      projects/{project}
  r
   r   r#   r   r   Tr  N)r   r   r   r   r   r   filterr%   r&   r'   pageSizer  r  r   r   r   r  r    sa    ( !9  #&#Y##Ay/@/@/F/FG(#i##A&) 9  T2&r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej                  d      Z	y)	SqlBackupsUpdateBackupRequestal  A SqlBackupsUpdateBackupRequest object.

  Fields:
    backup: A Backup resource to be passed as the request body.
    name: Output only. The resource name of the backup. Format:
      projects/{project}/backups/{backup}.
    updateMask: The list of fields that you can update. You can update only
      the description and retention period of the final backup.
  r=   r
   r   Tr  r   N)
r   r   r   r   r   r   r  r   r   
updateMaskr   r   r   r  r    sC     "9!!(A.&			q4	0$$y$$Q'*r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej                  dd      Z	y)	"SqlConnectGenerateEphemeralRequesta:  A SqlConnectGenerateEphemeralRequest object.

  Fields:
    generateEphemeralCertRequest: A GenerateEphemeralCertRequest resource to
      be passed as the request body.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r  r
   r   Tr  r   N)
r   r   r   r   r   r   generateEphemeralCertRequestr   r   rs  r   r   r   r  r    sH     "8!7!78VXY!Z"Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  d      Zy)SqlConnectGetRequesta  A SqlConnectGetRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
    readTime: Optional. Optional snapshot read timestamp to trade freshness
      for performance.
  r
   Tr  r   r   N)	r   r   r   r   r   r   r   rs  r  r   r   r   r  r  *  sC     #Y""1t4(!I!!!d3'"Y""1%(r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)SqlDatabasesDeleteRequesta   A SqlDatabasesDeleteRequest object.

  Fields:
    database: Name of the database to be deleted in the instance.
    instance: Database instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   r   N	r   r   r   r   r   r   r$  r   rs  r   r   r   r  r  9  E     #Y""1t4("Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)SqlDatabasesGetRequestzA SqlDatabasesGetRequest object.

  Fields:
    database: Name of the database in the instance.
    instance: Database instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   r   Nr  r   r   r   r  r  G  r  r   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlDatabasesListRequestzA SqlDatabasesListRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr   r   r   r   r   r   r   rs  r   r   r   r  r  U  1     #Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	 ej
                  dd      Z
y	)
SqlDatabasesPatchRequestaK  A SqlDatabasesPatchRequest object.

  Fields:
    database: Name of the database to be updated in the instance.
    databaseResource: A Database resource to be passed as the request body.
    instance: Database instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  rn  r   r   r   Nr   r   r   r   r   r   r$  r   databaseResourcer   rs  r   r   r   r  r  a  Z     #Y""1t4(+Y++J:"Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	 ej
                  dd      Z
y	)
SqlDatabasesUpdateRequestaL  A SqlDatabasesUpdateRequest object.

  Fields:
    database: Name of the database to be updated in the instance.
    databaseResource: A Database resource to be passed as the request body.
    instance: Database instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  rn  r   r   r   Nr  r   r   r   r  r  q  r  r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  d      Z	 ej                  dd      Zy)SqlExternalSyncSettingErroraj  External primary instance migration setting error/warning.

  Enums:
    TypeValueValuesEnum: Identifies the specific error that occurred.

  Fields:
    detail: Additional information about the error encountered.
    kind: Can be `sql#externalSyncSettingError` or
      `sql#externalSyncSettingWarning`.
    type: Identifies the specific error that occurred.
  c                       e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!Z#d"Z$d#Z%d$Z&d%Z'd&Z(d'Z)d(Z*d)Z+d*Z,d+Z-d,Z.d-Z/d.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8d7Z9d8Z:d9Z;d:Z<d;Z=d<Z>y=)>/SqlExternalSyncSettingError.TypeValueValuesEnumaU  Identifies the specific error that occurred.

    Values:
      SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED: <no description>
      CONNECTION_FAILURE: <no description>
      BINLOG_NOT_ENABLED: <no description>
      INCOMPATIBLE_DATABASE_VERSION: <no description>
      REPLICA_ALREADY_SETUP: <no description>
      INSUFFICIENT_PRIVILEGE: The replication user is missing privileges that
        are required.
      UNSUPPORTED_MIGRATION_TYPE: Unsupported migration type.
      NO_PGLOGICAL_INSTALLED: No pglogical extension installed on databases,
        applicable for postgres.
      PGLOGICAL_NODE_ALREADY_EXISTS: pglogical node already exists on
        databases, applicable for postgres.
      INVALID_WAL_LEVEL: The value of parameter wal_level is not set to
        logical.
      INVALID_SHARED_PRELOAD_LIBRARY: The value of parameter
        shared_preload_libraries does not include pglogical.
      INSUFFICIENT_MAX_REPLICATION_SLOTS: The value of parameter
        max_replication_slots is not sufficient.
      INSUFFICIENT_MAX_WAL_SENDERS: The value of parameter max_wal_senders is
        not sufficient.
      INSUFFICIENT_MAX_WORKER_PROCESSES: The value of parameter
        max_worker_processes is not sufficient.
      UNSUPPORTED_EXTENSIONS: Extensions installed are either not supported or
        having unsupported versions
      INVALID_RDS_LOGICAL_REPLICATION: The value of parameter
        rds.logical_replication is not set to 1.
      INVALID_LOGGING_SETUP: The primary instance logging setup doesn't allow
        EM sync.
      INVALID_DB_PARAM: The primary instance database parameter setup doesn't
        allow EM sync.
      UNSUPPORTED_GTID_MODE: The gtid_mode is not supported, applicable for
        MySQL.
      SQLSERVER_AGENT_NOT_RUNNING: SQL Server Agent is not running.
      UNSUPPORTED_TABLE_DEFINITION: The table definition is not support due to
        missing primary key or replica identity, applicable for postgres. Note
        that this is a warning and won't block the migration.
      UNSUPPORTED_DEFINER: The customer has a definer that will break EM
        setup.
      SQLSERVER_SERVERNAME_MISMATCH: SQL Server @@SERVERNAME does not match
        actual host name.
      PRIMARY_ALREADY_SETUP: The primary instance has been setup and will fail
        the setup.
      UNSUPPORTED_BINLOG_FORMAT: The primary instance has unsupported binary
        log format.
      BINLOG_RETENTION_SETTING: The primary instance's binary log retention
        setting.
      UNSUPPORTED_STORAGE_ENGINE: The primary instance has tables with
        unsupported storage engine.
      LIMITED_SUPPORT_TABLES: Source has tables with limited support eg:
        PostgreSQL tables without primary keys.
      EXISTING_DATA_IN_REPLICA: The replica instance contains existing data.
      MISSING_OPTIONAL_PRIVILEGES: The replication user is missing privileges
        that are optional.
      RISKY_BACKUP_ADMIN_PRIVILEGE: Additional BACKUP_ADMIN privilege is
        granted to the replication user which may lock source MySQL 8 instance
        for DDLs during initial sync.
      INSUFFICIENT_GCS_PERMISSIONS: The Cloud Storage bucket is missing
        necessary permissions.
      INVALID_FILE_INFO: The Cloud Storage bucket has an error in the file or
        contains invalid file information.
      UNSUPPORTED_DATABASE_SETTINGS: The source instance has unsupported
        database settings for migration.
      MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE: The replication user is
        missing parallel import specific privileges. (e.g. LOCK TABLES) for
        MySQL.
      LOCAL_INFILE_OFF: The global variable local_infile is off on external
        server replica.
      TURN_ON_PITR_AFTER_PROMOTE: This code instructs customers to turn on
        point-in-time recovery manually for the instance after promoting the
        Cloud SQL for PostgreSQL instance.
      INCOMPATIBLE_DATABASE_MINOR_VERSION: The minor version of replica
        database is incompatible with the source.
      SOURCE_MAX_SUBSCRIPTIONS: This warning message indicates that Cloud SQL
        uses the maximum number of subscriptions to migrate data from the
        source to the destination.
      UNABLE_TO_VERIFY_DEFINERS: Unable to verify definers on the source for
        MySQL.
      SUBSCRIPTION_CALCULATION_STATUS: If a time out occurs while the
        subscription counts are calculated, then this value is set to 1.
        Otherwise, this value is set to 2.
      PG_SUBSCRIPTION_COUNT: Count of subscriptions needed to sync source data
        for PostgreSQL database.
      PG_SYNC_PARALLEL_LEVEL: Final parallel level that is used to do
        migration.
      INSUFFICIENT_DISK_SIZE: The disk size of the replica instance is smaller
        than the data size of the source instance.
      INSUFFICIENT_MACHINE_TIER: The data size of the source instance is
        greater than 1 TB, the number of cores of the replica instance is less
        than 8, and the memory of the replica is less than 32 GB.
      UNSUPPORTED_EXTENSIONS_NOT_MIGRATED: The warning message indicates the
        unsupported extensions will not be migrated to the destination.
      EXTENSIONS_NOT_MIGRATED: The warning message indicates the pg_cron
        extension and settings will not be migrated to the destination.
      PG_CRON_FLAG_ENABLED_IN_REPLICA: The error message indicates that
        pg_cron flags are enabled on the destination which is not supported
        during the migration.
      EXTENSIONS_NOT_ENABLED_IN_REPLICA: This error message indicates that the
        specified extensions are not enabled on destination instance. For
        example, before you can migrate data to the destination instance, you
        must enable the PGAudit extension on the instance.
      UNSUPPORTED_COLUMNS: The source database has generated columns that
        can't be migrated. Please change them to regular columns before
        migration.
      USERS_NOT_CREATED_IN_REPLICA: The source database has users that aren't
        created in the replica. First, create all users, which are in the
        pg_user_mappings table of the source database, in the destination
        instance. Then, perform the migration.
      UNSUPPORTED_SYSTEM_OBJECTS: The selected objects include system objects
        that aren't supported for migration.
      UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY: The source database has tables
        with the FULL or NOTHING replica identity. Before starting your
        migration, either remove the identity or change it to DEFAULT. Note
        that this is an error and will block the migration.
      SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE: The selected objects don't exist
        on the source instance.
      PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI: PSC only destination
        instance does not have a network attachment URI.
      SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTS: Selected objects
        reference unselected objects. Based on their object type (foreign key
        constraint or view), selected objects will fail during migration.
      PROMPT_DELETE_EXISTING: The migration will delete existing data in the
        replica; set replica_overwrite_enabled in the request to acknowledge
        this. This is an error. MySQL only.
      WILL_DELETE_EXISTING: The migration will delete existing data in the
        replica; replica_overwrite_enabled was set in the request
        acknowledging this. This is a warning rather than an error. MySQL
        only.
      PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGE: The replication user is
        missing specific privileges to setup DDL replication. (e.g. CREATE
        EVENT TRIGGER, CREATE SCHEMA) for PostgreSQL.
    r   r
   r   r   r   rG   rH   rI   rJ   rK   rL   rM   rN   rO   rP   rQ   rR   rS   rT   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   r  r  r  r  r  7   8   9   :   N)?r   r   r   r   0SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIEDCONNECTION_FAILUREBINLOG_NOT_ENABLEDINCOMPATIBLE_DATABASE_VERSIONREPLICA_ALREADY_SETUPINSUFFICIENT_PRIVILEGEUNSUPPORTED_MIGRATION_TYPENO_PGLOGICAL_INSTALLEDPGLOGICAL_NODE_ALREADY_EXISTSINVALID_WAL_LEVELINVALID_SHARED_PRELOAD_LIBRARY"INSUFFICIENT_MAX_REPLICATION_SLOTSINSUFFICIENT_MAX_WAL_SENDERS!INSUFFICIENT_MAX_WORKER_PROCESSESUNSUPPORTED_EXTENSIONSINVALID_RDS_LOGICAL_REPLICATIONINVALID_LOGGING_SETUPINVALID_DB_PARAMUNSUPPORTED_GTID_MODESQLSERVER_AGENT_NOT_RUNNINGUNSUPPORTED_TABLE_DEFINITIONUNSUPPORTED_DEFINERSQLSERVER_SERVERNAME_MISMATCHPRIMARY_ALREADY_SETUPUNSUPPORTED_BINLOG_FORMATBINLOG_RETENTION_SETTINGUNSUPPORTED_STORAGE_ENGINELIMITED_SUPPORT_TABLESEXISTING_DATA_IN_REPLICAMISSING_OPTIONAL_PRIVILEGESRISKY_BACKUP_ADMIN_PRIVILEGEINSUFFICIENT_GCS_PERMISSIONSINVALID_FILE_INFOUNSUPPORTED_DATABASE_SETTINGS,MYSQL_PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGELOCAL_INFILE_OFFTURN_ON_PITR_AFTER_PROMOTE#INCOMPATIBLE_DATABASE_MINOR_VERSIONSOURCE_MAX_SUBSCRIPTIONSUNABLE_TO_VERIFY_DEFINERSSUBSCRIPTION_CALCULATION_STATUSPG_SUBSCRIPTION_COUNTPG_SYNC_PARALLEL_LEVELINSUFFICIENT_DISK_SIZEINSUFFICIENT_MACHINE_TIER#UNSUPPORTED_EXTENSIONS_NOT_MIGRATEDEXTENSIONS_NOT_MIGRATEDPG_CRON_FLAG_ENABLED_IN_REPLICA!EXTENSIONS_NOT_ENABLED_IN_REPLICAUNSUPPORTED_COLUMNSUSERS_NOT_CREATED_IN_REPLICAUNSUPPORTED_SYSTEM_OBJECTS(UNSUPPORTED_TABLES_WITH_REPLICA_IDENTITY$SELECTED_OBJECTS_NOT_EXIST_ON_SOURCE0PSC_ONLY_INSTANCE_WITH_NO_NETWORK_ATTACHMENT_URI-SELECTED_OBJECTS_REFERENCE_UNSELECTED_OBJECTSPROMPT_DELETE_EXISTINGWILL_DELETE_EXISTING)PG_DDL_REPLICATION_INSUFFICIENT_PRIVILEGEr   r   r   r   r    sm   EL 894$%!!"$%!%'")+&#% (*%&(#"$#% $&! "!!#!"$#% #% $&!350!#*,'! "&(# "*,' &(#(*%#% !#/1,+-(79446102-r   r   r
   r   r   N)r   r   r   r   r   r3   r   r   detailr   r4   r   r   r   r   r  r    sU    
A3INN A3F !9  #&			q	!$			2A	6$r   r  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
y)SqlFlagsListRequesta  A SqlFlagsListRequest object.

  Enums:
    FlagScopeValueValuesEnum: Optional. Specify the scope of flags to be
      returned by SqlFlagsListService. Return list of database flags if
      unspecified.

  Fields:
    databaseVersion: Database type and version you want to retrieve flags for.
      By default, this method returns flags for all database types and
      versions.
    flagScope: Optional. Specify the scope of flags to be returned by
      SqlFlagsListService. Return list of database flags if unspecified.
  c                       e Zd ZdZdZdZdZy),SqlFlagsListRequest.FlagScopeValueValuesEnumaN  Optional. Specify the scope of flags to be returned by
    SqlFlagsListService. Return list of database flags if unspecified.

    Values:
      SQL_FLAG_SCOPE_UNSPECIFIED: Assume database flags if unspecified
      SQL_FLAG_SCOPE_DATABASE: database flags
      SQL_FLAG_SCOPE_CONNECTION_POOL: connection pool configuration flags
    r   r
   r   Nr  r   r   r   r  r  f  s     "#%&"r   r  r
   r   N)r   r   r   r   r   r3   r  r   r   r4   r  r   r   r   r  r  V  s@    ' ' *I))!,/!i!!"<a@)r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	#SqlInstancesAcquireSsrsLeaseRequesta  A SqlInstancesAcquireSsrsLeaseRequest object.

  Fields:
    instance: Required. Cloud SQL instance ID. This doesn't include the
      project ID. It's composed of lowercase letters, numbers, and hyphens,
      and it must start with a letter. The total length must be 98 characters
      or less (Example: instance-id).
    instancesAcquireSsrsLeaseRequest: A InstancesAcquireSsrsLeaseRequest
      resource to be passed as the request body.
    project: Required. ID of the project that contains the instance (Example:
      project-id).
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r    instancesAcquireSsrsLeaseRequestrs  r   r   r   r!  r!  w  sH     #Y""1t4(%;Y%;%;<^`a%b"!I!!!d3'r   r!  c                   4    e Zd ZdZ ej
                  d      Zy)$SqlInstancesAcquireSsrsLeaseResponsezeAcquire SSRS lease response.

  Fields:
    operationId: The unique identifier for this operation.
  r
   Nr   r   r   r   r   r   operationIdr   r   r   r$  r$         &	%%a(+r   r$  c                   4    e Zd ZdZ ej
                  d      Zy)'SqlInstancesAddReplicationSourceRequestzInstance add replication source request.

  Fields:
    replicationSource: Required. The name of the source metadata instance to
      add for replication.
  r
   Nr   r   r   r   r   r   replicationSourcer   r   r   r)  r)         ,i++A.r   r)  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlInstancesAddServerCaRequestzA SqlInstancesAddServerCaRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r.  r.    r  r   r.  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)'SqlInstancesAddServerCertificateRequestzA SqlInstancesAddServerCertificateRequest object.

  Fields:
    instance: Required. Cloud SQL instance ID. This does not include the
      project ID.
    project: Required. Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r0  r0    1     #Y""1t4(!I!!!d3'r   r0  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesCloneRequestaU  A SqlInstancesCloneRequest object.

  Fields:
    instance: The ID of the Cloud SQL instance to be cloned (source). This
      does not include the project ID.
    instancesCloneRequest: A InstancesCloneRequest resource to be passed as
      the request body.
    project: Project ID of the source as well as the clone Cloud SQL instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesCloneRequestrs  r   r   r   r3  r3    sG     #Y""1t4(0)001H!L!I!!!d3'r   r3  c                      e Zd ZdZ ej
                  d      Z ej                  d      Z ej                  d      Z	 ej                  d      Z ej                  dd      Z ej                  d	d      Z ej
                  d
      Z ej                  d      Z ej                  d      Z ej
                  d      Zy)SqlInstancesDeleteRequesta  A SqlInstancesDeleteRequest object.

  Fields:
    enableFinalBackup: Flag to opt-in for final backup. By default, it is
      turned off.
    finalBackupDescription: Optional. The description of the final backup.
    finalBackupExpiryTime: Optional. Final Backup expiration time. Timestamp
      in UTC of when this resource is considered expired.
    finalBackupTtlDays: Optional. Retention period of the final backup.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance to be
      deleted.
    retainBackups: Flag to opt-in for keep all visible backups after deleting
      the instance. Currently, this only applies to the backups, the PITR
      Cloud Storage bucket is not retained yet. By default, it is turned off.
    retainBackupsExpiryTime: Expiration timestamp in UTC.
    retainBackupsTtlDays: Retention period in days.
    skipFinalBackup: Deprecated field, please use enable_final_backup.
  r
   r   r   r   rG   Tr  rH   rI   rJ   rK   rL   N)r   r   r   r   r   r   enableFinalBackupr   finalBackupDescriptionfinalBackupExpiryTimer%   finalBackupTtlDaysr   rs  retainBackupsretainBackupsExpiryTimeretainBackupsTtlDaysskipFinalBackupr   r   r   r6  r6    s    ( -i,,Q/09003/)//2-y--a0"Y""1t4(!I!!!d3'()((+-1I11!4///2*I**2./r   r6  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesDemoteMasterRequesta  A SqlInstancesDemoteMasterRequest object.

  Fields:
    instance: Cloud SQL instance name.
    instancesDemoteMasterRequest: A InstancesDemoteMasterRequest resource to
      be passed as the request body.
    project: ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesDemoteMasterRequestrs  r   r   r   r@  r@    sH     #Y""1t4(!7!7!78VXY!Z!I!!!d3'r   r@  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesDemoteRequesta*  A SqlInstancesDemoteRequest object.

  Fields:
    instance: Required. The name of the Cloud SQL instance.
    instancesDemoteRequest: A InstancesDemoteRequest resource to be passed as
      the request body.
    project: Required. The project ID of the project that contains the
      instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesDemoteRequestrs  r   r   r   rC  rC    G     #Y""1t4(19112JAN!I!!!d3'r   rC  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej                  dd      Z	y)	SqlInstancesExecuteSqlRequesta8  A SqlInstancesExecuteSqlRequest object.

  Fields:
    executeSqlPayload: A ExecuteSqlPayload resource to be passed as the
      request body.
    instance: Required. Database instance ID. This does not include the
      project ID.
    project: Required. Project ID of the project that contains the instance.
  r  r
   r   Tr  r   N)
r   r   r   r   r   r   executeSqlPayloadr   r   rs  r   r   r   rG  rG    sG     -i,,-@!D"Y""1t4(!I!!!d3'r   rG  c                   p   e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z	 ej
                  dd	d      Z
 ej
                  d
d      Z ej                  d      Z ej
                  ddd      Z ej
                  ddd      Z ej
                  dd      Zy)SqlInstancesExecuteSqlResponsea  Execute SQL statements response.

  Fields:
    columns: Deprecated field. Use results.columns instead.
    formattedRows: Deprecated field. If output format was set to JSON, then
      this field will contain the response in JSON format.
    message: Deprecated field. Use results.message instead.
    messages: A list of notices and warnings generated during query execution.
      For PostgreSQL, this includes all notices and warnings. For MySQL, this
      includes warnings generated by the last executed statement. To retrieve
      all warnings for a multi-statement query, `SHOW WARNINGS` must be
      executed after each statement.
    metadata: The additional metadata information regarding the execution of
      the SQL statements.
    partialResult: Deprecated field. Use results.partial_result instead.
    results: The list of results after executing all the SQL statements.
    rows: Deprecated field. Use results.rows instead.
    status: Contains the error from the database if the SQL execution failed.
  r6  r
   Tr!  r   r   r  r   r_  rG   rH   r  rI   r  rJ   r  rK   N)r   r   r   r   r   r   r  r   formattedRowsr6   r   metadatar   r  resultsr  r  r   r   r   rJ  rJ    s    ( #I""8Q>'')''*-!I!!!$'#Y##Iq4@(#Y##J2(()((+-"I""=!dC'			q4	8$!9!!(A.&r   rJ  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesExportRequesta=  A SqlInstancesExportRequest object.

  Fields:
    instance: The Cloud SQL instance ID. This doesn't include the project ID.
    instancesExportRequest: A InstancesExportRequest resource to be passed as
      the request body.
    project: Project ID of the project that contains the instance to be
      exported.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesExportRequestrs  r   r   r   rO  rO  8  rE  r   rO  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesFailoverRequesta'  A SqlInstancesFailoverRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    instancesFailoverRequest: A InstancesFailoverRequest resource to be passed
      as the request body.
    project: ID of the project that contains the read replica.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesFailoverRequestrs  r   r   r   rR  rR  H  H     #Y""1t4(3Y334NPQR!I!!!d3'r   rR  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  d      Z	y)'SqlInstancesGetDiskShrinkConfigResponsezInstance get disk shrink config response.

  Fields:
    kind: This is always `sql#getDiskShrinkConfig`.
    message: Additional message to customers.
    minimalTargetSizeGb: The minimum size to which a disk can be shrunk in
      GigaBytes.
  r
   r   r   N)
r   r   r   r   r   r   r   r6   r%   minimalTargetSizeGbr   r   r   rV  rV  W  s@     
		q	!$!I!!!$'.	..q1r   rV  c                   |    e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Zy))SqlInstancesGetLatestRecoveryTimeResponsea=  Instance get latest recovery time response.

  Fields:
    earliestRecoveryTime: Timestamp, identifies the earliest recovery time of
      the source instance.
    kind: This is always `sql#getLatestRecoveryTime`.
    latestRecoveryTime: Timestamp, identifies the latest recovery time of the
      source instance.
  r
   r   r   N)	r   r   r   r   r   r   earliestRecoveryTimer   latestRecoveryTimer   r   r   rY  rY  f  sA     /..q1			q	!$,y,,Q/r   rY  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlInstancesGetRequestzA SqlInstancesGetRequest object.

  Fields:
    instance: Database instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r]  r]  v  r  r   r]  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesImportRequesta%  A SqlInstancesImportRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    instancesImportRequest: A InstancesImportRequest resource to be passed as
      the request body.
    project: Project ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesImportRequestrs  r   r   r   r_  r_    sG     #Y""1t4(19112JAN!I!!!d3'r   r_  c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)SqlInstancesInsertRequestzA SqlInstancesInsertRequest object.

  Fields:
    databaseInstance: A DatabaseInstance resource to be passed as the request
      body.
    project: Project ID of the project to which the newly created Cloud SQL
      instances should belong.
  r   r
   r   Tr  N)	r   r   r   r   r   r   databaseInstancer   rs  r   r   r   rb  rb    s3     ,Y++,>B!I!!!d3'r   rb  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
 ej
                  d      Z ej
                  dd      Zy	)
SqlInstancesListRequesta  A SqlInstancesListRequest object.

  Fields:
    filter: A filter expression that filters resources listed in the response.
      The expression is in the form of field:value. For example,
      'instanceType:CLOUD_SQL_INSTANCE'. Fields can be nested as needed as per
      their JSON representation, such as
      'settings.userLabels.auto_start:true'. Multiple filter queries are
      space-separated. For example. 'state:RUNNABLE
      instanceType:CLOUD_SQL_INSTANCE'. By default, each expression is an AND
      expression. However, you can include AND and OR expressions explicitly.
    maxResults: The maximum number of instances to return. The service may
      return fewer than this value. If unspecified, at most 500 instances are
      returned. The maximum value is 1000; values above 1000 are coerced to
      1000.
    pageToken: A previously-returned page token representing part of the
      larger set of results to view.
    project: Project ID of the project for which to list Cloud SQL instances.
  r
   r   r#   r   r   Tr  N)r   r   r   r   r   r   r  r%   r&   UINT32r  r  rs  r   r   r   re  re    sa    ( !9  #&%y%%a1B1B1I1IJ*#i##A&)!I!!!d3'r   re  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy) SqlInstancesListServerCasRequestzA SqlInstancesListServerCasRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   rh  rh    r  r   rh  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy))SqlInstancesListServerCertificatesRequestzA SqlInstancesListServerCertificatesRequest object.

  Fields:
    instance: Required. Cloud SQL instance ID. This does not include the
      project ID.
    project: Required. Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   rj  rj    r1  r   rj  c                       e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  dd      Z
 ej                  dd      Zy	)
SqlInstancesPatchRequesta  A SqlInstancesPatchRequest object.

  Fields:
    databaseInstance: A DatabaseInstance resource to be passed as the request
      body.
    enforcePsaWriteEndpoint: Optional. Deprecated field. Set PSA network to
      the same value as existing network to force DNS write endpoint
      configuration.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r   r
   r   r   Tr  r   Nr   r   r   r   r   r   rc  r   enforcePsaWriteEndpointr   r   rs  r   r   r   rl  rl    Z    
 ,Y++,>B2I2215"Y""1t4(!I!!!d3'r   rl  c                   ^    e Zd ZdZ ej
                  dd      Z ej                  dd      Zy)%SqlInstancesPointInTimeRestoreRequesta  A SqlInstancesPointInTimeRestoreRequest object.

  Fields:
    parent: Required. The parent resource where you created this instance.
      Format: projects/{project}
    pointInTimeRestoreContext: A PointInTimeRestoreContext resource to be
      passed as the request body.
  r
   Tr  r  r   N)	r   r   r   r   r   r   r  r   pointInTimeRestoreContextr   r   r   rq  rq    s4     !9  T2&4i445PRSTr   rq  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	.SqlInstancesPreCheckMajorVersionUpgradeRequesta  A SqlInstancesPreCheckMajorVersionUpgradeRequest object.

  Fields:
    instance: Required. Cloud SQL instance ID. This does not include the
      project ID.
    instancesPreCheckMajorVersionUpgradeRequest: A
      InstancesPreCheckMajorVersionUpgradeRequest resource to be passed as the
      request body.
    project: Required. Project ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   +instancesPreCheckMajorVersionUpgradeRequestrs  r   r   r   rt  rt    sH    	 #Y""1t4(0F	0F0FGtvw0x-!I!!!d3'r   rt  c                       e Zd ZdZ ej
                  d      Z ej                  dd      Z ej                  dd      Z	y)!SqlInstancesPromoteReplicaRequestaK  A SqlInstancesPromoteReplicaRequest object.

  Fields:
    failover: Set to true to invoke a replica failover to the DR replica. As
      part of replica failover, the promote operation attempts to add the
      original primary instance as a replica of the promoted DR replica when
      the original primary instance comes back online. If set to false or not
      specified, then the original primary instance becomes an independent
      Cloud SQL primary instance.
    instance: Cloud SQL read replica instance name.
    project: ID of the project that contains the read replica.
  r
   r   Tr  r   N)
r   r   r   r   r   r   failoverr   r   rs  r   r   r   rw  rw    sC     $Y##A&("Y""1t4(!I!!!d3'r   rw  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesReencryptRequesta&  A SqlInstancesReencryptRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    instancesReencryptRequest: A InstancesReencryptRequest resource to be
      passed as the request body.
    project: ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesReencryptRequestrs  r   r   r   rz  rz    sH     #Y""1t4(4i445PRST!I!!!d3'r   rz  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)#SqlInstancesReleaseSsrsLeaseRequesta  A SqlInstancesReleaseSsrsLeaseRequest object.

  Fields:
    instance: Required. The Cloud SQL instance ID. This doesn't include the
      project ID. It's composed of lowercase letters, numbers, and hyphens,
      and it must start with a letter. The total length must be 98 characters
      or less (Example: instance-id).
    project: Required. The ID of the project that contains the instance
      (Example: project-id).
  r
   Tr  r   Nr  r   r   r   r}  r}  '  s1    	 #Y""1t4(!I!!!d3'r   r}  c                   4    e Zd ZdZ ej
                  d      Zy)$SqlInstancesReleaseSsrsLeaseResponsez`The response for the release of the SSRS lease.

  Fields:
    operationId: The operation ID.
  r
   Nr%  r   r   r   r  r  7  r'  r   r  c                   4    e Zd ZdZ ej
                  d      Zy)*SqlInstancesRemoveReplicationSourceRequestzInstance remove replication source request.

  Fields:
    replicationSource: Required. The name of the source metadata instance to
      remove from replication.
  r
   Nr*  r   r   r   r  r  A  r,  r   r  c                   6    e Zd ZdZ ej
                  dd      Zy),SqlInstancesRescheduleMaintenanceRequestBodyz~Reschedule options for maintenance windows.

  Fields:
    reschedule: Required. The type of the reschedule the user wants.
  r%  r
   N)r   r   r   r   r   r   
rescheduler   r   r   r  r  L  s     &y%%lA6*r   r  c                   4    e Zd ZdZ ej
                  d      Zy)#SqlInstancesResetReplicaSizeRequestzInstance reset replica size request.

  Fields:
    forceReduceDataDiskPerformance: Optional. Flag to force reduce data disk
      performance if it will be invalidated by replica disk shrink.
  r
   N)r   r   r   r   r   r   forceReduceDataDiskPerformancer   r   r   r  r  V  s     $:9#9#9!#< r   r  c                       e Zd ZdZ G d dej
                        Z ej                  dd      Z ej                  dd      Z
 ej                  dd      Zy	)
!SqlInstancesResetSslConfigRequesta6  A SqlInstancesResetSslConfigRequest object.

  Enums:
    ModeValueValuesEnum: Optional. Reset SSL mode to use.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    mode: Optional. Reset SSL mode to use.
    project: Project ID of the project that contains the instance.
  c                       e Zd ZdZdZdZdZy)5SqlInstancesResetSslConfigRequest.ModeValueValuesEnumav  Optional. Reset SSL mode to use.

    Values:
      RESET_SSL_MODE_UNSPECIFIED: Reset SSL mode is not specified.
      ALL: Refresh all TLS configs. This is the default behaviour.
      SYNC_FROM_PRIMARY: Refreshes the replication-related TLS configuration
        settings provided by the primary instance. Not applicable to on-
        premises replication instances.
    r   r
   r   N)r   r   r   r   RESET_SSL_MODE_UNSPECIFIEDALLSYNC_FROM_PRIMARYr   r   r   r  r  m  s     "#
Cr   r  r
   Tr  r   r   N)r   r   r   r   r   r3   r  r   r   r4   r  rs  r   r   r   r  r  a  sV    	INN  #Y""1t4(			2A	6$!I!!!d3'r   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlInstancesRestartRequestzA SqlInstancesRestartRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance to be
      restarted.
  r
   Tr  r   Nr  r   r   r   r  r    r1  r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	 SqlInstancesRestoreBackupRequesta:  A SqlInstancesRestoreBackupRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    instancesRestoreBackupRequest: A InstancesRestoreBackupRequest resource to
      be passed as the request body.
    project: Project ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesRestoreBackupRequestrs  r   r   r   r  r    sH     #Y""1t4("8)"8"89XZ["\!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	!SqlInstancesRotateServerCaRequesta=  A SqlInstancesRotateServerCaRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    instancesRotateServerCaRequest: A InstancesRotateServerCaRequest resource
      to be passed as the request body.
    project: Project ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   instancesRotateServerCaRequestrs  r   r   r   r  r    sH     #Y""1t4(#99#9#9:Z\]#^ !I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	*SqlInstancesRotateServerCertificateRequestax  A SqlInstancesRotateServerCertificateRequest object.

  Fields:
    instance: Required. Cloud SQL instance ID. This does not include the
      project ID.
    instancesRotateServerCertificateRequest: A
      InstancesRotateServerCertificateRequest resource to be passed as the
      request body.
    project: Required. Project ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   'instancesRotateServerCertificateRequestrs  r   r   r   r  r    sH    	 #Y""1t4(,BI,B,BClno,p)!I!!!d3'r   r  c                   n   e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z ej                  dd      Z
 ej                  d	d
      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej                  dd      Zy)$SqlInstancesStartExternalSyncRequestan  A SqlInstancesStartExternalSyncRequest object.

  Enums:
    MigrationTypeValueValuesEnum: Optional. MigrationType configures the
      migration to use physical files or logical dump files. If not set, then
      the logical dump file configuration is used. Valid values are `LOGICAL`
      or `PHYSICAL`. Only applicable to MySQL.
    SyncModeValueValuesEnum: External sync mode.
    SyncParallelLevelValueValuesEnum: Optional. Parallel level for initial
      data sync. Currently only applicable for MySQL.

  Fields:
    migrationType: Optional. MigrationType configures the migration to use
      physical files or logical dump files. If not set, then the logical dump
      file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`.
      Only applicable to MySQL.
    mysqlSyncConfig: MySQL-specific settings for start external sync.
    replicaOverwriteEnabled: Optional. MySQL only. True if end-user has
      confirmed that this SES call will wipe replica databases overlapping
      with the proposed selected_objects. If this field is not set and there
      are both overlapping and additional databases proposed, an error will be
      returned.
    skipVerification: Whether to skip the verification step (VESS).
    syncMode: External sync mode.
    syncParallelLevel: Optional. Parallel level for initial data sync.
      Currently only applicable for MySQL.
  c                       e Zd ZdZdZdZdZy)ASqlInstancesStartExternalSyncRequest.MigrationTypeValueValuesEnum  Optional. MigrationType configures the migration to use physical files
    or logical dump files. If not set, then the logical dump file
    configuration is used. Valid values are `LOGICAL` or `PHYSICAL`. Only
    applicable to MySQL.

    Values:
      MIGRATION_TYPE_UNSPECIFIED: Default value is a logical dump file-based
        migration
      LOGICAL: Logical dump file-based migration
      PHYSICAL: Physical file-based migration
    r   r
   r   Nr   r   r   r   MIGRATION_TYPE_UNSPECIFIEDLOGICALrC   r   r   r   MigrationTypeValueValuesEnumr        
 "#GHr   r  c                       e Zd ZdZdZdZdZy)<SqlInstancesStartExternalSyncRequest.SyncModeValueValuesEnumai  External sync mode.

    Values:
      EXTERNAL_SYNC_MODE_UNSPECIFIED: Unknown external sync mode, will be
        defaulted to ONLINE mode
      ONLINE: Online external sync will set up replication after initial data
        external sync
      OFFLINE: Offline external sync only dumps and loads a one-time snapshot
        of the primary instance's data
    r   r
   r   Nr   r   r   r   EXTERNAL_SYNC_MODE_UNSPECIFIEDONLINEOFFLINEr   r   r   SyncModeValueValuesEnumr        	 &'"FGr   r  c                        e Zd ZdZdZdZdZdZy)ESqlInstancesStartExternalSyncRequest.SyncParallelLevelValueValuesEnumaJ  Optional. Parallel level for initial data sync. Currently only
    applicable for MySQL.

    Values:
      EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED: Unknown sync parallel level.
        Will be defaulted to OPTIMAL.
      MIN: Minimal parallel level.
      OPTIMAL: Optimal parallel level.
      MAX: Maximum parallel level.
    r   r
   r   r   Nr   r   r   r   (EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIEDMINOPTIMALMAXr   r   r    SyncParallelLevelValueValuesEnumr        	 01,
CG
Cr   r  r
   ri  r   r   r   rG   rH   N)r   r   r   r   r   r3   r  r  r  r4   migrationTyper   mysqlSyncConfigr   replicaOverwriteEnabledskipVerificationsyncModesyncParallelLevelr   r   r   r  r    s    8Y^^  	    &)%%&DaH-*I**+<a@/2I2215+Y++A. Y  !:A>()i))*LaPr   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlInstancesStartReplicaRequestzA SqlInstancesStartReplicaRequest object.

  Fields:
    instance: Cloud SQL read replica instance name.
    project: ID of the project that contains the read replica.
  r
   Tr  r   Nr  r   r   r   r  r    r  r   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlInstancesStopReplicaRequestzA SqlInstancesStopReplicaRequest object.

  Fields:
    instance: Cloud SQL read replica instance name.
    project: ID of the project that contains the read replica.
  r
   Tr  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej
                  dd      Zy)SqlInstancesSwitchoverRequesta  A SqlInstancesSwitchoverRequest object.

  Fields:
    dbTimeout: Optional. (MySQL and PostgreSQL only) Cloud SQL instance
      operations timeout, which is a sum of all database operations. Default
      value is 10 minutes and can be modified to a maximum value of 24 hours.
    instance: Cloud SQL read replica instance name.
    project: ID of the project that contains the replica.
  r
   r   Tr  r   N)	r   r   r   r   r   r   	dbTimeoutr   rs  r   r   r   r  r  (  sC     $i##A&)"Y""1t4(!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	SqlInstancesTruncateLogRequesta#  A SqlInstancesTruncateLogRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    instancesTruncateLogRequest: A InstancesTruncateLogRequest resource to be
      passed as the request body.
    project: Project ID of the Cloud SQL project.
  r
   Tr  r#  r   r   N)
r   r   r   r   r   r   r   r   instancesTruncateLogRequestrs  r   r   r   r  r  8  sH     #Y""1t4( 6	 6 67TVW X!I!!!d3'r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  d      Z ej                  dd      Z
 ej                  dd      Zy	)
SqlInstancesUpdateRequesta  A SqlInstancesUpdateRequest object.

  Fields:
    databaseInstance: A DatabaseInstance resource to be passed as the request
      body.
    enforcePsaWriteEndpoint: Optional. Deprecated field. Set PSA network to
      the same value as existing network to force DNS write endpoint
      configuration.
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r   r
   r   r   Tr  r   Nrm  r   r   r   r  r  G  ro  r   r  c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z ej                  dd      Z
 ej                  d	d
      Z ej                  ddd      Z ej                  dd      Z ej                  dd      Z ej                   d      Z ej                   d      Zy)-SqlInstancesVerifyExternalSyncSettingsRequesta5  A SqlInstancesVerifyExternalSyncSettingsRequest object.

  Enums:
    MigrationTypeValueValuesEnum: Optional. MigrationType configures the
      migration to use physical files or logical dump files. If not set, then
      the logical dump file configuration is used. Valid values are `LOGICAL`
      or `PHYSICAL`. Only applicable to MySQL.
    SyncModeValueValuesEnum: External sync mode
    SyncParallelLevelValueValuesEnum: Optional. Parallel level for initial
      data sync. Only applicable for PostgreSQL.

  Fields:
    migrationType: Optional. MigrationType configures the migration to use
      physical files or logical dump files. If not set, then the logical dump
      file configuration is used. Valid values are `LOGICAL` or `PHYSICAL`.
      Only applicable to MySQL.
    mysqlSyncConfig: Optional. MySQL-specific settings for start external
      sync.
    selectedObjects: Optional. Migrate only the specified objects from the
      source instance. If this field is empty, then migrate all objects.
    syncMode: External sync mode
    syncParallelLevel: Optional. Parallel level for initial data sync. Only
      applicable for PostgreSQL.
    verifyConnectionOnly: Flag to enable verifying connection only
    verifyReplicationOnly: Optional. Flag to verify settings required by
      replication setup only
  c                       e Zd ZdZdZdZdZy)JSqlInstancesVerifyExternalSyncSettingsRequest.MigrationTypeValueValuesEnumr  r   r
   r   Nr  r   r   r   r  r  w  r  r   r  c                       e Zd ZdZdZdZdZy)ESqlInstancesVerifyExternalSyncSettingsRequest.SyncModeValueValuesEnumah  External sync mode

    Values:
      EXTERNAL_SYNC_MODE_UNSPECIFIED: Unknown external sync mode, will be
        defaulted to ONLINE mode
      ONLINE: Online external sync will set up replication after initial data
        external sync
      OFFLINE: Offline external sync only dumps and loads a one-time snapshot
        of the primary instance's data
    r   r
   r   Nr  r   r   r   r  r    r  r   r  c                        e Zd ZdZdZdZdZdZy)NSqlInstancesVerifyExternalSyncSettingsRequest.SyncParallelLevelValueValuesEnumaE  Optional. Parallel level for initial data sync. Only applicable for
    PostgreSQL.

    Values:
      EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED: Unknown sync parallel level.
        Will be defaulted to OPTIMAL.
      MIN: Minimal parallel level.
      OPTIMAL: Optimal parallel level.
      MAX: Maximum parallel level.
    r   r
   r   r   Nr  r   r   r   r  r    r  r   r  r
   ri  r   r{  r   Tr!  r   rG   rH   rI   N)r   r   r   r   r   r3   r  r  r  r4   r  r   r  rv  r  r  r   verifyConnectionOnlyverifyReplicationOnlyr   r   r   r  r  Z  s    8Y^^  	    &)%%&DaH-*I**+<a@/*I**+GUYZ/ Y  !:A>()i))*LaP///20)003r   r  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej
                  ddd      Z	y)	.SqlInstancesVerifyExternalSyncSettingsResponsezInstance verify external sync settings response.

  Fields:
    errors: List of migration violations.
    kind: This is always `sql#migrationSettingErrorList`.
    warnings: List of migration warnings.
  r  r
   Tr!  r   r   N)
r   r   r   r   r   r   r  r   r   r  r   r   r   r  r    sI     "9!!"?TR&			q	!$#Y##$A1tT(r   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlOperationsCancelRequestzA SqlOperationsCancelRequest object.

  Fields:
    operation: Instance operation ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr   r   r   r   r   r   	operationrs  r   r   r   r  r    1     $i##A5)!I!!!d3'r   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlOperationsGetRequestzA SqlOperationsGetRequest object.

  Fields:
    operation: Instance operation ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  dej                  j                        Z ej
                  d      Z ej
                  dd	      Zy
)SqlOperationsListRequesta>  A SqlOperationsListRequest object.

  Fields:
    filter: Optional. A filter string that follows the rules of EBNF grammar
      (https://google.aip.dev/assets/misc/ebnf-filtering.txt). Cloud SQL
      provides filters for status, operationType, and startTime.
    instance: Cloud SQL instance ID. This does not include the project ID.
    maxResults: Maximum number of operations per response.
    pageToken: A previously-returned page token representing part of the
      larger set of results to view.
    project: Project ID of the project that contains the instance.
  r
   r   r   r#   r   rG   Tr  N)r   r   r   r   r   r   r  r   r%   r&   rf  r  r  rs  r   r   r   r  r    ss     !9  #&"Y""1%(%y%%a1B1B1I1IJ*#i##A&)!I!!!d3'r   r  c                       e Zd ZdZ G d dej
                        Z ej                  dej                  j                        Z
 ej                  dd      Zy)r  a:  This message wraps up the information written by out-of-disk detection
  job.

  Enums:
    SqlOutOfDiskStateValueValuesEnum: This field represents the state
      generated by the proactive database wellness job for OutOfDisk issues. *
      Writers: * the proactive database wellness job for OOD. * Readers: * the
      proactive database wellness job

  Fields:
    sqlMinRecommendedIncreaseSizeGb: The minimum recommended increase size in
      GigaBytes This field is consumed by the frontend * Writers: * the
      proactive database wellness job for OOD. * Readers:
    sqlOutOfDiskState: This field represents the state generated by the
      proactive database wellness job for OutOfDisk issues. * Writers: * the
      proactive database wellness job for OOD. * Readers: * the proactive
      database wellness job
  c                       e Zd ZdZdZdZdZy)3SqlOutOfDiskReport.SqlOutOfDiskStateValueValuesEnuma  This field represents the state generated by the proactive database
    wellness job for OutOfDisk issues. * Writers: * the proactive database
    wellness job for OOD. * Readers: * the proactive database wellness job

    Values:
      SQL_OUT_OF_DISK_STATE_UNSPECIFIED: Unspecified state
      NORMAL: The instance has plenty space on data disk
      SOFT_SHUTDOWN: Data disk is almost used up. It is shutdown to prevent
        data corruption.
    r   r
   r   N)r   r   r   r   !SQL_OUT_OF_DISK_STATE_UNSPECIFIEDNORMALSOFT_SHUTDOWNr   r   r    SqlOutOfDiskStateValueValuesEnumr    s    	 )*%FMr   r  r
   r#   r   N)r   r   r   r   r   r3   r  r%   r&   r'   sqlMinRecommendedIncreaseSizeGbr4   sqlOutOfDiskStater   r   r   r  r    sP    &  %;I$:$:1iFWFWF]F]$^!)i))*LaPr   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy).SqlProjectsInstancesGetDiskShrinkConfigRequestzA SqlProjectsInstancesGetDiskShrinkConfigRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  d      Zy)0SqlProjectsInstancesGetLatestRecoveryTimeRequesta  A SqlProjectsInstancesGetLatestRecoveryTimeRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
    sourceInstanceDeletionTime: The timestamp used to identify the time when
      the source instance is deleted. If this instance is deleted, then you
      must set the timestamp.
  r
   Tr  r   r   N)	r   r   r   r   r   r   r   rs  r4  r   r   r   r  r    sD     #Y""1t4(!I!!!d3'4y44Q7r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  dd      Z ej
                  dd      Z	y)	,SqlProjectsInstancesPerformDiskShrinkRequesta<  A SqlProjectsInstancesPerformDiskShrinkRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    performDiskShrinkContext: A PerformDiskShrinkContext resource to be passed
      as the request body.
    project: Project ID of the project that contains the instance.
  r
   Tr  r  r   r   N)
r   r   r   r   r   r   r   r   performDiskShrinkContextrs  r   r   r   r  r  -  rT  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  dd      Z	y)	0SqlProjectsInstancesRescheduleMaintenanceRequestaf  A SqlProjectsInstancesRescheduleMaintenanceRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: ID of the project that contains the instance.
    sqlInstancesRescheduleMaintenanceRequestBody: A
      SqlInstancesRescheduleMaintenanceRequestBody resource to be passed as
      the request body.
  r
   Tr  r   r  r   N)
r   r   r   r   r   r   r   rs  r   ,sqlInstancesRescheduleMaintenanceRequestBodyr   r   r   r  r  <  sH     #Y""1t4(!I!!!d3'1G1G1GHvxy1z.r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  dd      Z	y)	+SqlProjectsInstancesResetReplicaSizeRequesta6  A SqlProjectsInstancesResetReplicaSizeRequest object.

  Fields:
    instance: Cloud SQL read replica instance name.
    project: ID of the project that contains the read replica.
    sqlInstancesResetReplicaSizeRequest: A SqlInstancesResetReplicaSizeRequest
      resource to be passed as the request body.
  r
   Tr  r   r  r   N)
r   r   r   r   r   r   r   rs  r   #sqlInstancesResetReplicaSizeRequestr   r   r   r  r  L  sH     #Y""1t4(!I!!!d3'(>	(>(>?dfg(h%r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  dd      Z	y)	,SqlProjectsInstancesStartExternalSyncRequestaR  A SqlProjectsInstancesStartExternalSyncRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: ID of the project that contains the instance.
    sqlInstancesStartExternalSyncRequest: A
      SqlInstancesStartExternalSyncRequest resource to be passed as the
      request body.
  r
   Tr  r   r  r   N)
r   r   r   r   r   r   r   rs  r   $sqlInstancesStartExternalSyncRequestr   r   r   r  r  [  sH     #Y""1t4(!I!!!d3')?)?)?@fhi)j&r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  dd      Z	y)	5SqlProjectsInstancesVerifyExternalSyncSettingsRequestau  A SqlProjectsInstancesVerifyExternalSyncSettingsRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
    sqlInstancesVerifyExternalSyncSettingsRequest: A
      SqlInstancesVerifyExternalSyncSettingsRequest resource to be passed as
      the request body.
  r
   Tr  r   r  r   N)
r   r   r   r   r   r   r   rs  r   -sqlInstancesVerifyExternalSyncSettingsRequestr   r   r   r  r  k  sH     #Y""1t4(!I!!!d3'2H)2H2HIxz{2|/r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  d      Z	 ej                  d      Z
y)r  a_  Any scheduled maintenance for this instance.

  Fields:
    canDefer: A boolean attribute.
    canReschedule: If the scheduled maintenance can be rescheduled.
    scheduleDeadlineTime: Maintenance cannot be rescheduled to start beyond
      this deadline.
    startTime: The start time of any upcoming scheduled maintenance for this
      instance.
  r
   r   r   r   N)r   r   r   r   r   r   canDefercanRescheduler   scheduleDeadlineTimer   r   r   r   r  r  {  sR    	 $Y##A&(()((+-...q1#i##A&)r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	y)rn  a,  SQL Server specific audit configuration.

  Fields:
    bucket: The name of the destination bucket (e.g., gs://mybucket).
    kind: This is always sql#sqlServerAuditConfig
    retentionInterval: How long to keep generated audit files.
    uploadInterval: How often to upload generated audit files.
  r
   r   r   r   N)
r   r   r   r   r   r   bucketr   retentionIntervaluploadIntervalr   r   r   rn  rn    sR     !9  #&			q	!$+i++A.(9((+.r   rn  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
y)ro  zRepresents a Sql Server database on the Cloud SQL instance.

  Fields:
    compatibilityLevel: The version of SQL Server with which the database is
      to be made compatible
    recoveryModel: The recovery model of a SQL Server database
  r
   r#   r   N)r   r   r   r   r   r%   r&   r'   compatibilityLevelr   recoveryModelr   r   r   ro  ro    s<     .y--a9J9J9P9PQ')''*-r   ro  c                   \    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)SqlServerUserDetailszRepresents a Sql Server user on the Cloud SQL instance.

  Fields:
    disabled: If the user has been disabled
    serverRoles: The server roles for this user
  r
   r   Tr!  N)	r   r   r   r   r   r   disabledr   serverRolesr   r   r   r  r    s/     $Y##A&(%	%%a$7+r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  dd      Z	y)	!SqlSslCertsCreateEphemeralRequesta,  A SqlSslCertsCreateEphemeralRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the Cloud SQL project.
    sslCertsCreateEphemeralRequest: A SslCertsCreateEphemeralRequest resource
      to be passed as the request body.
  r
   Tr  r   SslCertsCreateEphemeralRequestr   N)
r   r   r   r   r   r   r   rs  r   sslCertsCreateEphemeralRequestr   r   r   r  r    sH     #Y""1t4(!I!!!d3'#99#9#9:Z\]#^ r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)SqlSslCertsDeleteRequestzA SqlSslCertsDeleteRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
    sha1Fingerprint: Sha1 FingerPrint.
  r
   Tr  r   r   N	r   r   r   r   r   r   r   rs  sha1Fingerprintr   r   r   r  r    E     #Y""1t4(!I!!!d3')I))!d;/r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej
                  dd      Zy)SqlSslCertsGetRequestzA SqlSslCertsGetRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
    sha1Fingerprint: Sha1 FingerPrint.
  r
   Tr  r   r   Nr  r   r   r   r  r    r  r   r  c                       e Zd ZdZ ej
                  dd      Z ej
                  dd      Z ej                  dd      Z	y)	SqlSslCertsInsertRequesta"  A SqlSslCertsInsertRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
    sslCertsInsertRequest: A SslCertsInsertRequest resource to be passed as
      the request body.
  r
   Tr  r   SslCertsInsertRequestr   N)
r   r   r   r   r   r   r   rs  r   sslCertsInsertRequestr   r   r   r  r    sG     #Y""1t4(!I!!!d3'0)001H!Lr   r  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlSslCertsListRequestzA SqlSslCertsListRequest object.

  Fields:
    instance: Cloud SQL instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r  r    r  r   r  c                   `    e Zd ZdZ G d dej
                        Z ej                  dd      Zy)r  zThe sub operation type based on the operation type.

  Enums:
    MaintenanceTypeValueValuesEnum: The type of maintenance to be performed on
      the instance.

  Fields:
    maintenanceType: The type of maintenance to be performed on the instance.
  c                   $    e Zd ZdZdZdZdZdZdZy)2SqlSubOperationType.MaintenanceTypeValueValuesEnuma,  The type of maintenance to be performed on the instance.

    Values:
      SQL_MAINTENANCE_TYPE_UNSPECIFIED: Maintenance type is unspecified.
      INSTANCE_MAINTENANCE: Indicates that a standalone instance is undergoing
        maintenance. The instance can be either a primary instance or a
        replica.
      REPLICA_INCLUDED_MAINTENANCE: Indicates that the primary instance and
        all of its replicas, including cascading replicas, are undergoing
        maintenance. Maintenance is performed on groups of replicas first,
        followed by the primary instance.
      INSTANCE_SELF_SERVICE_MAINTENANCE: Indicates that the standalone
        instance is undergoing maintenance, initiated by self-service. The
        instance can be either a primary instance or a replica.
      REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE: Indicates that the primary
        instance and all of its replicas are undergoing maintenance, initiated
        by self-service. Maintenance is performed on groups of replicas first,
        followed by the primary instance.
    r   r
   r   r   r   Nr}  r   r   r   r  r    r  r   r  r
   N)	r   r   r   r   r   r3   r  r4   r  r   r   r   r  r    s.    2y~~ 24 (I''(H!L/r   r  c                   8    e Zd ZdZ ej
                  dd      Zy)SqlTiersListRequestzkA SqlTiersListRequest object.

  Fields:
    project: Project ID of the project for which to list tiers.
  r
   Tr  N)r   r   r   r   r   r   rs  r   r   r   r  r  $  s     "I!!!d3'r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej
                  d      Z ej
                  dd      Z	y)	SqlUsersDeleteRequesta  A SqlUsersDeleteRequest object.

  Fields:
    host: Host of the user in the instance.
    instance: Database instance ID. This does not include the project ID.
    name: Name of the user in the instance.
    project: Project ID of the project that contains the instance.
  r
   r   Tr  r   r   N
r   r   r   r   r   r   hostr   r   rs  r   r   r   r  r  .  sU     
		q	!$"Y""1t4(			q	!$!I!!!d3'r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  dd      Z ej
                  dd      Z ej
                  dd      Z	y)	SqlUsersGetRequesta  A SqlUsersGetRequest object.

  Fields:
    host: Host of a user of the instance.
    instance: Database instance ID. This does not include the project ID.
    name: User of the instance.
    project: Project ID of the project that contains the instance.
  r
   r   Tr  r   r   Nr  r   r   r   r"  r"  >  sW     
		q	!$"Y""1t4(			q4	0$!I!!!d3'r   r"  c                   `    e Zd ZdZ ej
                  dd      Z ej
                  dd      Zy)SqlUsersListRequestzA SqlUsersListRequest object.

  Fields:
    instance: Database instance ID. This does not include the project ID.
    project: Project ID of the project that contains the instance.
  r
   Tr  r   Nr  r   r   r   r$  r$  N  r  r   r$  c                      e Zd ZdZ ej
                  dd      Z ej
                  d      Z ej
                  dd      Z ej
                  d      Z	 ej
                  d	d      Z
 ej                  d
      Z ej                  dd      Zy)SqlUsersUpdateRequesta8  A SqlUsersUpdateRequest object.

  Fields:
    databaseRoles: Optional. List of database roles to grant to the user.
      body.database_roles will be ignored for update request.
    host: Optional. Host of the user in the instance.
    instance: Database instance ID. This does not include the project ID.
    name: Name of the user in the instance.
    project: Project ID of the project that contains the instance.
    revokeExistingRoles: Optional. revoke the existing roles granted to the
      user.
    user: A User resource to be passed as the request body.
  r
   Tr!  r   r   r  r   rG   rH   UserrI   N)r   r   r   r   r   r   databaseRolesr   r   r   rs  r   revokeExistingRolesr   r*  r   r   r   r&  r&  Z  s     ()''D9-			q	!$"Y""1t4(			q	!$!I!!!d3'.	..q1				*$r   r&  c                   T   e Zd ZdZ ej
                  d      Z ej
                  d      Z ej
                  d      Z ej
                  d      Z	 ej
                  d      Z
 ej
                  d      Z ej
                  d      Z ej
                  d	      Z ej
                  d
      Zy)rY  a  SslCerts Resource

  Fields:
    cert: PEM representation.
    certSerialNumber: Serial number, as extracted from the certificate.
    commonName: User supplied name. Constrained to [a-zA-Z.-_ ]+.
    createTime: The time when the certificate was created in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    expirationTime: The time when the certificate expires in [RFC
      3339](https://tools.ietf.org/html/rfc3339) format, for example
      `2012-11-15T16:19:00.094Z`.
    instance: Name of the database instance.
    kind: This is always `sql#sslCert`.
    selfLink: The URI of this resource.
    sha1Fingerprint: Sha1 Fingerprint.
  r
   r   r   r   rG   rH   rI   rJ   rK   N)r   r   r   r   r   r   certcertSerialNumber
commonNamer  r   r   r   r   r  r   r   r   rY  rY  r  s    $ 
		q	!$*Y**1-$y$$Q'*$y$$Q'*(9((+."Y""1%(			q	!$"Y""1%()I))!,/r   rY  c                   Z    e Zd ZdZ ej
                  dd      Z ej                  d      Zy)SslCertDetailzSslCertDetail.

  Fields:
    certInfo: The public information about the cert.
    certPrivateKey: The private key for the client cert, in pem format. Keep
      private in order to protect your security.
  rY  r
   r   N)	r   r   r   r   r   r   certInfor   certPrivateKeyr   r   r   r/  r/    s/     $Y##Iq1((9((+.r   r/  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r	  zSslCerts create ephemeral certificate request.

  Fields:
    access_token: Access token to include in the signed certificate.
    public_key: PEM encoded public key to include in the signed certificate.
  r
   r   N)r   r   r   r   r   r   r  r  r   r   r   r	  r	    s-     '&&q),$y$$Q'*r   r	  c                   4    e Zd ZdZ ej
                  d      Zy)r  zSslCerts insert request.

  Fields:
    commonName: User supplied name. Must be a distinct name from the other
      certificates for this instance.
  r
   N)r   r   r   r   r   r   r-  r   r   r   r  r    s     %y$$Q'*r   r  c                       e Zd ZdZ ej
                  dd      Z ej                  d      Z ej
                  dd      Z	 ej
                  dd      Z
y	)
SslCertsInsertResponsea  SslCert insert response.

  Fields:
    clientCert: The new client certificate and private key.
    kind: This is always `sql#sslCertsInsert`.
    operation: The operation to track the ssl certs insert request.
    serverCaCert: The server Certificate Authority's certificate. If this is
      missing you can force a new one to be generated by calling
      resetSslConfig method on instances resource.
  r/  r
   r   rz  r   rY  r   N)r   r   r   r   r   r   
clientCertr   r   r  r`  r   r   r   r5  r5    sW    	 &y%%oq9*			q	!$$i$$[!4)'''	15,r   r5  c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)SslCertsListResponsezSslCerts list response.

  Fields:
    items: List of client certificates for the instance.
    kind: This is always `sql#sslCertsList`.
  rY  r
   Tr!  r   Nr  r   r   r   r8  r8    s1     !)
 
 A
=%			q	!$r   r8  c                       e Zd ZdZ G d dej
                        Z G d dej
                        Z ej                  dd      Z	 ej                  d      Z ej                  ddd	
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej"                  dd
      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Zy)StandardQueryParametersa4  Query parameters accepted by all methods.

  Enums:
    FXgafvValueValuesEnum: V1 error format.
    AltValueValuesEnum: Data format for response.

  Fields:
    f__xgafv: V1 error format.
    access_token: OAuth access token.
    alt: Data format for response.
    callback: JSONP
    fields: Selector specifying which fields to include in a partial response.
    key: API key. Your API key identifies your project and provides you with
      API access, quota, and reports. Required unless you provide an OAuth 2.0
      token.
    oauth_token: OAuth 2.0 token for the current user.
    prettyPrint: Returns response with indentations and line breaks.
    quotaUser: Available to use for quota purposes for server-side
      applications. Can be any arbitrary string assigned to a user, but should
      not exceed 40 characters.
    trace: A tracing token of the form "token:<tokenid>" to include in api
      requests.
    uploadType: Legacy upload protocol for media (e.g. "media", "multipart").
    upload_protocol: Upload protocol for media (e.g. "raw", "multipart").
  c                       e Zd ZdZdZdZdZy)*StandardQueryParameters.AltValueValuesEnumzData format for response.

    Values:
      json: Responses with Content-Type of application/json
      media: Media download with context-dependent Content-Type
      proto: Responses with Content-Type of application/x-protobuf
    r   r
   r   N)r   r   r   r   jsonmediaprotor   r   r   AltValueValuesEnumr<    s     DEEr   r@  c                       e Zd ZdZdZdZy)-StandardQueryParameters.FXgafvValueValuesEnumzVV1 error format.

    Values:
      _1: v1 error format
      _2: v2 error format
    r   r
   N)r   r   r   r   _1_2r   r   r   FXgafvValueValuesEnumrB    s     
B	
Br   rE  r
   r   r   r=  )defaultr   rG   rH   rI   rJ   TrK   rL   rM   rN   N)r   r   r   r   r   r3   r@  rE  r4   f__xgafvr   r  altcallbackfieldsr  oauth_tokenr   prettyPrint	quotaUsertrace
uploadTypeupload_protocolr   r   r   r:  r:    s   4
9>> 
inn  !Y  !8!<(&&&q),	0!VD#"Y""1%( 9  #&	a #%	%%a(+&	&&q$7+#i##A&)
)


#%$y$$R(*)I))"-/r   r:  c                      e Zd ZdZ ej
                  d       G d dej                               Z ej                  dej                  j                        Z ej                  ddd	      Z ej                  d
      Zy)r  a  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).

  Messages:
    DetailsValueListEntry: A DetailsValueListEntry object.

  Fields:
    code: The status code, which should be an enum value of google.rpc.Code.
    details: A list of messages that carry the error details. There is a
      common set of message types for APIs to use.
    message: A developer-facing error message, which should be in English. Any
      user-facing error message should be localized and sent in the
      google.rpc.Status.details field, or localized by the client.
  r  c                   d    e Zd ZdZ G d dej
                        Z ej                  ddd      Zy)Status.DetailsValueListEntryzA DetailsValueListEntry object.

    Messages:
      AdditionalProperty: An additional property for a DetailsValueListEntry
        object.

    Fields:
      additionalProperties: Properties of the object. Contains field @type
        with type URL.
    c                   Z    e Zd ZdZ ej
                  d      Z ej                  dd      Zy)/Status.DetailsValueListEntry.AdditionalPropertyzAn additional property for a DetailsValueListEntry object.

      Fields:
        key: Name of the additional property.
        value: A extra_types.JsonValue attribute.
      r
   zextra_types.JsonValuer   N)	r   r   r   r   r   r   r  r   r   r   r   r   r  rU  2  s0    
 "I!!!$c$i$$%<a@er   r  r
   Tr!  Nr  r   r   r   DetailsValueListEntryrS  %  s6    		AY.. 	A 29112FTXYr   rV  r
   r#   r   Tr!  r   N)r   r   r   r   r   r  r   r  rV  r%   r&   r'   r5   r   detailsr   r6   r   r   r   r  r    s    & "8!!"89Zi// Z :Z2 
 		9+<+<+B+B	C$"I""#:AM'!I!!!$'r   r  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)rj  zInitial sync flags for certain Cloud SQL APIs. Currently used for the
  MySQL external server initial dump.

  Fields:
    name: The name of the flag.
    value: The value of the flag. This field must be omitted if the flag
      doesn't take a value.
  r
   r   Nri  r   r   r   rj  rj  D  s-     
		q	!$
)


"%r   rj  c                       e Zd ZdZ ej
                  d      Z ej                  dej                  j                        Z
y)r  zTarget metric for read pool auto scaling.

  Fields:
    metric: The metric name to be used for auto scaling.
    targetValue: The target value for the metric.
  r
   r   r#   N)r   r   r   r   r   r   metric
FloatFieldr&   r  targetValuer   r   r   r  r  R  s;     !9  #&$	$$Q	0A0A0G0GH+r   r  c                       e Zd ZdZ ej
                  d      Z ej
                  d      Z ej                  d      Z	 ej                  d      Z
 ej                  dd      Z ej                  d	      Zy
)Tiera  A Google Cloud SQL service tier resource.

  Fields:
    DiskQuota: The maximum disk size of this tier in bytes.
    RAM: The maximum RAM usage of this tier in bytes.
    edition: Edition can be STANDARD or ENTERPRISE.
    kind: This is always `sql#tier`.
    region: The applicable regions for this tier.
    tier: An identifier for the machine type, for example, `db-custom-1-3840`.
      For related information, see [Pricing](/sql/pricing).
  r
   r   r   r   rG   Tr!  rH   N)r   r   r   r   r   r%   	DiskQuotaRAMr   r  r   r7   rU  r   r   r   r^  r^  ^  sw    
 %i$$Q')	q!#!I!!!$'			q	!$ 9  T2&			q	!$r   r^  c                   ^    e Zd ZdZ ej
                  ddd      Z ej                  d      Zy)TiersListResponsezfTiers list response.

  Fields:
    items: List of tiers.
    kind: This is always `sql#tiersList`.
  r^  r
   Tr!  r   Nr  r   r   r   rb  rb  s  r  r   rb  c                   X    e Zd ZdZ ej
                  d      Z ej
                  d      Zy)r$  zDatabase Instance truncate log context.

  Fields:
    kind: This is always `sql#truncateLogContext`.
    logType: The type of log to truncate. Valid values are
      `MYSQL_GENERAL_TABLE` and `MYSQL_SLOW_TABLE`.
  r
   r   N)r   r   r   r   r   r   r   logTyper   r   r   r$  r$    s-     
		q	!$!I!!!$'r   r$  c                       e Zd ZdZ G d dej
                        Z ej                  d      Z ej                  dd      Z
 ej                  d      Zy)ro  a  Unc mapping proto used for SQL Server.

  Enums:
    ModeValueValuesEnum: The mode of the UNC mapping.

  Fields:
    gcsPath: The GCS path, represent the GCS path.
    mode: The mode of the UNC mapping.
    uncPath: The UNC path, represent the server name.
  c                       e Zd ZdZdZdZdZy)UncMapping.ModeValueValuesEnumzThe mode of the UNC mapping.

    Values:
      UNKNOWN: Unspecified.
      SNAPSHOT_READ: Snapshot read.
      SNAPSHOT_WRITE: Snapshot write.
    r   r
   r   N)r   r   r   r   UNKNOWNSNAPSHOT_READSNAPSHOT_WRITEr   r   r   r  rg    s     GMNr   r  r
   r   r   N)r   r   r   r   r   r3   r  r   gcsPathr4   r  uncPathr   r   r   ro  ro    sR    	
INN 
 "I!!!$'			2A	6$!I!!!$'r   ro  c                      e Zd ZdZ G d dej
                        Z G d dej
                        Z G d dej
                        Z ej                  dd	
      Z
 ej                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  dd      Z ej                  d      Z ej                  d      Z ej                  d      Z ej                  d      Z ej*                  dd      Z ej                  d      Z ej*                  dd      Z ej                  dd      Zy)r'  a#  A Cloud SQL user resource.

  Enums:
    DualPasswordTypeValueValuesEnum: Dual password status for the user.
    IamStatusValueValuesEnum: Indicates if a group is active or inactive for
      IAM database authentication.
    TypeValueValuesEnum: The user type. It determines the method to
      authenticate the user during login. The default is the database's built-
      in user type.

  Fields:
    databaseRoles: Optional. Role memberships of the user
    dualPasswordType: Dual password status for the user.
    etag: This field is deprecated and will be removed from a future version
      of the API.
    host: Optional. The host from which the user can connect. For `insert`
      operations, host defaults to an empty string. For `update` operations,
      host is specified as part of the request URL. The host name cannot be
      updated after insertion. For a MySQL instance, it's required; for a
      PostgreSQL or SQL Server instance, it's optional.
    iamEmail: Optional. The full email for an IAM user. For normal database
      users, this will not be filled. Only applicable to MySQL database users.
    iamStatus: Indicates if a group is active or inactive for IAM database
      authentication.
    instance: The name of the Cloud SQL instance. This does not include the
      project ID. Can be omitted for *update* because it is already specified
      on the URL.
    kind: This is always `sql#user`.
    name: The name of the user in the Cloud SQL instance. Can be omitted for
      `update` because it is already specified in the URL.
    password: The password for the user.
    passwordPolicy: User level password validation policy.
    project: The project ID of the project containing the Cloud SQL database.
      The Google apps domain is prefixed if applicable. Can be omitted for
      *update* because it is already specified on the URL.
    sqlserverUserDetails: A SqlServerUserDetails attribute.
    type: The user type. It determines the method to authenticate the user
      during login. The default is the database's built-in user type.
  c                        e Zd ZdZdZdZdZdZy)$User.DualPasswordTypeValueValuesEnuma]  Dual password status for the user.

    Values:
      DUAL_PASSWORD_TYPE_UNSPECIFIED: The default value.
      NO_MODIFY_DUAL_PASSWORD: Do not update the user's dual password status.
      NO_DUAL_PASSWORD: No dual password usable for connecting using this
        user.
      DUAL_PASSWORD: Dual password usable for connecting using this user.
    r   r
   r   r   N)r   r   r   r   DUAL_PASSWORD_TYPE_UNSPECIFIEDNO_MODIFY_DUAL_PASSWORDNO_DUAL_PASSWORDDUAL_PASSWORDr   r   r   DualPasswordTypeValueValuesEnumro    s      &'"Mr   rt  c                       e Zd ZdZdZdZdZy)User.IamStatusValueValuesEnumad  Indicates if a group is active or inactive for IAM database
    authentication.

    Values:
      IAM_STATUS_UNSPECIFIED: The default value for users that are not of type
        CLOUD_IAM_GROUP. Only CLOUD_IAM_GROUP users will be inactive or
        active. Users with an IamStatus of IAM_STATUS_UNSPECIFIED will not
        display whether they are active or inactive as that is not applicable
        to them.
      INACTIVE: INACTIVE indicates a group is not available for IAM database
        authentication.
      ACTIVE: ACTIVE indicates a group is available for IAM database
        authentication.
    r   r
   r   N)r   r   r   r   IAM_STATUS_UNSPECIFIEDINACTIVEACTIVEr   r   r   IamStatusValueValuesEnumrv    s     HFr   rz  c                   ,    e Zd ZdZdZdZdZdZdZdZ	dZ
y	)
User.TypeValueValuesEnuma  The user type. It determines the method to authenticate the user
    during login. The default is the database's built-in user type.

    Values:
      BUILT_IN: The database's built-in user type.
      CLOUD_IAM_USER: Cloud IAM user.
      CLOUD_IAM_SERVICE_ACCOUNT: Cloud IAM service account.
      CLOUD_IAM_GROUP: Cloud IAM group. Not used for login.
      CLOUD_IAM_GROUP_USER: Read-only. Login for a user that belongs to the
        Cloud IAM group.
      CLOUD_IAM_GROUP_SERVICE_ACCOUNT: Read-only. Login for a service account
        that belongs to the Cloud IAM group.
      CLOUD_IAM_WORKFORCE_IDENTITY: Cloud IAM workforce identity.
    r   r
   r   r   r   rG   rH   N)r   r   r   r   BUILT_INCLOUD_IAM_USERCLOUD_IAM_SERVICE_ACCOUNTCLOUD_IAM_GROUPCLOUD_IAM_GROUP_USERCLOUD_IAM_GROUP_SERVICE_ACCOUNTCLOUD_IAM_WORKFORCE_IDENTITYr   r   r   r   r|    s0     HN !O&'##$ r   r   r
   Tr!  r   r   r   rG   rH   rI   rJ   rK   rL   UserPasswordValidationPolicyrM   rN   r  rO   rP   N)r   r   r   r   r   r3   rt  rz  r   r   r(  r4   dualPasswordTyperr  r   iamEmail	iamStatusr   r   r   r  r   passwordPolicyrs  sqlserverUserDetailsr   r   r   r   r'  r'    sI   &P	  &%INN %. ()''D9-(Y(()JAN			q	!$			q	!$"Y""1%(!i!!"<a@)"Y""1%(			q	!$			q	!$"Y""2&()9))*H"M.!I!!"%'///0FK			2B	7$r   r'  c                       e Zd ZdZ ej
                  dej                  j                        Z ej                  d      Z
 ej                  d      Z ej                  d      Z ej                  dd      Zy	)
r  a  User level password validation policy.

  Fields:
    allowedFailedAttempts: Number of failed login attempts allowed before user
      get locked.
    enableFailedAttemptsCheck: If true, failed login attempts check will be
      enabled.
    enablePasswordVerification: If true, the user must specify the current
      password before changing the password. This flag is supported only for
      MySQL.
    passwordExpirationDuration: Expiration duration after password is updated.
    status: Output only. Read-only password status.
  r
   r#   r   r   r   r  rG   N)r   r   r   r   r   r%   r&   r'   allowedFailedAttemptsr   enableFailedAttemptsCheckenablePasswordVerificationr   passwordExpirationDurationr   r  r   r   r   r  r    sx     1)00I<M<M<S<ST4i44Q75y55a84y44Q7!9!!"2A6&r   r  c                       e Zd ZdZ ej
                  ddd      Z ej                  d      Z ej                  d      Z	y)	UsersListResponsezUser list response.

  Fields:
    items: List of user resources in the instance.
    kind: This is always *sql#usersList*.
    nextPageToken: Unused.
  r'  r
   Tr!  r   r   Nr#  r   r   r   r  r  1  sC     !)
 
 T
:%			q	!$')''*-r   r  c                   X    e Zd ZdZ ej
                  d      Z ej                  d      Zy)r8  zThe cell value of the table.

  Fields:
    nullValue: If cell value is null, then this flag will be set to true.
    value: The cell value represented in string format.
  r
   r   N)	r   r   r   r   r   r   	nullValuer   r   r   r   r   r8  r8  ?  s-     %i$$Q')
)


"%r   r8  rG  z$.xgafvrC  1rD  2N)r   
__future__r   apitools.base.protorpcliter   r   apitools.base.pyr   r   packager  r	   r   r"   r*   r9   r=   r   r   r   r   r  r   r'  r+  r6  r8  r?  rc  rd  rk  rn  rv  r   r  r  r  r  r  r  r  r  r  r9  r  r  r,  r{  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r#  r   r(  r:  rG  rJ  rO  r   r_  rb  ri  r  rz  r   r  r  r  r  r  r  r  r  r  r  r  r2  r  r  r  r  r%  r  r  r   r  rt  r  rm  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r!  r$  r)  r.  r0  r3  r6  r@  rC  rG  rJ  rO  rR  rV  rY  r]  r_  rb  re  rh  rj  rl  rq  rt  rw  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  rn  ro  r  r  r  r  r  r  r  r  r  r"  r$  r&  rY  r/  r	  r  r5  r8  r:  r  rj  r  r^  rb  r$  ro  r'  r  r  r8  AddCustomJsonFieldMappingAddCustomJsonEnumMappingrE  r   r   r   <module>r     s   ' < % ( #y   #$(i// ($Ni// N%$"" %$P"y00 "I8Y I8XQh)++ Qhh"I%% "Cy00 C8Ii// I<I.	!! I.X+Y.. +""	)) ",99$$ ,9^	"Y 	""I-- "$CHi'' CHLK9,, K#)++ #/i'' /Sy   S<#I%% #$f	,y(( f	,R	"I-- 	"	4)"3"3 	4>I%% >a	 1 1 a$4)++ 44&I,=,= &,"I-- ",	()"3"3 	(
/9,, 
/)"Y&& )"XI I#	)) I#Xs"I%% s"l&!2!2 &.i'' .M	)) Ma89 a8H	"	)) 	"69,, 6.+9#4#4 +"7I$5$5 7Z!I%% Z!z2Y&& 22$	)) $ Qy'8'8 Q;I-- ;I9#4#4 I
=Y.. 
==Y.. =Ay00 A=Y.. =DI-- D$"Y%6%6 "Di.?.? D$g)2C2C gS	 1 1 SJI$5$5 JDMY%6%6 M_i.?.? _G)"3"3 G'y   '$P>i'' P>f27	!! 27jD)++ D "** "01E	)) 1Eh	cy(( 	c&i &7y   7%7	 1 1 %7PKi'' K6'i// 6'rC#	!! C#L%Y&& %	"i'' 	""	)) "4DY.. D$	4Y&& 	4#My00 #ML+y00 +0J	 1 1 0Jf29Y&& 29jUY):): UYp!Ey(( !EH$i// $4)	!! )2/)## /(Ki// K.U9,, U8.** .>*"" *B%9,, %")I-- ))Y%6%6 )=)

 =&i'' &e=y   e=P*0y00 *0Z4!2!2 4 4i// 44!2!2 44y00 4$
3I$5$5 
31I$5$5 11!2!2 139#4#4 36(I$5$5 ( 4):): 4&9,, &4	 1 1 44Y.. 4	4i// 	44y00 4 4	 1 1 4 R7)"3"3 R7jA)++ AB4)*;*; 4&)9+<+< )/i.?.? /	4Y%6%6 	4
4i.?.? 
44y00 4 /	 1 1 /B4i&7&7 44	 1 1 4 4I$5$5 4 /Y%6%6 /@4	 1 1 4 4)"3"3 42i.?.? 20	0A0A 0 	4Y.. 	44	 1 1 44	 1 1 44i// 46	4y'8'8 	4
4	0A0A 
44y00 4&UI,=,= U4Y5F5F 4"4	(9(9 4&49#4#4 44)*;*; 4 )9+<+< )/1B1B /793D3D 7=)*;*; =4	(9(9 4>
4!2!2 
44y'8'8 44	(9(9 441B1B 4"QQ9+<+< QQh	4i&7&7 	4	4Y%6%6 	44I$5$5 4 4Y%6%6 44	 1 1 4&R4I4E4E R4jUY5F5F U	4!2!2 	4	4i// 	44y00 4*$Q** $QN	4Y5F5F 	48y7H7H 8 493D3D 4{y7H7H { i)2C2C ik93D3D k }I<M<M } 'i// '$,9,, , 
+y00 
+	89,, 	8_	(9(9 _<y00 <<I-- <My00 M	4Y.. 	4%M)++ %MP4)++ 44I-- 4 4** 4 	4)++ 	4+I-- +0-i -<
,I%% 
,	(Y%6%6 	((I-- (6Y.. 6$	"9,, 	"<.i// <.~0%Y 0%f#	!! #	I9$$ 	I"9 "*	"	)) 	"
%** 
%%"" %:o89 o8d79#4#4 7,+	)) +	#I 	# # " "Z4 ! ! !114> ! ! !114>r   