google-apis-sqladmin_v1beta4 0.31.0 → 0.32.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee7a6128585beda7113756cc1b64ae1c58e382ede059fb2bc2695da2ce654680
|
4
|
+
data.tar.gz: b48ade3c18bca652a06e918931d8dd3595c3c37dcb4973a628b171ce7ae87ee9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffbcd1e845c5946fc448296ac3785e618d52aa03da6c4005ea86af69e165b37ee8f57e82e75c11e683eaa85e27be5d16832e83353cdc4fd4aa4a5591bc42083f
|
7
|
+
data.tar.gz: aedefae1c5bc78058d084b937306f5fdd9d8757117e0946df792165d66c582081565bc14309237cab590ff7dca8a50081dc56b3c13051edc1861391a2d46e8a9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.32.0 (2022-07-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220623
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
3
8
|
### v0.31.0 (2022-06-30)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.8.0
|
@@ -3591,6 +3591,11 @@ module Google
|
|
3591
3591
|
class User
|
3592
3592
|
include Google::Apis::Core::Hashable
|
3593
3593
|
|
3594
|
+
# Dual password status for the user.
|
3595
|
+
# Corresponds to the JSON property `dualPasswordType`
|
3596
|
+
# @return [String]
|
3597
|
+
attr_accessor :dual_password_type
|
3598
|
+
|
3594
3599
|
# This field is deprecated and will be removed from a future version of the API.
|
3595
3600
|
# Corresponds to the JSON property `etag`
|
3596
3601
|
# @return [String]
|
@@ -3656,6 +3661,7 @@ module Google
|
|
3656
3661
|
|
3657
3662
|
# Update properties of this object
|
3658
3663
|
def update!(**args)
|
3664
|
+
@dual_password_type = args[:dual_password_type] if args.key?(:dual_password_type)
|
3659
3665
|
@etag = args[:etag] if args.key?(:etag)
|
3660
3666
|
@host = args[:host] if args.key?(:host)
|
3661
3667
|
@instance = args[:instance] if args.key?(:instance)
|
@@ -3684,6 +3690,13 @@ module Google
|
|
3684
3690
|
attr_accessor :enable_failed_attempts_check
|
3685
3691
|
alias_method :enable_failed_attempts_check?, :enable_failed_attempts_check
|
3686
3692
|
|
3693
|
+
# If true, the user must specify the current password before changing the
|
3694
|
+
# password. This flag is supported only for MySQL.
|
3695
|
+
# Corresponds to the JSON property `enablePasswordVerification`
|
3696
|
+
# @return [Boolean]
|
3697
|
+
attr_accessor :enable_password_verification
|
3698
|
+
alias_method :enable_password_verification?, :enable_password_verification
|
3699
|
+
|
3687
3700
|
# Expiration duration after password is updated.
|
3688
3701
|
# Corresponds to the JSON property `passwordExpirationDuration`
|
3689
3702
|
# @return [String]
|
@@ -3702,6 +3715,7 @@ module Google
|
|
3702
3715
|
def update!(**args)
|
3703
3716
|
@allowed_failed_attempts = args[:allowed_failed_attempts] if args.key?(:allowed_failed_attempts)
|
3704
3717
|
@enable_failed_attempts_check = args[:enable_failed_attempts_check] if args.key?(:enable_failed_attempts_check)
|
3718
|
+
@enable_password_verification = args[:enable_password_verification] if args.key?(:enable_password_verification)
|
3705
3719
|
@password_expiration_duration = args[:password_expiration_duration] if args.key?(:password_expiration_duration)
|
3706
3720
|
@status = args[:status] if args.key?(:status)
|
3707
3721
|
end
|
@@ -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.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220623"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1502,6 +1502,7 @@ module Google
|
|
1502
1502
|
class User
|
1503
1503
|
# @private
|
1504
1504
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1505
|
+
property :dual_password_type, as: 'dualPasswordType'
|
1505
1506
|
property :etag, as: 'etag'
|
1506
1507
|
property :host, as: 'host'
|
1507
1508
|
property :instance, as: 'instance'
|
@@ -1522,6 +1523,7 @@ module Google
|
|
1522
1523
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1523
1524
|
property :allowed_failed_attempts, as: 'allowedFailedAttempts'
|
1524
1525
|
property :enable_failed_attempts_check, as: 'enableFailedAttemptsCheck'
|
1526
|
+
property :enable_password_verification, as: 'enablePasswordVerification'
|
1525
1527
|
property :password_expiration_duration, as: 'passwordExpirationDuration'
|
1526
1528
|
property :status, as: 'status', class: Google::Apis::SqladminV1beta4::PasswordStatus, decorator: Google::Apis::SqladminV1beta4::PasswordStatus::Representation
|
1527
1529
|
|
@@ -1727,6 +1727,43 @@ module Google
|
|
1727
1727
|
execute_or_queue_command(command, &block)
|
1728
1728
|
end
|
1729
1729
|
|
1730
|
+
# Retrieves a resource containing information about a user.
|
1731
|
+
# @param [String] project
|
1732
|
+
# Project ID of the project that contains the instance.
|
1733
|
+
# @param [String] instance
|
1734
|
+
# Database instance ID. This does not include the project ID.
|
1735
|
+
# @param [String] name
|
1736
|
+
# User of the instance. If the database user has a host, this is specified as `
|
1737
|
+
# username`@`host` else as `username`.
|
1738
|
+
# @param [String] fields
|
1739
|
+
# Selector specifying which fields to include in a partial response.
|
1740
|
+
# @param [String] quota_user
|
1741
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1742
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1743
|
+
# @param [Google::Apis::RequestOptions] options
|
1744
|
+
# Request-specific options
|
1745
|
+
#
|
1746
|
+
# @yield [result, err] Result & error if block supplied
|
1747
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::User] parsed result object
|
1748
|
+
# @yieldparam err [StandardError] error object if request failed
|
1749
|
+
#
|
1750
|
+
# @return [Google::Apis::SqladminV1beta4::User]
|
1751
|
+
#
|
1752
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1753
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1754
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1755
|
+
def get_user(project, instance, name, fields: nil, quota_user: nil, options: nil, &block)
|
1756
|
+
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/users/{name}', options)
|
1757
|
+
command.response_representation = Google::Apis::SqladminV1beta4::User::Representation
|
1758
|
+
command.response_class = Google::Apis::SqladminV1beta4::User
|
1759
|
+
command.params['project'] = project unless project.nil?
|
1760
|
+
command.params['instance'] = instance unless instance.nil?
|
1761
|
+
command.params['name'] = name unless name.nil?
|
1762
|
+
command.query['fields'] = fields unless fields.nil?
|
1763
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1764
|
+
execute_or_queue_command(command, &block)
|
1765
|
+
end
|
1766
|
+
|
1730
1767
|
# Creates a new user in a Cloud SQL instance.
|
1731
1768
|
# @param [String] project
|
1732
1769
|
# Project ID of the project that contains the instance.
|
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.32.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: 2022-07-
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.32.0
|
62
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: []
|