google-apis-sqladmin_v1beta4 0.53.0 → 0.55.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5b226d8113f0e82e61c74a72c8a4c0aaa57660abedf44471fb6782034dd4cbc
4
- data.tar.gz: 1ff5581642e8025483ebe2a9b476ce97456dec529e0d0dc3e893580e1d11b0a4
3
+ metadata.gz: 6f831ddc53f19977ea48b0487da72fa48210e84ee0d35fc355e139825256fad2
4
+ data.tar.gz: bf9570a1036540d018ad00200902f2937b712616acb999a0b5068fd4d7c9d4e4
5
5
  SHA512:
6
- metadata.gz: 1522241cf3d3ad90c92a9e0f1d2600584bf5db605f2374b204894a4cf9b1d1d092dc7ad829061da7224250bbd940c69c2874b267a0925cb4e8fe4741856f8664
7
- data.tar.gz: fc5a54c8212496926e2cabc0ffe79d3132e8b52d2d0d682b52d67cf85d34ac0897d9fb3ceabc389065d7de25f9d781c99a2bbe4b4df7c9acd81a5bc79d3694a7
6
+ metadata.gz: 9a26cebc05914e04d4cb81843fef078d9decb1119cf9d0baed272f043a581ea806feecc3e280707cfeecb0e8790610df5d68bf175565175d484bce1b666003ed
7
+ data.tar.gz: 500b952e707c871f73c7a40c741edd73e26a589f8da844d5fa7f336ee82a22def322d4158e696ab2b42704c3512dc0bbf27b1c369fcf9c0e35d291b522741fe6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.55.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230831
6
+
7
+ ### v0.54.0 (2023-08-03)
8
+
9
+ * Regenerated from discovery document revision 20230721
10
+
3
11
  ### v0.53.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. e.g. `us-central1`, `europe-west1`. The
563
569
  # 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::SqladminV1beta4::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::SqladminV1beta4::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)
@@ -2244,6 +2269,11 @@ module Google
2244
2269
  # @return [String]
2245
2270
  attr_accessor :private_network
2246
2271
 
2272
+ # PSC settings for a Cloud SQL instance.
2273
+ # Corresponds to the JSON property `pscConfig`
2274
+ # @return [Google::Apis::SqladminV1beta4::PscConfig]
2275
+ attr_accessor :psc_config
2276
+
2247
2277
  # Whether SSL connections over IP are enforced or not.
2248
2278
  # Corresponds to the JSON property `requireSsl`
2249
2279
  # @return [Boolean]
@@ -2261,6 +2291,7 @@ module Google
2261
2291
  @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)
2262
2292
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2263
2293
  @private_network = args[:private_network] if args.key?(:private_network)
2294
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
2264
2295
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2265
2296
  end
2266
2297
  end
@@ -2319,7 +2350,8 @@ module Google
2319
2350
  attr_accessor :kind
2320
2351
 
2321
2352
  # The preferred Compute Engine zone for the secondary/failover (for example: us-
2322
- # central1-a, us-central1-b, etc.).
2353
+ # central1-a, us-central1-b, etc.). To disable this field, set it to '
2354
+ # no_secondary_zone'.
2323
2355
  # Corresponds to the JSON property `secondaryZone`
2324
2356
  # @return [String]
2325
2357
  attr_accessor :secondary_zone
@@ -2918,6 +2950,35 @@ module Google
2918
2950
  end
2919
2951
  end
2920
2952
 
2953
+ # PSC settings for a Cloud SQL instance.
2954
+ class PscConfig
2955
+ include Google::Apis::Core::Hashable
2956
+
2957
+ # List of consumer projects that are allow-listed for PSC connections to this
2958
+ # instance. This instance can be connected to with PSC from any network in these
2959
+ # projects. Each consumer project in this list may be represented by a project
2960
+ # number (numeric) or by a project id (alphanumeric).
2961
+ # Corresponds to the JSON property `allowedConsumerProjects`
2962
+ # @return [Array<String>]
2963
+ attr_accessor :allowed_consumer_projects
2964
+
2965
+ # Whether PSC connectivity is enabled for this instance.
2966
+ # Corresponds to the JSON property `pscEnabled`
2967
+ # @return [Boolean]
2968
+ attr_accessor :psc_enabled
2969
+ alias_method :psc_enabled?, :psc_enabled
2970
+
2971
+ def initialize(**args)
2972
+ update!(**args)
2973
+ end
2974
+
2975
+ # Update properties of this object
2976
+ def update!(**args)
2977
+ @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2978
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2979
+ end
2980
+ end
2981
+
2921
2982
  # Read-replica configuration for connecting to the primary instance.
2922
2983
  class ReplicaConfiguration
2923
2984
  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.53.0"
19
+ GEM_VERSION = "0.55.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::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
756
763
 
@@ -802,6 +809,7 @@ module Google
802
809
 
803
810
  property :disk_encryption_status, as: 'diskEncryptionStatus', class: Google::Apis::SqladminV1beta4::DiskEncryptionStatus, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::PscConfig, decorator: Google::Apis::SqladminV1beta4::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_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.55.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_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.55.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: []
@@ -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 V1beta4