google-apis-sqladmin_v1beta4 0.101.0 → 0.102.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_v1beta4/classes.rb +35 -11
- data/lib/google/apis/sqladmin_v1beta4/gem_version.rb +3 -3
- data/lib/google/apis/sqladmin_v1beta4/representations.rb +3 -0
- data/lib/google/apis/sqladmin_v1beta4/service.rb +35 -1
- data/lib/google/apis/sqladmin_v1beta4.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: d8e7699a232dc85b4e2a949d66b817c0e46a82a88040cb292a1dc4884f81bc04
|
|
4
|
+
data.tar.gz: 2129fb6583c5b826583c9d762d953cc55973c63cd73c68ecd4baced324fd0345
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6f3952218d4b90776f76b19d8e3384b9227cb83a6c1315e72a6724333c9815f0b5aa5711d6be9b549348bfc2a8e6df0d9e46641fe1d3a7a9cd3fd08c919ef1c
|
|
7
|
+
data.tar.gz: de270da82acba22320ee002d8ac35d19407be1ff797054ab2f3743536fc33ebe9de2b0e8d3f9d2259817da2c04175e7536e3dfa11a4487504914aafc9e75ab0d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
|
2
2
|
|
|
3
|
+
### v0.102.0 (2026-06-14)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260529
|
|
6
|
+
* Regenerated using generator version 0.19.0
|
|
7
|
+
|
|
3
8
|
### v0.101.0 (2026-05-24)
|
|
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`
|
|
@@ -4719,6 +4719,19 @@ module Google
|
|
|
4719
4719
|
# @return [String]
|
|
4720
4720
|
attr_accessor :ip_address
|
|
4721
4721
|
|
|
4722
|
+
# Output only. The service connection policy created automatically for the
|
|
4723
|
+
# consumer network when `psc_auto_connection_policy_enabled` is true. It is in
|
|
4724
|
+
# the format of: `projects/`project`/regions/`region`/serviceConnectionPolicies/`
|
|
4725
|
+
# policy_id`` The `policy_id` is in format of `$NETWORK-$RANDOM`.
|
|
4726
|
+
# Corresponds to the JSON property `serviceConnectionPolicy`
|
|
4727
|
+
# @return [String]
|
|
4728
|
+
attr_accessor :service_connection_policy
|
|
4729
|
+
|
|
4730
|
+
# Output only. The status of service connection policy creation.
|
|
4731
|
+
# Corresponds to the JSON property `serviceConnectionPolicyCreationResult`
|
|
4732
|
+
# @return [String]
|
|
4733
|
+
attr_accessor :service_connection_policy_creation_result
|
|
4734
|
+
|
|
4722
4735
|
# The connection status of the consumer endpoint.
|
|
4723
4736
|
# Corresponds to the JSON property `status`
|
|
4724
4737
|
# @return [String]
|
|
@@ -4734,6 +4747,8 @@ module Google
|
|
|
4734
4747
|
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
|
4735
4748
|
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
|
4736
4749
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
4750
|
+
@service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy)
|
|
4751
|
+
@service_connection_policy_creation_result = args[:service_connection_policy_creation_result] if args.key?(:service_connection_policy_creation_result)
|
|
4737
4752
|
@status = args[:status] if args.key?(:status)
|
|
4738
4753
|
end
|
|
4739
4754
|
end
|
|
@@ -4757,16 +4772,23 @@ module Google
|
|
|
4757
4772
|
# @return [String]
|
|
4758
4773
|
attr_accessor :network_attachment_uri
|
|
4759
4774
|
|
|
4775
|
+
# Optional. Whether to set up the PSC service connection policy automatically.
|
|
4776
|
+
# Corresponds to the JSON property `pscAutoConnectionPolicyEnabled`
|
|
4777
|
+
# @return [Boolean]
|
|
4778
|
+
attr_accessor :psc_auto_connection_policy_enabled
|
|
4779
|
+
alias_method :psc_auto_connection_policy_enabled?, :psc_auto_connection_policy_enabled
|
|
4780
|
+
|
|
4760
4781
|
# Optional. The list of settings for requested Private Service Connect consumer
|
|
4761
4782
|
# endpoints that can be used to connect to this Cloud SQL instance.
|
|
4762
4783
|
# Corresponds to the JSON property `pscAutoConnections`
|
|
4763
4784
|
# @return [Array<Google::Apis::SqladminV1beta4::PscAutoConnectionConfig>]
|
|
4764
4785
|
attr_accessor :psc_auto_connections
|
|
4765
4786
|
|
|
4766
|
-
# Optional. Indicates whether
|
|
4767
|
-
# When enabled, Cloud SQL provisions a universal DNS record
|
|
4768
|
-
# configured with Private Service Connect
|
|
4769
|
-
# default to true for new instances when Private Service Connect is
|
|
4787
|
+
# Optional. Indicates whether Private Service Connect DNS automation is enabled
|
|
4788
|
+
# for this instance. When enabled, Cloud SQL provisions a universal DNS record
|
|
4789
|
+
# across all networks configured with Private Service Connect auto-connections.
|
|
4790
|
+
# This will default to true for new instances when Private Service Connect is
|
|
4791
|
+
# enabled.
|
|
4770
4792
|
# Corresponds to the JSON property `pscAutoDnsEnabled`
|
|
4771
4793
|
# @return [Boolean]
|
|
4772
4794
|
attr_accessor :psc_auto_dns_enabled
|
|
@@ -4778,12 +4800,13 @@ module Google
|
|
|
4778
4800
|
attr_accessor :psc_enabled
|
|
4779
4801
|
alias_method :psc_enabled?, :psc_enabled
|
|
4780
4802
|
|
|
4781
|
-
# Optional. Indicates whether
|
|
4782
|
-
# this instance. When enabled, Cloud SQL provisions a
|
|
4783
|
-
# record across all networks configured with Private
|
|
4784
|
-
# connections that
|
|
4785
|
-
# is only supported for Enterprise Plus edition. This will default
|
|
4786
|
-
# new enterprise plus instances when `psc_auto_dns_enabled` is
|
|
4803
|
+
# Optional. Indicates whether Private Service Connect write endpoint DNS
|
|
4804
|
+
# automation is enabled for this instance. When enabled, Cloud SQL provisions a
|
|
4805
|
+
# universal global DNS record across all networks configured with Private
|
|
4806
|
+
# Service Connect auto-connections that points to the cluster primary instance.
|
|
4807
|
+
# This feature is only supported for Enterprise Plus edition. This will default
|
|
4808
|
+
# to true for new enterprise plus instances when `psc_auto_dns_enabled` is
|
|
4809
|
+
# enabled.
|
|
4787
4810
|
# Corresponds to the JSON property `pscWriteEndpointDnsEnabled`
|
|
4788
4811
|
# @return [Boolean]
|
|
4789
4812
|
attr_accessor :psc_write_endpoint_dns_enabled
|
|
@@ -4797,6 +4820,7 @@ module Google
|
|
|
4797
4820
|
def update!(**args)
|
|
4798
4821
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
|
4799
4822
|
@network_attachment_uri = args[:network_attachment_uri] if args.key?(:network_attachment_uri)
|
|
4823
|
+
@psc_auto_connection_policy_enabled = args[:psc_auto_connection_policy_enabled] if args.key?(:psc_auto_connection_policy_enabled)
|
|
4800
4824
|
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
|
4801
4825
|
@psc_auto_dns_enabled = args[:psc_auto_dns_enabled] if args.key?(:psc_auto_dns_enabled)
|
|
4802
4826
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
|
@@ -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.102.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::SqladminV1beta4::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig::Representation
|
|
2128
2131
|
|
|
2129
2132
|
property :psc_auto_dns_enabled, as: 'pscAutoDnsEnabled'
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module SqladminV1beta4
|
|
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_v1beta4'
|
|
@@ -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::SqladminV1beta4::ConnectSettings] parsed result object
|
|
480
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
481
|
+
#
|
|
482
|
+
# @return [Google::Apis::SqladminV1beta4::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, 'sql/v1beta4/dns/{dnsName}/locations/{location}:resolveConnectSettings', options)
|
|
489
|
+
command.response_representation = Google::Apis::SqladminV1beta4::ConnectSettings::Representation
|
|
490
|
+
command.response_class = Google::Apis::SqladminV1beta4::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_v1beta4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.102.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_v1beta4/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.102.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
|
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
|
- - ">="
|