google-apis-sqladmin_v1beta4 0.18.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/sqladmin_v1beta4/classes.rb +158 -45
- data/lib/google/apis/sqladmin_v1beta4/gem_version.rb +2 -2
- data/lib/google/apis/sqladmin_v1beta4/representations.rb +53 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a75115346c8e710d024d071c6f7ed54b7cad64fbb13de71a31714f0d1af545ab
|
4
|
+
data.tar.gz: ed33ec4bc2ffc36646ed2d3683854aa80a9df71dadf60aa60fba3b6814586a68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8828b6217c8243a2db4f19165b895df9c518d2fcc342423df5c42eec21487a7e3ff034a86419e76cfe93506adc3c35abc89ce437225a1edac9639fc599ff35a5
|
7
|
+
data.tar.gz: d9bfb44d43d25b511d9e419b5593925d37b98944127331e9784155ff12b34caf2dd6ec603770c82b33cb2ec71cf01ce06b1ee630d2196d1fe4eb0c8aece91bf4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.22.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211206
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.21.0 (2021-11-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211110
|
11
|
+
|
12
|
+
### v0.20.0 (2021-11-04)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211023
|
15
|
+
|
16
|
+
### v0.19.0 (2021-10-27)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211017
|
19
|
+
* Unspecified changes
|
20
|
+
|
3
21
|
### v0.18.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_v1beta4"
|
|
51
51
|
client = Google::Apis::SqladminV1beta4::SQLAdminService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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.
|
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.
|
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::SqladminV1beta4::Settings]
|
788
787
|
attr_accessor :settings
|
789
788
|
|
790
|
-
# The current serving state of the Cloud SQL instance.
|
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::SqladminV1beta4::ExportContext::CsvExportOptions]
|
1126
1120
|
attr_accessor :csv_export_options
|
1127
1121
|
|
1128
|
-
# Databases to be exported.
|
1129
|
-
#
|
1130
|
-
#
|
1131
|
-
#
|
1132
|
-
#
|
1133
|
-
#
|
1134
|
-
#
|
1135
|
-
#
|
1136
|
-
#
|
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.
|
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.
|
1271
|
-
#
|
1272
|
-
# coordinates, and --set-gtid-purged is set to ON.
|
1273
|
-
# MASTER TO statement is written as a SQL comment and has no effect.
|
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]
|
@@ -1961,14 +1953,13 @@ module Google
|
|
1961
1953
|
# created in the allocated range. The range name must comply with [RFC 1035](
|
1962
1954
|
# https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63
|
1963
1955
|
# characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
|
1964
|
-
# Reserved for future use.
|
1965
1956
|
# Corresponds to the JSON property `allocatedIpRange`
|
1966
1957
|
# @return [String]
|
1967
1958
|
attr_accessor :allocated_ip_range
|
1968
1959
|
|
1969
1960
|
# The list of external networks that are allowed to connect to the instance
|
1970
1961
|
# using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
|
1971
|
-
# **
|
1962
|
+
# **157.197.200.0/24**).
|
1972
1963
|
# Corresponds to the JSON property `authorizedNetworks`
|
1973
1964
|
# @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
|
1974
1965
|
attr_accessor :authorized_networks
|
@@ -2050,7 +2041,7 @@ module Google
|
|
2050
2041
|
include Google::Apis::Core::Hashable
|
2051
2042
|
|
2052
2043
|
# The App Engine application to follow, it must be in the same region as the
|
2053
|
-
# Cloud SQL instance.
|
2044
|
+
# Cloud SQL instance. WARNING: Changing this might restart the instance.
|
2054
2045
|
# Corresponds to the JSON property `followGaeApplication`
|
2055
2046
|
# @return [String]
|
2056
2047
|
attr_accessor :follow_gae_application
|
@@ -2067,7 +2058,7 @@ module Google
|
|
2067
2058
|
attr_accessor :secondary_zone
|
2068
2059
|
|
2069
2060
|
# The preferred Compute Engine zone (for example: us-central1-a, us-central1-b,
|
2070
|
-
# etc.).
|
2061
|
+
# etc.). WARNING: Changing this might restart the instance.
|
2071
2062
|
# Corresponds to the JSON property `zone`
|
2072
2063
|
# @return [String]
|
2073
2064
|
attr_accessor :zone
|
@@ -2367,8 +2358,7 @@ module Google
|
|
2367
2358
|
# @return [String]
|
2368
2359
|
attr_accessor :start_time
|
2369
2360
|
|
2370
|
-
# The status of an operation.
|
2371
|
-
# DONE** * **SQL_OPERATION_STATUS_UNSPECIFIED**
|
2361
|
+
# The status of an operation.
|
2372
2362
|
# Corresponds to the JSON property `status`
|
2373
2363
|
# @return [String]
|
2374
2364
|
attr_accessor :status
|
@@ -2506,6 +2496,76 @@ module Google
|
|
2506
2496
|
end
|
2507
2497
|
end
|
2508
2498
|
|
2499
|
+
# Read-only password status.
|
2500
|
+
class PasswordStatus
|
2501
|
+
include Google::Apis::Core::Hashable
|
2502
|
+
|
2503
|
+
# If true, user does not have login privileges.
|
2504
|
+
# Corresponds to the JSON property `locked`
|
2505
|
+
# @return [Boolean]
|
2506
|
+
attr_accessor :locked
|
2507
|
+
alias_method :locked?, :locked
|
2508
|
+
|
2509
|
+
# The expiration time of the current password.
|
2510
|
+
# Corresponds to the JSON property `passwordExpirationTime`
|
2511
|
+
# @return [String]
|
2512
|
+
attr_accessor :password_expiration_time
|
2513
|
+
|
2514
|
+
def initialize(**args)
|
2515
|
+
update!(**args)
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
# Update properties of this object
|
2519
|
+
def update!(**args)
|
2520
|
+
@locked = args[:locked] if args.key?(:locked)
|
2521
|
+
@password_expiration_time = args[:password_expiration_time] if args.key?(:password_expiration_time)
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# Database instance local user password validation policy
|
2526
|
+
class PasswordValidationPolicy
|
2527
|
+
include Google::Apis::Core::Hashable
|
2528
|
+
|
2529
|
+
# The complexity of the password.
|
2530
|
+
# Corresponds to the JSON property `complexity`
|
2531
|
+
# @return [String]
|
2532
|
+
attr_accessor :complexity
|
2533
|
+
|
2534
|
+
# Disallow username as a part of the password.
|
2535
|
+
# Corresponds to the JSON property `disallowUsernameSubstring`
|
2536
|
+
# @return [Boolean]
|
2537
|
+
attr_accessor :disallow_username_substring
|
2538
|
+
alias_method :disallow_username_substring?, :disallow_username_substring
|
2539
|
+
|
2540
|
+
# Minimum number of characters allowed.
|
2541
|
+
# Corresponds to the JSON property `minLength`
|
2542
|
+
# @return [Fixnum]
|
2543
|
+
attr_accessor :min_length
|
2544
|
+
|
2545
|
+
# Minimum interval after which the password can be changed.
|
2546
|
+
# Corresponds to the JSON property `passwordChangeInterval`
|
2547
|
+
# @return [String]
|
2548
|
+
attr_accessor :password_change_interval
|
2549
|
+
|
2550
|
+
# Number of previous passwords that cannot be reused.
|
2551
|
+
# Corresponds to the JSON property `reuseInterval`
|
2552
|
+
# @return [Fixnum]
|
2553
|
+
attr_accessor :reuse_interval
|
2554
|
+
|
2555
|
+
def initialize(**args)
|
2556
|
+
update!(**args)
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
# Update properties of this object
|
2560
|
+
def update!(**args)
|
2561
|
+
@complexity = args[:complexity] if args.key?(:complexity)
|
2562
|
+
@disallow_username_substring = args[:disallow_username_substring] if args.key?(:disallow_username_substring)
|
2563
|
+
@min_length = args[:min_length] if args.key?(:min_length)
|
2564
|
+
@password_change_interval = args[:password_change_interval] if args.key?(:password_change_interval)
|
2565
|
+
@reuse_interval = args[:reuse_interval] if args.key?(:reuse_interval)
|
2566
|
+
end
|
2567
|
+
end
|
2568
|
+
|
2509
2569
|
# Read-replica configuration for connecting to the primary instance.
|
2510
2570
|
class ReplicaConfiguration
|
2511
2571
|
include Google::Apis::Core::Hashable
|
@@ -2702,7 +2762,7 @@ module Google
|
|
2702
2762
|
attr_accessor :database_flags
|
2703
2763
|
|
2704
2764
|
# Configuration specific to read replica instances. Indicates whether
|
2705
|
-
# replication is enabled or not.
|
2765
|
+
# replication is enabled or not. WARNING: Changing this restarts the instance.
|
2706
2766
|
# Corresponds to the JSON property `databaseReplicationEnabled`
|
2707
2767
|
# @return [Boolean]
|
2708
2768
|
attr_accessor :database_replication_enabled
|
@@ -2742,6 +2802,11 @@ module Google
|
|
2742
2802
|
# @return [Google::Apis::SqladminV1beta4::MaintenanceWindow]
|
2743
2803
|
attr_accessor :maintenance_window
|
2744
2804
|
|
2805
|
+
# Database instance local user password validation policy
|
2806
|
+
# Corresponds to the JSON property `passwordValidationPolicy`
|
2807
|
+
# @return [Google::Apis::SqladminV1beta4::PasswordValidationPolicy]
|
2808
|
+
attr_accessor :password_validation_policy
|
2809
|
+
|
2745
2810
|
# The pricing plan for this instance. This can be either **PER_USE** or **
|
2746
2811
|
# PACKAGE**. Only **PER_USE** is supported for Second Generation instances.
|
2747
2812
|
# Corresponds to the JSON property `pricingPlan`
|
@@ -2782,6 +2847,7 @@ module Google
|
|
2782
2847
|
attr_accessor :storage_auto_resize_limit
|
2783
2848
|
|
2784
2849
|
# The tier (or machine type) for this instance, for example **db-custom-1-3840**.
|
2850
|
+
# WARNING: Changing this restarts the instance.
|
2785
2851
|
# Corresponds to the JSON property `tier`
|
2786
2852
|
# @return [String]
|
2787
2853
|
attr_accessor :tier
|
@@ -2815,6 +2881,7 @@ module Google
|
|
2815
2881
|
@kind = args[:kind] if args.key?(:kind)
|
2816
2882
|
@location_preference = args[:location_preference] if args.key?(:location_preference)
|
2817
2883
|
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
2884
|
+
@password_validation_policy = args[:password_validation_policy] if args.key?(:password_validation_policy)
|
2818
2885
|
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
|
2819
2886
|
@replication_type = args[:replication_type] if args.key?(:replication_type)
|
2820
2887
|
@settings_version = args[:settings_version] if args.key?(:settings_version)
|
@@ -3482,9 +3549,11 @@ module Google
|
|
3482
3549
|
# @return [String]
|
3483
3550
|
attr_accessor :etag
|
3484
3551
|
|
3485
|
-
# The host name from which the user can connect. For
|
3486
|
-
# defaults to an empty string. For
|
3487
|
-
# part of the request URL. The host name cannot be updated after
|
3552
|
+
# Optional. The host name from which the user can connect. For **insert**
|
3553
|
+
# operations, host defaults to an empty string. For **update** operations, host
|
3554
|
+
# is specified as part of the request URL. The host name cannot be updated after
|
3555
|
+
# insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server
|
3556
|
+
# instance, it's optional.
|
3488
3557
|
# Corresponds to the JSON property `host`
|
3489
3558
|
# @return [String]
|
3490
3559
|
attr_accessor :host
|
@@ -3500,7 +3569,7 @@ module Google
|
|
3500
3569
|
# @return [String]
|
3501
3570
|
attr_accessor :kind
|
3502
3571
|
|
3503
|
-
# The name of the user in the Cloud SQL instance. Can be omitted for
|
3572
|
+
# The name of the user in the Cloud SQL instance. Can be omitted for **update**
|
3504
3573
|
# since it is already specified in the URL.
|
3505
3574
|
# Corresponds to the JSON property `name`
|
3506
3575
|
# @return [String]
|
@@ -3511,6 +3580,11 @@ module Google
|
|
3511
3580
|
# @return [String]
|
3512
3581
|
attr_accessor :password
|
3513
3582
|
|
3583
|
+
# User level password validation policy.
|
3584
|
+
# Corresponds to the JSON property `passwordPolicy`
|
3585
|
+
# @return [Google::Apis::SqladminV1beta4::UserPasswordValidationPolicy]
|
3586
|
+
attr_accessor :password_policy
|
3587
|
+
|
3514
3588
|
# The project ID of the project containing the Cloud SQL database. The Google
|
3515
3589
|
# apps domain is prefixed if applicable. Can be omitted for *update* since it is
|
3516
3590
|
# already specified on the URL.
|
@@ -3541,12 +3615,51 @@ module Google
|
|
3541
3615
|
@kind = args[:kind] if args.key?(:kind)
|
3542
3616
|
@name = args[:name] if args.key?(:name)
|
3543
3617
|
@password = args[:password] if args.key?(:password)
|
3618
|
+
@password_policy = args[:password_policy] if args.key?(:password_policy)
|
3544
3619
|
@project = args[:project] if args.key?(:project)
|
3545
3620
|
@sqlserver_user_details = args[:sqlserver_user_details] if args.key?(:sqlserver_user_details)
|
3546
3621
|
@type = args[:type] if args.key?(:type)
|
3547
3622
|
end
|
3548
3623
|
end
|
3549
3624
|
|
3625
|
+
# User level password validation policy.
|
3626
|
+
class UserPasswordValidationPolicy
|
3627
|
+
include Google::Apis::Core::Hashable
|
3628
|
+
|
3629
|
+
# Number of failed login attempts allowed before user get locked.
|
3630
|
+
# Corresponds to the JSON property `allowedFailedAttempts`
|
3631
|
+
# @return [Fixnum]
|
3632
|
+
attr_accessor :allowed_failed_attempts
|
3633
|
+
|
3634
|
+
# If true, failed login attempts check will be enabled.
|
3635
|
+
# Corresponds to the JSON property `enableFailedAttemptsCheck`
|
3636
|
+
# @return [Boolean]
|
3637
|
+
attr_accessor :enable_failed_attempts_check
|
3638
|
+
alias_method :enable_failed_attempts_check?, :enable_failed_attempts_check
|
3639
|
+
|
3640
|
+
# Expiration duration after password is updated.
|
3641
|
+
# Corresponds to the JSON property `passwordExpirationDuration`
|
3642
|
+
# @return [String]
|
3643
|
+
attr_accessor :password_expiration_duration
|
3644
|
+
|
3645
|
+
# Read-only password status.
|
3646
|
+
# Corresponds to the JSON property `status`
|
3647
|
+
# @return [Google::Apis::SqladminV1beta4::PasswordStatus]
|
3648
|
+
attr_accessor :status
|
3649
|
+
|
3650
|
+
def initialize(**args)
|
3651
|
+
update!(**args)
|
3652
|
+
end
|
3653
|
+
|
3654
|
+
# Update properties of this object
|
3655
|
+
def update!(**args)
|
3656
|
+
@allowed_failed_attempts = args[:allowed_failed_attempts] if args.key?(:allowed_failed_attempts)
|
3657
|
+
@enable_failed_attempts_check = args[:enable_failed_attempts_check] if args.key?(:enable_failed_attempts_check)
|
3658
|
+
@password_expiration_duration = args[:password_expiration_duration] if args.key?(:password_expiration_duration)
|
3659
|
+
@status = args[:status] if args.key?(:status)
|
3660
|
+
end
|
3661
|
+
end
|
3662
|
+
|
3550
3663
|
# User list response.
|
3551
3664
|
class ListUsersResponse
|
3552
3665
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SqladminV1beta4
|
18
18
|
# Version of the google-apis-sqladmin_v1beta4 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.22.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 = "
|
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 ListUsersResponse
|
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::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::MaintenanceWindow, decorator: Google::Apis::SqladminV1beta4::MaintenanceWindow::Representation
|
1247
1285
|
|
1286
|
+
property :password_validation_policy, as: 'passwordValidationPolicy', class: Google::Apis::SqladminV1beta4::PasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::UserPasswordValidationPolicy, decorator: Google::Apis::SqladminV1beta4::UserPasswordValidationPolicy::Representation
|
1506
|
+
|
1465
1507
|
property :project, as: 'project'
|
1466
1508
|
property :sqlserver_user_details, as: 'sqlserverUserDetails', class: Google::Apis::SqladminV1beta4::SqlServerUserDetails, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::PasswordStatus, decorator: Google::Apis::SqladminV1beta4::PasswordStatus::Representation
|
1521
|
+
|
1522
|
+
end
|
1523
|
+
end
|
1524
|
+
|
1472
1525
|
class ListUsersResponse
|
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_v1beta4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.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:
|
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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.22.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
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.
|
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 V1beta4
|