google-apis-sqladmin_v1 0.41.0 → 0.42.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: 501f5fff8e06df8cb38b28f83f42f88e78e040c6dce8f3732e95843d063165dd
4
- data.tar.gz: 526baacc2d39920012bea242f4e299bf18c4a5407e6505475b72085f4eebf448
3
+ metadata.gz: 3d3c812af3ca84ecf836384fb9a1992e521d8b3cd097d7a6119d533d0776278a
4
+ data.tar.gz: be9c2b7736a7d39c620be584f5dac77084f0a731a6643a9d407e27091558e51b
5
5
  SHA512:
6
- metadata.gz: 86a546b986a5d2e74aa8bbcf20719326921a89fb13c0990b2d89c664421a84e778a810e3de34bb5f7b97d5165fed0ad69237796691793cff786a4852af7b95cb
7
- data.tar.gz: c04864c4812e354e536471556a023e59b513696a7ac879e2659b1fc85c79cd41f921d3be5773f7815063fad2a5ef135942b604c7918a06d0042570f87c89c7c8
6
+ metadata.gz: 6dcaa77996b6bf3029f5415b55cb52f0c77ecaf13da646f64d89a7749ca5174ec1eee298350a4acae5c11c40d4163ba1c5cad684a06508edbd0658fefc7d3cda
7
+ data.tar.gz: 5e332c224d98484f6182f3fe0a0a2fbef84c8d02c1703f7db9a4351a9361a3cd837ff8c454b5b5b28a944cb91c12f4c639df7514e02b7e6aa8933781b081ce6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.42.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230721
6
+
3
7
  ### v0.41.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. 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`
@@ -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)
@@ -2243,6 +2262,11 @@ module Google
2243
2262
  # @return [String]
2244
2263
  attr_accessor :private_network
2245
2264
 
2265
+ # PSC settings for a Cloud SQL instance.
2266
+ # Corresponds to the JSON property `pscConfig`
2267
+ # @return [Google::Apis::SqladminV1::PscConfig]
2268
+ attr_accessor :psc_config
2269
+
2246
2270
  # Whether SSL connections over IP are enforced or not.
2247
2271
  # Corresponds to the JSON property `requireSsl`
2248
2272
  # @return [Boolean]
@@ -2260,6 +2284,7 @@ module Google
2260
2284
  @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
2285
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2262
2286
  @private_network = args[:private_network] if args.key?(:private_network)
2287
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
2263
2288
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2264
2289
  end
2265
2290
  end
@@ -2917,6 +2942,35 @@ module Google
2917
2942
  end
2918
2943
  end
2919
2944
 
2945
+ # PSC settings for a Cloud SQL instance.
2946
+ class PscConfig
2947
+ include Google::Apis::Core::Hashable
2948
+
2949
+ # List of consumer projects that are allow-listed for PSC connections to this
2950
+ # instance. This instance can be connected to with PSC from any network in these
2951
+ # projects. Each consumer project in this list may be represented by a project
2952
+ # number (numeric) or by a project id (alphanumeric).
2953
+ # Corresponds to the JSON property `allowedConsumerProjects`
2954
+ # @return [Array<String>]
2955
+ attr_accessor :allowed_consumer_projects
2956
+
2957
+ # Whether PSC connectivity is enabled for this instance.
2958
+ # Corresponds to the JSON property `pscEnabled`
2959
+ # @return [Boolean]
2960
+ attr_accessor :psc_enabled
2961
+ alias_method :psc_enabled?, :psc_enabled
2962
+
2963
+ def initialize(**args)
2964
+ update!(**args)
2965
+ end
2966
+
2967
+ # Update properties of this object
2968
+ def update!(**args)
2969
+ @allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
2970
+ @psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
2971
+ end
2972
+ end
2973
+
2920
2974
  # Read-replica configuration for connecting to the primary instance.
2921
2975
  class ReplicaConfiguration
2922
2976
  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.42.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::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
 
@@ -820,6 +828,7 @@ module Google
820
828
  property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1::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::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::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::SqladminV1::PscConfig, decorator: Google::Apis::SqladminV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.42.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_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.42.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: []