google-apis-sqladmin_v1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 065cd4fbc9763e497bfb2efc2d4bc1136204ef39a7853bb20daa21f6fd2f3426
4
- data.tar.gz: 06cd60fb3ec64409941e8b0bec8ffee5f805005492adb859b3a57a0fc5e05751
3
+ metadata.gz: 4d828cbc1d64c06fe3cd4086f5aaeaf7e7df0c4cf1fbd16e8a84c56137709c78
4
+ data.tar.gz: 1935888f7a15c81ea06220a8d4060f40ecf252d3abf34401d7e8c62ca3bc9df2
5
5
  SHA512:
6
- metadata.gz: 268a30d801e31dc6cab1fb15b2a164ce262e295ef3331a2c92b1cda8fcb632e84378711ad1becfc462b87ae319e1338d0ca77b760f87e0ff5bd919ef315819fe
7
- data.tar.gz: 66391239b2906e2293a133f0980f5d10bbaa2148a098ddede3669a6c69edc1d7547599b5f78e2a02a72ac1a74b57642007bc0621325b7001945bc2fa5f692f5f
6
+ metadata.gz: defcfa9878acf67ca419e42bb17067fb2b4c7f4efa227c363113b4877cd27510a61b0c2c3f6eeda1ad803f2f0bf06a679e91f22ef039c502c66226724e0361c8
7
+ data.tar.gz: 5e96c519c30938c8148ea8aa8e26520e75d0a67aa320cbc72c4464316455b8f9d0400dd4f4e69185ca99356c4155f08aad59e02bfa5ef735ef855f5243634a78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.11.0 (2021-12-16)
4
+
5
+ * Regenerated from discovery document revision 20211206
6
+ * Unspecified changes
7
+
8
+ ### v0.10.0 (2021-11-19)
9
+
10
+ * Regenerated from discovery document revision 20211110
11
+
12
+ ### v0.9.0 (2021-11-04)
13
+
14
+ * Regenerated from discovery document revision 20211023
15
+
16
+ ### v0.8.0 (2021-10-27)
17
+
18
+ * Regenerated from discovery document revision 20211017
19
+ * Unspecified changes
20
+
3
21
  ### v0.7.0 (2021-10-08)
4
22
 
5
23
  * Regenerated from discovery document revision 20210929
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/sqladmin_v1"
51
51
  client = Google::Apis::SqladminV1::SQLAdminService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Sqladmin service in particular.)
67
67
 
@@ -630,13 +630,14 @@ module Google
630
630
  # @return [Fixnum]
631
631
  attr_accessor :current_disk_size
632
632
 
633
+ # Output only. Stores the current database version running on the instance
634
+ # including minor version such as **MYSQL_8_0_18**.
635
+ # Corresponds to the JSON property `databaseInstalledVersion`
636
+ # @return [String]
637
+ attr_accessor :database_installed_version
638
+
633
639
  # The database engine type and version. The **databaseVersion** field cannot be
634
- # changed after instance creation. * **MySQL instances**: MYSQL_8_0, MYSQL_5_7 (
635
- # default), or MYSQL_5_6. * **PostgreSQL instances**: POSTGRES_9_6, POSTGRES_10,
636
- # POSTGRES_11, POSTGRES_12, POSTGRES_13 (default). * **SQL Server instances**:
637
- # SQLSERVER_2019_STANDARD, SQLSERVER_2019_ENTERPRISE, SQLSERVER_2019_EXPRESS, or
638
- # SQLSERVER_2019_WEB, SQLSERVER_2017_STANDARD (default),
639
- # SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, or SQLSERVER_2017_WEB.
640
+ # changed after instance creation.
640
641
  # Corresponds to the JSON property `databaseVersion`
641
642
  # @return [String]
642
643
  attr_accessor :database_version
@@ -664,15 +665,13 @@ module Google
664
665
 
665
666
  # The Compute Engine zone that the instance is currently serving from. This
666
667
  # value could be different from the zone that was specified when the instance
667
- # was created if the instance has failed over to its secondary zone.
668
+ # was created if the instance has failed over to its secondary zone. WARNING:
669
+ # Changing this might restart the instance.
668
670
  # Corresponds to the JSON property `gceZone`
669
671
  # @return [String]
670
672
  attr_accessor :gce_zone
671
673
 
672
- # The instance type. This can be one of the following: * **CLOUD_SQL_INSTANCE**:
673
- # A Cloud SQL instance that is not replicating from a primary instance. * **
674
- # ON_PREMISES_INSTANCE**: An instance running on the customer's premises. * **
675
- # READ_REPLICA_INSTANCE**: A Cloud SQL instance configured as a read-replica.
674
+ # The instance type.
676
675
  # Corresponds to the JSON property `instanceType`
677
676
  # @return [String]
678
677
  attr_accessor :instance_type
@@ -787,13 +786,7 @@ module Google
787
786
  # @return [Google::Apis::SqladminV1::Settings]
788
787
  attr_accessor :settings
789
788
 
790
- # The current serving state of the Cloud SQL instance. This can be one of the
791
- # following: * **SQL_INSTANCE_STATE_UNSPECIFIED**: The state of the instance is
792
- # unknown. * **RUNNABLE**: The instance is running, or has been stopped by owner.
793
- # * **SUSPENDED**: The instance is not available, for example due to problems
794
- # with billing. * **PENDING_DELETE**: The instance is being deleted. * **
795
- # PENDING_CREATE**: The instance is being created. * **MAINTENANCE**: The
796
- # instance is down for maintenance. * **FAILED**: The instance creation failed.
789
+ # The current serving state of the Cloud SQL instance.
797
790
  # Corresponds to the JSON property `state`
798
791
  # @return [String]
799
792
  attr_accessor :state
@@ -813,6 +806,7 @@ module Google
813
806
  @connection_name = args[:connection_name] if args.key?(:connection_name)
814
807
  @create_time = args[:create_time] if args.key?(:create_time)
815
808
  @current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
809
+ @database_installed_version = args[:database_installed_version] if args.key?(:database_installed_version)
816
810
  @database_version = args[:database_version] if args.key?(:database_version)
817
811
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
818
812
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
@@ -1125,22 +1119,20 @@ module Google
1125
1119
  # @return [Google::Apis::SqladminV1::ExportContext::CsvExportOptions]
1126
1120
  attr_accessor :csv_export_options
1127
1121
 
1128
- # Databases to be exported. * **MySQL instances:** If **fileType** is **SQL**
1129
- # and no database is specified, all databases are exported, except for the **
1130
- # mysql** system database. If **fileType** is **CSV**, you can specify one
1131
- # database, either by using this property or by using the **csvExportOptions.
1132
- # selectQuery** property, which takes precedence over this property. * **
1133
- # PostgreSQL instances:** You must specify one database to be exported. If **
1134
- # fileType** is **CSV**, this database must match the one specified in the **
1135
- # csvExportOptions.selectQuery** property. * **SQL Server instances:** You must
1136
- # specify one database to be exported, and the **fileType** must be **BAK**.
1122
+ # Databases to be exported. **MySQL instances:** If **fileType** is **SQL** and
1123
+ # no database is specified, all databases are exported, except for the **mysql**
1124
+ # system database. If **fileType** is **CSV**, you can specify one database,
1125
+ # either by using this property or by using the **csvExportOptions.selectQuery**
1126
+ # property, which takes precedence over this property. **PostgreSQL instances:**
1127
+ # You must specify one database to be exported. If **fileType** is **CSV**, this
1128
+ # database must match the one specified in the **csvExportOptions.selectQuery**
1129
+ # property. **SQL Server instances:** You must specify one database to be
1130
+ # exported, and the **fileType** must be **BAK**.
1137
1131
  # Corresponds to the JSON property `databases`
1138
1132
  # @return [Array<String>]
1139
1133
  attr_accessor :databases
1140
1134
 
1141
- # The file type for the specified uri. * **SQL**: The file contains SQL
1142
- # statements. * **CSV**: The file contains CSV data. * **BAK**: The file
1143
- # contains backup data for a SQL Server instance.
1135
+ # The file type for the specified uri.
1144
1136
  # Corresponds to the JSON property `fileType`
1145
1137
  # @return [String]
1146
1138
  attr_accessor :file_type
@@ -1267,10 +1259,10 @@ module Google
1267
1259
  class MysqlExportOptions
1268
1260
  include Google::Apis::Core::Hashable
1269
1261
 
1270
- # Option to include SQL statement required to set up replication. * If set to **
1271
- # 1**, the dump file includes a CHANGE MASTER TO statement with the binary log
1272
- # coordinates, and --set-gtid-purged is set to ON. * If set to **2**, the CHANGE
1273
- # MASTER TO statement is written as a SQL comment and has no effect. * If set to
1262
+ # Option to include SQL statement required to set up replication. If set to **1**
1263
+ # , the dump file includes a CHANGE MASTER TO statement with the binary log
1264
+ # coordinates, and --set-gtid-purged is set to ON. If set to **2**, the CHANGE
1265
+ # MASTER TO statement is written as a SQL comment and has no effect. If set to
1274
1266
  # any value other than **1**, --set-gtid-purged is set to OFF.
1275
1267
  # Corresponds to the JSON property `masterData`
1276
1268
  # @return [Fixnum]
@@ -1960,14 +1952,13 @@ module Google
1960
1952
  # created in the allocated range. The range name must comply with [RFC 1035](
1961
1953
  # https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63
1962
1954
  # characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
1963
- # Reserved for future use.
1964
1955
  # Corresponds to the JSON property `allocatedIpRange`
1965
1956
  # @return [String]
1966
1957
  attr_accessor :allocated_ip_range
1967
1958
 
1968
1959
  # The list of external networks that are allowed to connect to the instance
1969
1960
  # using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
1970
- # **192.168.100.0/24**).
1961
+ # **157.197.200.0/24**).
1971
1962
  # Corresponds to the JSON property `authorizedNetworks`
1972
1963
  # @return [Array<Google::Apis::SqladminV1::AclEntry>]
1973
1964
  attr_accessor :authorized_networks
@@ -2049,7 +2040,7 @@ module Google
2049
2040
  include Google::Apis::Core::Hashable
2050
2041
 
2051
2042
  # The App Engine application to follow, it must be in the same region as the
2052
- # Cloud SQL instance.
2043
+ # Cloud SQL instance. WARNING: Changing this might restart the instance.
2053
2044
  # Corresponds to the JSON property `followGaeApplication`
2054
2045
  # @return [String]
2055
2046
  attr_accessor :follow_gae_application
@@ -2066,7 +2057,7 @@ module Google
2066
2057
  attr_accessor :secondary_zone
2067
2058
 
2068
2059
  # The preferred Compute Engine zone (for example: us-central1-a, us-central1-b,
2069
- # etc.).
2060
+ # etc.). WARNING: Changing this might restart the instance.
2070
2061
  # Corresponds to the JSON property `zone`
2071
2062
  # @return [String]
2072
2063
  attr_accessor :zone
@@ -2366,8 +2357,7 @@ module Google
2366
2357
  # @return [String]
2367
2358
  attr_accessor :start_time
2368
2359
 
2369
- # The status of an operation. Valid values are: * **PENDING** * **RUNNING** * **
2370
- # DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
2360
+ # The status of an operation.
2371
2361
  # Corresponds to the JSON property `status`
2372
2362
  # @return [String]
2373
2363
  attr_accessor :status
@@ -2505,6 +2495,76 @@ module Google
2505
2495
  end
2506
2496
  end
2507
2497
 
2498
+ # Read-only password status.
2499
+ class PasswordStatus
2500
+ include Google::Apis::Core::Hashable
2501
+
2502
+ # If true, user does not have login privileges.
2503
+ # Corresponds to the JSON property `locked`
2504
+ # @return [Boolean]
2505
+ attr_accessor :locked
2506
+ alias_method :locked?, :locked
2507
+
2508
+ # The expiration time of the current password.
2509
+ # Corresponds to the JSON property `passwordExpirationTime`
2510
+ # @return [String]
2511
+ attr_accessor :password_expiration_time
2512
+
2513
+ def initialize(**args)
2514
+ update!(**args)
2515
+ end
2516
+
2517
+ # Update properties of this object
2518
+ def update!(**args)
2519
+ @locked = args[:locked] if args.key?(:locked)
2520
+ @password_expiration_time = args[:password_expiration_time] if args.key?(:password_expiration_time)
2521
+ end
2522
+ end
2523
+
2524
+ # Database instance local user password validation policy
2525
+ class PasswordValidationPolicy
2526
+ include Google::Apis::Core::Hashable
2527
+
2528
+ # The complexity of the password.
2529
+ # Corresponds to the JSON property `complexity`
2530
+ # @return [String]
2531
+ attr_accessor :complexity
2532
+
2533
+ # Disallow username as a part of the password.
2534
+ # Corresponds to the JSON property `disallowUsernameSubstring`
2535
+ # @return [Boolean]
2536
+ attr_accessor :disallow_username_substring
2537
+ alias_method :disallow_username_substring?, :disallow_username_substring
2538
+
2539
+ # Minimum number of characters allowed.
2540
+ # Corresponds to the JSON property `minLength`
2541
+ # @return [Fixnum]
2542
+ attr_accessor :min_length
2543
+
2544
+ # Minimum interval after which the password can be changed.
2545
+ # Corresponds to the JSON property `passwordChangeInterval`
2546
+ # @return [String]
2547
+ attr_accessor :password_change_interval
2548
+
2549
+ # Number of previous passwords that cannot be reused.
2550
+ # Corresponds to the JSON property `reuseInterval`
2551
+ # @return [Fixnum]
2552
+ attr_accessor :reuse_interval
2553
+
2554
+ def initialize(**args)
2555
+ update!(**args)
2556
+ end
2557
+
2558
+ # Update properties of this object
2559
+ def update!(**args)
2560
+ @complexity = args[:complexity] if args.key?(:complexity)
2561
+ @disallow_username_substring = args[:disallow_username_substring] if args.key?(:disallow_username_substring)
2562
+ @min_length = args[:min_length] if args.key?(:min_length)
2563
+ @password_change_interval = args[:password_change_interval] if args.key?(:password_change_interval)
2564
+ @reuse_interval = args[:reuse_interval] if args.key?(:reuse_interval)
2565
+ end
2566
+ end
2567
+
2508
2568
  # Read-replica configuration for connecting to the primary instance.
2509
2569
  class ReplicaConfiguration
2510
2570
  include Google::Apis::Core::Hashable
@@ -2701,7 +2761,7 @@ module Google
2701
2761
  attr_accessor :database_flags
2702
2762
 
2703
2763
  # Configuration specific to read replica instances. Indicates whether
2704
- # replication is enabled or not.
2764
+ # replication is enabled or not. WARNING: Changing this restarts the instance.
2705
2765
  # Corresponds to the JSON property `databaseReplicationEnabled`
2706
2766
  # @return [Boolean]
2707
2767
  attr_accessor :database_replication_enabled
@@ -2741,6 +2801,11 @@ module Google
2741
2801
  # @return [Google::Apis::SqladminV1::MaintenanceWindow]
2742
2802
  attr_accessor :maintenance_window
2743
2803
 
2804
+ # Database instance local user password validation policy
2805
+ # Corresponds to the JSON property `passwordValidationPolicy`
2806
+ # @return [Google::Apis::SqladminV1::PasswordValidationPolicy]
2807
+ attr_accessor :password_validation_policy
2808
+
2744
2809
  # The pricing plan for this instance. This can be either **PER_USE** or **
2745
2810
  # PACKAGE**. Only **PER_USE** is supported for Second Generation instances.
2746
2811
  # Corresponds to the JSON property `pricingPlan`
@@ -2781,6 +2846,7 @@ module Google
2781
2846
  attr_accessor :storage_auto_resize_limit
2782
2847
 
2783
2848
  # The tier (or machine type) for this instance, for example **db-custom-1-3840**.
2849
+ # WARNING: Changing this restarts the instance.
2784
2850
  # Corresponds to the JSON property `tier`
2785
2851
  # @return [String]
2786
2852
  attr_accessor :tier
@@ -2814,6 +2880,7 @@ module Google
2814
2880
  @kind = args[:kind] if args.key?(:kind)
2815
2881
  @location_preference = args[:location_preference] if args.key?(:location_preference)
2816
2882
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
2883
+ @password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
2817
2884
  @pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
2818
2885
  @replication_type = args[:replication_type] if args.key?(:replication_type)
2819
2886
  @settings_version = args[:settings_version] if args.key?(:settings_version)
@@ -3481,9 +3548,11 @@ module Google
3481
3548
  # @return [String]
3482
3549
  attr_accessor :etag
3483
3550
 
3484
- # The host name from which the user can connect. For **insert** operations, host
3485
- # defaults to an empty string. For **update** operations, host is specified as
3486
- # part of the request URL. The host name cannot be updated after insertion.
3551
+ # Optional. The host name from which the user can connect. For **insert**
3552
+ # operations, host defaults to an empty string. For **update** operations, host
3553
+ # is specified as part of the request URL. The host name cannot be updated after
3554
+ # insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server
3555
+ # instance, it's optional.
3487
3556
  # Corresponds to the JSON property `host`
3488
3557
  # @return [String]
3489
3558
  attr_accessor :host
@@ -3510,6 +3579,11 @@ module Google
3510
3579
  # @return [String]
3511
3580
  attr_accessor :password
3512
3581
 
3582
+ # User level password validation policy.
3583
+ # Corresponds to the JSON property `passwordPolicy`
3584
+ # @return [Google::Apis::SqladminV1::UserPasswordValidationPolicy]
3585
+ attr_accessor :password_policy
3586
+
3513
3587
  # The project ID of the project containing the Cloud SQL database. The Google
3514
3588
  # apps domain is prefixed if applicable. Can be omitted for **update** since it
3515
3589
  # is already specified on the URL.
@@ -3540,12 +3614,51 @@ module Google
3540
3614
  @kind = args[:kind] if args.key?(:kind)
3541
3615
  @name = args[:name] if args.key?(:name)
3542
3616
  @password = args[:password] if args.key?(:password)
3617
+ @password_policy = args[:password_policy] if args.key?(:password_policy)
3543
3618
  @project = args[:project] if args.key?(:project)
3544
3619
  @sqlserver_user_details = args[:sqlserver_user_details] if args.key?(:sqlserver_user_details)
3545
3620
  @type = args[:type] if args.key?(:type)
3546
3621
  end
3547
3622
  end
3548
3623
 
3624
+ # User level password validation policy.
3625
+ class UserPasswordValidationPolicy
3626
+ include Google::Apis::Core::Hashable
3627
+
3628
+ # Number of failed login attempts allowed before user get locked.
3629
+ # Corresponds to the JSON property `allowedFailedAttempts`
3630
+ # @return [Fixnum]
3631
+ attr_accessor :allowed_failed_attempts
3632
+
3633
+ # If true, failed login attempts check will be enabled.
3634
+ # Corresponds to the JSON property `enableFailedAttemptsCheck`
3635
+ # @return [Boolean]
3636
+ attr_accessor :enable_failed_attempts_check
3637
+ alias_method :enable_failed_attempts_check?, :enable_failed_attempts_check
3638
+
3639
+ # Expiration duration after password is updated.
3640
+ # Corresponds to the JSON property `passwordExpirationDuration`
3641
+ # @return [String]
3642
+ attr_accessor :password_expiration_duration
3643
+
3644
+ # Read-only password status.
3645
+ # Corresponds to the JSON property `status`
3646
+ # @return [Google::Apis::SqladminV1::PasswordStatus]
3647
+ attr_accessor :status
3648
+
3649
+ def initialize(**args)
3650
+ update!(**args)
3651
+ end
3652
+
3653
+ # Update properties of this object
3654
+ def update!(**args)
3655
+ @allowed_failed_attempts = args[:allowed_failed_attempts] if args.key?(:allowed_failed_attempts)
3656
+ @enable_failed_attempts_check = args[:enable_failed_attempts_check] if args.key?(:enable_failed_attempts_check)
3657
+ @password_expiration_duration = args[:password_expiration_duration] if args.key?(:password_expiration_duration)
3658
+ @status = args[:status] if args.key?(:status)
3659
+ end
3660
+ end
3661
+
3549
3662
  # User list response.
3550
3663
  class UsersListResponse
3551
3664
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210929"
25
+ REVISION = "20211206"
26
26
  end
27
27
  end
28
28
  end
@@ -364,6 +364,18 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
+ class PasswordStatus
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class PasswordValidationPolicy
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
367
379
  class ReplicaConfiguration
368
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
381
 
@@ -526,6 +538,12 @@ module Google
526
538
  include Google::Apis::Core::JsonObjectSupport
527
539
  end
528
540
 
541
+ class UserPasswordValidationPolicy
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
529
547
  class UsersListResponse
530
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
531
549
 
@@ -684,6 +702,7 @@ module Google
684
702
  property :connection_name, as: 'connectionName'
685
703
  property :create_time, as: 'createTime'
686
704
  property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
705
+ property :database_installed_version, as: 'databaseInstalledVersion'
687
706
  property :database_version, as: 'databaseVersion'
688
707
  property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1::DiskEncryptionConfiguration::Representation
689
708
 
@@ -1181,6 +1200,25 @@ module Google
1181
1200
  end
1182
1201
  end
1183
1202
 
1203
+ class PasswordStatus
1204
+ # @private
1205
+ class Representation < Google::Apis::Core::JsonRepresentation
1206
+ property :locked, as: 'locked'
1207
+ property :password_expiration_time, as: 'passwordExpirationTime'
1208
+ end
1209
+ end
1210
+
1211
+ class PasswordValidationPolicy
1212
+ # @private
1213
+ class Representation < Google::Apis::Core::JsonRepresentation
1214
+ property :complexity, as: 'complexity'
1215
+ property :disallow_username_substring, as: 'disallowUsernameSubstring'
1216
+ property :min_length, as: 'minLength'
1217
+ property :password_change_interval, as: 'passwordChangeInterval'
1218
+ property :reuse_interval, as: 'reuseInterval'
1219
+ end
1220
+ end
1221
+
1184
1222
  class ReplicaConfiguration
1185
1223
  # @private
1186
1224
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1245,6 +1283,8 @@ module Google
1245
1283
 
1246
1284
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::SqladminV1::MaintenanceWindow, decorator: Google::Apis::SqladminV1::MaintenanceWindow::Representation
1247
1285
 
1286
+ property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1::PasswordValidationPolicy::Representation
1287
+
1248
1288
  property :pricing_plan, as: 'pricingPlan'
1249
1289
  property :replication_type, as: 'replicationType'
1250
1290
  property :settings_version, :numeric_string => true, as: 'settingsVersion'
@@ -1462,6 +1502,8 @@ module Google
1462
1502
  property :kind, as: 'kind'
1463
1503
  property :name, as: 'name'
1464
1504
  property :password, as: 'password'
1505
+ property :password_policy, as: 'passwordPolicy', class: Google::Apis::SqladminV1::UserPasswordValidationPolicy, decorator: Google::Apis::SqladminV1::UserPasswordValidationPolicy::Representation
1506
+
1465
1507
  property :project, as: 'project'
1466
1508
  property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqladminV1::SqlServerUserDetails, decorator: Google::Apis::SqladminV1::SqlServerUserDetails::Representation
1467
1509
 
@@ -1469,6 +1511,17 @@ module Google
1469
1511
  end
1470
1512
  end
1471
1513
 
1514
+ class UserPasswordValidationPolicy
1515
+ # @private
1516
+ class Representation < Google::Apis::Core::JsonRepresentation
1517
+ property :allowed_failed_attempts, as: 'allowedFailedAttempts'
1518
+ property :enable_failed_attempts_check, as: 'enableFailedAttemptsCheck'
1519
+ property :password_expiration_duration, as: 'passwordExpirationDuration'
1520
+ property :status, as: 'status', class: Google::Apis::SqladminV1::PasswordStatus, decorator: Google::Apis::SqladminV1::PasswordStatus::Representation
1521
+
1522
+ end
1523
+ end
1524
+
1472
1525
  class UsersListResponse
1473
1526
  # @private
1474
1527
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-11 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.11.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud SQL Admin API V1