google-apis-sqladmin_v1beta4 0.53.0 → 0.54.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: b5b226d8113f0e82e61c74a72c8a4c0aaa57660abedf44471fb6782034dd4cbc
4
- data.tar.gz: 1ff5581642e8025483ebe2a9b476ce97456dec529e0d0dc3e893580e1d11b0a4
3
+ metadata.gz: c0ac53ebb79824560db6d97353744b8221b10ae306cb3866751a810f2975874d
4
+ data.tar.gz: c02368a61a9a360b6588e941b435114fd52ac668c7c70fba4027051ef36d1450
5
5
  SHA512:
6
- metadata.gz: 1522241cf3d3ad90c92a9e0f1d2600584bf5db605f2374b204894a4cf9b1d1d092dc7ad829061da7224250bbd940c69c2874b267a0925cb4e8fe4741856f8664
7
- data.tar.gz: fc5a54c8212496926e2cabc0ffe79d3132e8b52d2d0d682b52d67cf85d34ac0897d9fb3ceabc389065d7de25f9d781c99a2bbe4b4df7c9acd81a5bc79d3694a7
6
+ metadata.gz: '007168a51fbaef3c702abaf450cf283b87c999c588fe8cedb5abd46cfedc434fc070b24d61fe932103534024248017b8f14ad3f982ec5f30697d8ebb196dc9fe'
7
+ data.tar.gz: 64466f40458095f1740efd68e0dc45f0da432c27c651c3ff6ddc799b0276624e6f7e6cc02a120010a89287d2ed3435f18b7f714d25833248d6bae3cad0a10e01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.54.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230721
6
+
3
7
  ### v0.53.0 (2023-07-16)
4
8
 
5
9
  * 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`
@@ -838,6 +850,11 @@ module Google
838
850
  # @return [String]
839
851
  attr_accessor :project
840
852
 
853
+ # Output only. The link to service attachment of PSC instance.
854
+ # Corresponds to the JSON property `pscServiceAttachmentLink`
855
+ # @return [String]
856
+ attr_accessor :psc_service_attachment_link
857
+
841
858
  # The geographical region. Can be: * `us-central` (`FIRST_GEN` instances only) *
842
859
  # `us-central1` (`SECOND_GEN` instances only) * `asia-east1` or `europe-west1`.
843
860
  # Defaults to `us-central` or `us-central1` depending on the instance type. The
@@ -927,6 +944,7 @@ module Google
927
944
  @database_version = args[:database_version] if args.key?(:database_version)
928
945
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
929
946
  @disk_encryption_status = args[:disk_encryption_status] if args.key?(:disk_encryption_status)
947
+ @dns_name = args[:dns_name] if args.key?(:dns_name)
930
948
  @etag = args[:etag] if args.key?(:etag)
931
949
  @failover_replica = args[:failover_replica] if args.key?(:failover_replica)
932
950
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
@@ -941,6 +959,7 @@ module Google
941
959
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
942
960
  @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
943
961
  @project = args[:project] if args.key?(:project)
962
+ @psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
944
963
  @region = args[:region] if args.key?(:region)
945
964
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
946
965
  @replica_names = args[:replica_names] if args.key?(:replica_names)
@@ -2244,6 +2263,11 @@ module Google
2244
2263
  # @return [String]
2245
2264
  attr_accessor :private_network
2246
2265
 
2266
+ # PSC settings for a Cloud SQL instance.
2267
+ # Corresponds to the JSON property `pscConfig`
2268
+ # @return [Google::Apis::SqladminV1beta4::PscConfig]
2269
+ attr_accessor :psc_config
2270
+
2247
2271
  # Whether SSL connections over IP are enforced or not.
2248
2272
  # Corresponds to the JSON property `requireSsl`
2249
2273
  # @return [Boolean]
@@ -2261,6 +2285,7 @@ module Google
2261
2285
  @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
2286
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2263
2287
  @private_network = args[:private_network] if args.key?(:private_network)
2288
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
2264
2289
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2265
2290
  end
2266
2291
  end
@@ -2918,6 +2943,35 @@ module Google
2918
2943
  end
2919
2944
  end
2920
2945
 
2946
+ # PSC settings for a Cloud SQL instance.
2947
+ class PscConfig
2948
+ include Google::Apis::Core::Hashable
2949
+
2950
+ # List of consumer projects that are allow-listed for PSC connections to this
2951
+ # instance. This instance can be connected to with PSC from any network in these
2952
+ # projects. Each consumer project in this list may be represented by a project
2953
+ # number (numeric) or by a project id (alphanumeric).
2954
+ # Corresponds to the JSON property `allowedConsumerProjects`
2955
+ # @return [Array<String>]
2956
+ attr_accessor :allowed_consumer_projects
2957
+
2958
+ # Whether PSC connectivity is enabled for this instance.
2959
+ # Corresponds to the JSON property `pscEnabled`
2960
+ # @return [Boolean]
2961
+ attr_accessor :psc_enabled
2962
+ alias_method :psc_enabled?, :psc_enabled
2963
+
2964
+ def initialize(**args)
2965
+ update!(**args)
2966
+ end
2967
+
2968
+ # Update properties of this object
2969
+ def update!(**args)
2970
+ @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2971
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2972
+ end
2973
+ end
2974
+
2921
2975
  # Read-replica configuration for connecting to the primary instance.
2922
2976
  class ReplicaConfiguration
2923
2977
  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.54.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 = "20230721"
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
 
@@ -820,6 +828,7 @@ module Google
820
828
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport::Representation
821
829
 
822
830
  property :project, as: 'project'
831
+ property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
823
832
  property :region, as: 'region'
824
833
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::ReplicaConfiguration::Representation
825
834
 
@@ -1201,6 +1210,8 @@ module Google
1201
1210
  property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
1202
1211
  property :ipv4_enabled, as: 'ipv4Enabled'
1203
1212
  property :private_network, as: 'privateNetwork'
1213
+ property :psc_config, as: 'pscConfig', class: Google::Apis::SqladminV1beta4::PscConfig, decorator: Google::Apis::SqladminV1beta4::PscConfig::Representation
1214
+
1204
1215
  property :require_ssl, as: 'requireSsl'
1205
1216
  end
1206
1217
  end
@@ -1369,6 +1380,14 @@ module Google
1369
1380
  end
1370
1381
  end
1371
1382
 
1383
+ class PscConfig
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
1387
+ property :psc_enabled, as: 'pscEnabled'
1388
+ end
1389
+ end
1390
+
1372
1391
  class ReplicaConfiguration
1373
1392
  # @private
1374
1393
  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.54.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-08-06 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.54.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: []