google-apis-sqladmin_v1 0.98.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/sqladmin_v1/classes.rb +35 -11
- data/lib/google/apis/sqladmin_v1/gem_version.rb +3 -3
- data/lib/google/apis/sqladmin_v1/representations.rb +3 -0
- data/lib/google/apis/sqladmin_v1/service.rb +35 -1
- data/lib/google/apis/sqladmin_v1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e8b52b8bca990f82299f7265ed5ad85df6617427a8a707441fec5b4f3ad6a16
|
|
4
|
+
data.tar.gz: 47050ca4a018ba3fdaf7e5c8c214d4b936ae380bbec7e4a103f8fe6d7434aef7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87c11b48771fb420bc4c99c01bb381f6118cb72b1574af13a3757dfa77850f239914e4ed2a637bc97737a342cf15d4ad19ca7cdbafd69f380b93a8c4c05db0a5
|
|
7
|
+
data.tar.gz: 74c68d224cbfa50914388e7d76a7f346c341fb9e7a1291e79f6e3f635873ceb4975e5c0eb916ddb90a1e8158bbaccfe7029fbeb244720abde8281f1f3782cdca
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
|
2
2
|
|
|
3
|
+
### v0.99.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260529
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.98.0 (2026-05-17)
|
|
4
9
|
|
|
5
10
|
* Regenerated from discovery document revision 20260510
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/sql/docs) may provide guida
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -752,7 +752,7 @@ module Google
|
|
|
752
752
|
attr_accessor :destination_instance_name
|
|
753
753
|
|
|
754
754
|
# Optional. The fully qualified URI of the VPC network to which the cloned
|
|
755
|
-
# instance will be connected via
|
|
755
|
+
# instance will be connected via private services access for private IP. For
|
|
756
756
|
# example:`projects/my-network-project/global/networks/my-network`. This field
|
|
757
757
|
# is only required for cross-project cloning.
|
|
758
758
|
# Corresponds to the JSON property `destinationNetwork`
|
|
@@ -4718,6 +4718,19 @@ module Google
|
|
|
4718
4718
|
# @return [String]
|
|
4719
4719
|
attr_accessor :ip_address
|
|
4720
4720
|
|
|
4721
|
+
# Output only. The service connection policy created automatically for the
|
|
4722
|
+
# consumer network when `psc_auto_connection_policy_enabled` is true. It is in
|
|
4723
|
+
# the format of: `projects/`project`/regions/`region`/serviceConnectionPolicies/`
|
|
4724
|
+
# policy_id`` The `policy_id` is in format of `$NETWORK-$RANDOM`.
|
|
4725
|
+
# Corresponds to the JSON property `serviceConnectionPolicy`
|
|
4726
|
+
# @return [String]
|
|
4727
|
+
attr_accessor :service_connection_policy
|
|
4728
|
+
|
|
4729
|
+
# Output only. The status of service connection policy creation.
|
|
4730
|
+
# Corresponds to the JSON property `serviceConnectionPolicyCreationResult`
|
|
4731
|
+
# @return [String]
|
|
4732
|
+
attr_accessor :service_connection_policy_creation_result
|
|
4733
|
+
|
|
4721
4734
|
# The connection status of the consumer endpoint.
|
|
4722
4735
|
# Corresponds to the JSON property `status`
|
|
4723
4736
|
# @return [String]
|
|
@@ -4733,6 +4746,8 @@ module Google
|
|
|
4733
4746
|
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
|
4734
4747
|
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
|
4735
4748
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
4749
|
+
@service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy)
|
|
4750
|
+
@service_connection_policy_creation_result = args[:service_connection_policy_creation_result] if args.key?(:service_connection_policy_creation_result)
|
|
4736
4751
|
@status = args[:status] if args.key?(:status)
|
|
4737
4752
|
end
|
|
4738
4753
|
end
|
|
@@ -4756,16 +4771,23 @@ module Google
|
|
|
4756
4771
|
# @return [String]
|
|
4757
4772
|
attr_accessor :network_attachment_uri
|
|
4758
4773
|
|
|
4774
|
+
# Optional. Whether to set up the PSC service connection policy automatically.
|
|
4775
|
+
# Corresponds to the JSON property `pscAutoConnectionPolicyEnabled`
|
|
4776
|
+
# @return [Boolean]
|
|
4777
|
+
attr_accessor :psc_auto_connection_policy_enabled
|
|
4778
|
+
alias_method :psc_auto_connection_policy_enabled?, :psc_auto_connection_policy_enabled
|
|
4779
|
+
|
|
4759
4780
|
# Optional. The list of settings for requested Private Service Connect consumer
|
|
4760
4781
|
# endpoints that can be used to connect to this Cloud SQL instance.
|
|
4761
4782
|
# Corresponds to the JSON property `pscAutoConnections`
|
|
4762
4783
|
# @return [Array<Google::Apis::SqladminV1::PscAutoConnectionConfig>]
|
|
4763
4784
|
attr_accessor :psc_auto_connections
|
|
4764
4785
|
|
|
4765
|
-
# Optional. Indicates whether
|
|
4766
|
-
# When enabled, Cloud SQL provisions a universal DNS record
|
|
4767
|
-
# configured with Private Service Connect
|
|
4768
|
-
# default to true for new instances when Private Service Connect is
|
|
4786
|
+
# Optional. Indicates whether Private Service Connect DNS automation is enabled
|
|
4787
|
+
# for this instance. When enabled, Cloud SQL provisions a universal DNS record
|
|
4788
|
+
# across all networks configured with Private Service Connect auto-connections.
|
|
4789
|
+
# This will default to true for new instances when Private Service Connect is
|
|
4790
|
+
# enabled.
|
|
4769
4791
|
# Corresponds to the JSON property `pscAutoDnsEnabled`
|
|
4770
4792
|
# @return [Boolean]
|
|
4771
4793
|
attr_accessor :psc_auto_dns_enabled
|
|
@@ -4777,12 +4799,13 @@ module Google
|
|
|
4777
4799
|
attr_accessor :psc_enabled
|
|
4778
4800
|
alias_method :psc_enabled?, :psc_enabled
|
|
4779
4801
|
|
|
4780
|
-
# Optional. Indicates whether
|
|
4781
|
-
# this instance. When enabled, Cloud SQL provisions a
|
|
4782
|
-
# record across all networks configured with Private
|
|
4783
|
-
# connections that
|
|
4784
|
-
# is only supported for Enterprise Plus edition. This will default
|
|
4785
|
-
# new Enterprise Plus instances when `psc_auto_dns_enabled` is
|
|
4802
|
+
# Optional. Indicates whether Private Service Connect write endpoint DNS
|
|
4803
|
+
# automation is enabled for this instance. When enabled, Cloud SQL provisions a
|
|
4804
|
+
# universal global DNS record across all networks configured with Private
|
|
4805
|
+
# Service Connect auto-connections that points to the cluster primary instance.
|
|
4806
|
+
# This feature is only supported for Enterprise Plus edition. This will default
|
|
4807
|
+
# to true for new Enterprise Plus instances when `psc_auto_dns_enabled` is
|
|
4808
|
+
# enabled.
|
|
4786
4809
|
# Corresponds to the JSON property `pscWriteEndpointDnsEnabled`
|
|
4787
4810
|
# @return [Boolean]
|
|
4788
4811
|
attr_accessor :psc_write_endpoint_dns_enabled
|
|
@@ -4796,6 +4819,7 @@ module Google
|
|
|
4796
4819
|
def update!(**args)
|
|
4797
4820
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
|
4798
4821
|
@network_attachment_uri = args[:network_attachment_uri] if args.key?(:network_attachment_uri)
|
|
4822
|
+
@psc_auto_connection_policy_enabled = args[:psc_auto_connection_policy_enabled] if args.key?(:psc_auto_connection_policy_enabled)
|
|
4799
4823
|
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
|
4800
4824
|
@psc_auto_dns_enabled = args[:psc_auto_dns_enabled] if args.key?(:psc_auto_dns_enabled)
|
|
4801
4825
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.99.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260529"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2115,6 +2115,8 @@ module Google
|
|
|
2115
2115
|
property :consumer_network_status, as: 'consumerNetworkStatus'
|
|
2116
2116
|
property :consumer_project, as: 'consumerProject'
|
|
2117
2117
|
property :ip_address, as: 'ipAddress'
|
|
2118
|
+
property :service_connection_policy, as: 'serviceConnectionPolicy'
|
|
2119
|
+
property :service_connection_policy_creation_result, as: 'serviceConnectionPolicyCreationResult'
|
|
2118
2120
|
property :status, as: 'status'
|
|
2119
2121
|
end
|
|
2120
2122
|
end
|
|
@@ -2124,6 +2126,7 @@ module Google
|
|
|
2124
2126
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2125
2127
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
|
2126
2128
|
property :network_attachment_uri, as: 'networkAttachmentUri'
|
|
2129
|
+
property :psc_auto_connection_policy_enabled, as: 'pscAutoConnectionPolicyEnabled'
|
|
2127
2130
|
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1::PscAutoConnectionConfig::Representation
|
|
2128
2131
|
|
|
2129
2132
|
property :psc_auto_dns_enabled, as: 'pscAutoDnsEnabled'
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module SqladminV1
|
|
23
23
|
# Cloud SQL Admin API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
25
|
+
# Cloud SQL Admin API
|
|
26
26
|
#
|
|
27
27
|
# @example
|
|
28
28
|
# require 'google/apis/sqladmin_v1'
|
|
@@ -461,6 +461,40 @@ module Google
|
|
|
461
461
|
execute_or_queue_command(command, &block)
|
|
462
462
|
end
|
|
463
463
|
|
|
464
|
+
# Retrieves connect settings about a Cloud SQL instance using the instance DNS
|
|
465
|
+
# name.
|
|
466
|
+
# @param [String] dns_name
|
|
467
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
468
|
+
# @param [String] location
|
|
469
|
+
# Required. The region of the instance.
|
|
470
|
+
# @param [String] fields
|
|
471
|
+
# Selector specifying which fields to include in a partial response.
|
|
472
|
+
# @param [String] quota_user
|
|
473
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
474
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
475
|
+
# @param [Google::Apis::RequestOptions] options
|
|
476
|
+
# Request-specific options
|
|
477
|
+
#
|
|
478
|
+
# @yield [result, err] Result & error if block supplied
|
|
479
|
+
# @yieldparam result [Google::Apis::SqladminV1::ConnectSettings] parsed result object
|
|
480
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
481
|
+
#
|
|
482
|
+
# @return [Google::Apis::SqladminV1::ConnectSettings]
|
|
483
|
+
#
|
|
484
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
485
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
486
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
487
|
+
def resolve_connect(dns_name, location, fields: nil, quota_user: nil, options: nil, &block)
|
|
488
|
+
command = make_simple_command(:get, 'v1/dns/{dnsName}/locations/{location}:resolveConnectSettings', options)
|
|
489
|
+
command.response_representation = Google::Apis::SqladminV1::ConnectSettings::Representation
|
|
490
|
+
command.response_class = Google::Apis::SqladminV1::ConnectSettings
|
|
491
|
+
command.params['dnsName'] = dns_name unless dns_name.nil?
|
|
492
|
+
command.params['location'] = location unless location.nil?
|
|
493
|
+
command.query['fields'] = fields unless fields.nil?
|
|
494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
495
|
+
execute_or_queue_command(command, &block)
|
|
496
|
+
end
|
|
497
|
+
|
|
464
498
|
# Deletes a database from a Cloud SQL instance.
|
|
465
499
|
# @param [String] project
|
|
466
500
|
# Project ID of the project that contains the instance.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-sqladmin_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.99.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.99.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|