google-apis-sqladmin_v1 0.40.0 → 0.42.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: 4c2c3450ce9260e1e4ef9f2c273c78f3f7da729b66960882f5d9a28b62655a0e
4
- data.tar.gz: 4fdf41e5227ca48a51ad82c42c33737208211fd3a7f3e5ca0de48d924afd0801
3
+ metadata.gz: 3d3c812af3ca84ecf836384fb9a1992e521d8b3cd097d7a6119d533d0776278a
4
+ data.tar.gz: be9c2b7736a7d39c620be584f5dac77084f0a731a6643a9d407e27091558e51b
5
5
  SHA512:
6
- metadata.gz: '0587cec5feb0f5503fb52af5cdcc7a42b867eeca18e906f3859aa9036148a08b1845bd84bd9633bd17646f78337973551542ca143cea915df36804725ed2afbd'
7
- data.tar.gz: c6b504e7f60953aa1ab56b24ef80b40bcd0a5e76386fce14ae467cbc810fb47dd7d558b2e91fd082ac3ba894ba084207e73283f8be22cb44afcf01311fc1b312
6
+ metadata.gz: 6dcaa77996b6bf3029f5415b55cb52f0c77ecaf13da646f64d89a7749ca5174ec1eee298350a4acae5c11c40d4163ba1c5cad684a06508edbd0658fefc7d3cda
7
+ data.tar.gz: 5e332c224d98484f6182f3fe0a0a2fbef84c8d02c1703f7db9a4351a9361a3cd837ff8c454b5b5b28a944cb91c12f4c639df7514e02b7e6aa8933781b081ce6a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.41.0 (2023-07-16)
8
+
9
+ * Regenerated from discovery document revision 20230710
10
+
3
11
  ### v0.40.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230627
@@ -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)
@@ -1753,6 +1772,18 @@ module Google
1753
1772
  attr_accessor :recovery_only
1754
1773
  alias_method :recovery_only?, :recovery_only
1755
1774
 
1775
+ # Optional. StopAt keyword for transaction log import, Applies to Cloud SQL for
1776
+ # SQL Server only
1777
+ # Corresponds to the JSON property `stopAt`
1778
+ # @return [String]
1779
+ attr_accessor :stop_at
1780
+
1781
+ # Optional. StopAtMark keyword for transaction log import, Applies to Cloud SQL
1782
+ # for SQL Server only
1783
+ # Corresponds to the JSON property `stopAtMark`
1784
+ # @return [String]
1785
+ attr_accessor :stop_at_mark
1786
+
1756
1787
  # Whether or not the backup set being restored is striped. Applies only to Cloud
1757
1788
  # SQL for SQL Server.
1758
1789
  # Corresponds to the JSON property `striped`
@@ -1770,6 +1801,8 @@ module Google
1770
1801
  @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
1771
1802
  @no_recovery = args[:no_recovery] if args.key?(:no_recovery)
1772
1803
  @recovery_only = args[:recovery_only] if args.key?(:recovery_only)
1804
+ @stop_at = args[:stop_at] if args.key?(:stop_at)
1805
+ @stop_at_mark = args[:stop_at_mark] if args.key?(:stop_at_mark)
1773
1806
  @striped = args[:striped] if args.key?(:striped)
1774
1807
  end
1775
1808
 
@@ -2229,6 +2262,11 @@ module Google
2229
2262
  # @return [String]
2230
2263
  attr_accessor :private_network
2231
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
+
2232
2270
  # Whether SSL connections over IP are enforced or not.
2233
2271
  # Corresponds to the JSON property `requireSsl`
2234
2272
  # @return [Boolean]
@@ -2246,6 +2284,7 @@ module Google
2246
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)
2247
2285
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2248
2286
  @private_network = args[:private_network] if args.key?(:private_network)
2287
+ @psc_config = args[:psc_config] if args.key?(:psc_config)
2249
2288
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2250
2289
  end
2251
2290
  end
@@ -2903,6 +2942,35 @@ module Google
2903
2942
  end
2904
2943
  end
2905
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
+
2906
2974
  # Read-replica configuration for connecting to the primary instance.
2907
2975
  class ReplicaConfiguration
2908
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.40.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 = "20230627"
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
 
@@ -1050,6 +1059,8 @@ module Google
1050
1059
 
1051
1060
  property :no_recovery, as: 'noRecovery'
1052
1061
  property :recovery_only, as: 'recoveryOnly'
1062
+ property :stop_at, as: 'stopAt'
1063
+ property :stop_at_mark, as: 'stopAtMark'
1053
1064
  property :striped, as: 'striped'
1054
1065
  end
1055
1066
 
@@ -1199,6 +1210,8 @@ module Google
1199
1210
  property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
1200
1211
  property :ipv4_enabled, as: 'ipv4Enabled'
1201
1212
  property :private_network, as: 'privateNetwork'
1213
+ property :psc_config, as: 'pscConfig', class: Google::Apis::SqladminV1::PscConfig, decorator: Google::Apis::SqladminV1::PscConfig::Representation
1214
+
1202
1215
  property :require_ssl, as: 'requireSsl'
1203
1216
  end
1204
1217
  end
@@ -1367,6 +1380,14 @@ module Google
1367
1380
  end
1368
1381
  end
1369
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
+
1370
1391
  class ReplicaConfiguration
1371
1392
  # @private
1372
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.40.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-02 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.40.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: []