google-apis-sqladmin_v1 0.41.0 → 0.43.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: 501f5fff8e06df8cb38b28f83f42f88e78e040c6dce8f3732e95843d063165dd
4
- data.tar.gz: 526baacc2d39920012bea242f4e299bf18c4a5407e6505475b72085f4eebf448
3
+ metadata.gz: ed996052ee62c4a7495de29d2cf9ad58f0a028f067ec3dd442b938f6a86cab58
4
+ data.tar.gz: 5c1ed594319353b40d311f4282ec9633872ee6b60d6bd6656cef699add19af4e
5
5
  SHA512:
6
- metadata.gz: 86a546b986a5d2e74aa8bbcf20719326921a89fb13c0990b2d89c664421a84e778a810e3de34bb5f7b97d5165fed0ad69237796691793cff786a4852af7b95cb
7
- data.tar.gz: c04864c4812e354e536471556a023e59b513696a7ac879e2659b1fc85c79cd41f921d3be5773f7815063fad2a5ef135942b604c7918a06d0042570f87c89c7c8
6
+ metadata.gz: bd01320016b012fd6fd2a859f5b3c30a82e57b58750f5b819f3e7b1b9b4f981017ac961346d8e7c55ec70709d415763c6ddb9f6d976760d955d1569d9ef491b7
7
+ data.tar.gz: aa092305b5a75a3dec4cb8d40c20dbdd07f258014fb0205ef889e129e8ddb2f581ec0eec96021fa75782ebaef1121aa076e54655f8714482e43e2f734eb07c8e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.43.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
7
+ ### v0.42.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230721
10
+
3
11
  ### v0.41.0 (2023-07-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20230710
@@ -559,6 +559,12 @@ module Google
559
559
  # @return [String]
560
560
  attr_accessor :kind
561
561
 
562
+ # Whether PSC connectivity is enabled for this instance.
563
+ # Corresponds to the JSON property `pscEnabled`
564
+ # @return [Boolean]
565
+ attr_accessor :psc_enabled
566
+ alias_method :psc_enabled?, :psc_enabled
567
+
562
568
  # The cloud region for the instance. For example, `us-central1`, `europe-west1`.
563
569
  # The region cannot be changed after instance creation.
564
570
  # Corresponds to the JSON property `region`
@@ -581,6 +587,7 @@ module Google
581
587
  @dns_name = args[:dns_name] if args.key?(:dns_name)
582
588
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
583
589
  @kind = args[:kind] if args.key?(:kind)
590
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
584
591
  @region = args[:region] if args.key?(:region)
585
592
  @server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
586
593
  end
@@ -762,6 +769,11 @@ module Google
762
769
  # @return [Google::Apis::SqladminV1::DiskEncryptionStatus]
763
770
  attr_accessor :disk_encryption_status
764
771
 
772
+ # Output only. The dns name of the instance.
773
+ # Corresponds to the JSON property `dnsName`
774
+ # @return [String]
775
+ attr_accessor :dns_name
776
+
765
777
  # This field is deprecated and will be removed from a future version of the API.
766
778
  # Use the `settings.settingsVersion` field instead.
767
779
  # Corresponds to the JSON property `etag`
@@ -832,12 +844,22 @@ module Google
832
844
  # @return [Google::Apis::SqladminV1::SqlOutOfDiskReport]
833
845
  attr_accessor :out_of_disk_report
834
846
 
847
+ # Output only. The dns name of the primary instance in a replication group.
848
+ # Corresponds to the JSON property `primaryDnsName`
849
+ # @return [String]
850
+ attr_accessor :primary_dns_name
851
+
835
852
  # The project ID of the project containing the Cloud SQL instance. The Google
836
853
  # apps domain is prefixed if applicable.
837
854
  # Corresponds to the JSON property `project`
838
855
  # @return [String]
839
856
  attr_accessor :project
840
857
 
858
+ # Output only. The link to service attachment of PSC instance.
859
+ # Corresponds to the JSON property `pscServiceAttachmentLink`
860
+ # @return [String]
861
+ attr_accessor :psc_service_attachment_link
862
+
841
863
  # The geographical region. Can be: * `us-central` (`FIRST_GEN` instances only) *
842
864
  # `us-central1` (`SECOND_GEN` instances only) * `asia-east1` or `europe-west1`.
843
865
  # Defaults to `us-central` or `us-central1` depending on the instance type. The
@@ -927,6 +949,7 @@ module Google
927
949
  @database_version = args[:database_version] if args.key?(:database_version)
928
950
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
929
951
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
952
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
930
953
  @etag = args[:etag] if args.key?(:etag)
931
954
  @failover_replica = args[:failover_replica] if args.key?(:failover_replica)
932
955
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
@@ -940,7 +963,9 @@ module Google
940
963
  @name = args[:name] if args.key?(:name)
941
964
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
942
965
  @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
966
+ @primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
943
967
  @project = args[:project] if args.key?(:project)
968
+ @psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
944
969
  @region = args[:region] if args.key?(:region)
945
970
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
946
971
  @replica_names = args[:replica_names] if args.key?(:replica_names)
@@ -2243,6 +2268,11 @@ module Google
2243
2268
  # @return [String]
2244
2269
  attr_accessor :private_network
2245
2270
 
2271
+ # PSC settings for a Cloud SQL instance.
2272
+ # Corresponds to the JSON property `pscConfig`
2273
+ # @return [Google::Apis::SqladminV1::PscConfig]
2274
+ attr_accessor :psc_config
2275
+
2246
2276
  # Whether SSL connections over IP are enforced or not.
2247
2277
  # Corresponds to the JSON property `requireSsl`
2248
2278
  # @return [Boolean]
@@ -2260,6 +2290,7 @@ module Google
2260
2290
  @enable_private_path_for_google_cloud_services = args[:enable_private_path_for_google_cloud_services] if args.key?(:enable_private_path_for_google_cloud_services)
2261
2291
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2262
2292
  @private_network = args[:private_network] if args.key?(:private_network)
2293
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
2263
2294
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2264
2295
  end
2265
2296
  end
@@ -2318,7 +2349,8 @@ module Google
2318
2349
  attr_accessor :kind
2319
2350
 
2320
2351
  # The preferred Compute Engine zone for the secondary/failover (for example: us-
2321
- # central1-a, us-central1-b, etc.).
2352
+ # central1-a, us-central1-b, etc.). To disable this field, set it to '
2353
+ # no_secondary_zone'.
2322
2354
  # Corresponds to the JSON property `secondaryZone`
2323
2355
  # @return [String]
2324
2356
  attr_accessor :secondary_zone
@@ -2917,6 +2949,35 @@ module Google
2917
2949
  end
2918
2950
  end
2919
2951
 
2952
+ # PSC settings for a Cloud SQL instance.
2953
+ class PscConfig
2954
+ include Google::Apis::Core::Hashable
2955
+
2956
+ # List of consumer projects that are allow-listed for PSC connections to this
2957
+ # instance. This instance can be connected to with PSC from any network in these
2958
+ # projects. Each consumer project in this list may be represented by a project
2959
+ # number (numeric) or by a project id (alphanumeric).
2960
+ # Corresponds to the JSON property `allowedConsumerProjects`
2961
+ # @return [Array<String>]
2962
+ attr_accessor :allowed_consumer_projects
2963
+
2964
+ # Whether PSC connectivity is enabled for this instance.
2965
+ # Corresponds to the JSON property `pscEnabled`
2966
+ # @return [Boolean]
2967
+ attr_accessor :psc_enabled
2968
+ alias_method :psc_enabled?, :psc_enabled
2969
+
2970
+ def initialize(**args)
2971
+ update!(**args)
2972
+ end
2973
+
2974
+ # Update properties of this object
2975
+ def update!(**args)
2976
+ @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2977
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2978
+ end
2979
+ end
2980
+
2920
2981
  # Read-replica configuration for connecting to the primary instance.
2921
2982
  class ReplicaConfiguration
2922
2983
  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.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230710"
25
+ REVISION = "20230831"
26
26
  end
27
27
  end
28
28
  end
@@ -424,6 +424,12 @@ module Google
424
424
  include Google::Apis::Core::JsonObjectSupport
425
425
  end
426
426
 
427
+ class PscConfig
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
427
433
  class ReplicaConfiguration
428
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
435
 
@@ -751,6 +757,7 @@ module Google
751
757
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
752
758
 
753
759
  property :kind, as: 'kind'
760
+ property :psc_enabled, as: 'pscEnabled'
754
761
  property :region, as: 'region'
755
762
  property :server_ca_cert, as: 'serverCaCert', class: Google::Apis::SqladminV1::SslCert, decorator: Google::Apis::SqladminV1::SslCert::Representation
756
763
 
@@ -802,6 +809,7 @@ module Google
802
809
 
803
810
  property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1::DiskEncryptionStatus::Representation
804
811
 
812
+ property :dns_name, as: 'dnsName'
805
813
  property :etag, as: 'etag'
806
814
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
807
815
 
@@ -819,7 +827,9 @@ module Google
819
827
 
820
828
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1::SqlOutOfDiskReport::Representation
821
829
 
830
+ property :primary_dns_name, as: 'primaryDnsName'
822
831
  property :project, as: 'project'
832
+ property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
823
833
  property :region, as: 'region'
824
834
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
825
835
 
@@ -1201,6 +1211,8 @@ module Google
1201
1211
  property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
1202
1212
  property :ipv4_enabled, as: 'ipv4Enabled'
1203
1213
  property :private_network, as: 'privateNetwork'
1214
+ property :psc_config, as: 'pscConfig', class: Google::Apis::SqladminV1::PscConfig, decorator: Google::Apis::SqladminV1::PscConfig::Representation
1215
+
1204
1216
  property :require_ssl, as: 'requireSsl'
1205
1217
  end
1206
1218
  end
@@ -1369,6 +1381,14 @@ module Google
1369
1381
  end
1370
1382
  end
1371
1383
 
1384
+ class PscConfig
1385
+ # @private
1386
+ class Representation < Google::Apis::Core::JsonRepresentation
1387
+ collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
1388
+ property :psc_enabled, as: 'pscEnabled'
1389
+ end
1390
+ end
1391
+
1372
1392
  class ReplicaConfiguration
1373
1393
  # @private
1374
1394
  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.41.0
4
+ version: 0.43.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: 2023-07-16 00:00:00.000000000 Z
11
+ date: 2023-09-10 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.43.0
62
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: []
@@ -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.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud SQL Admin API V1