google-apis-datastream_v1 0.52.0 → 0.54.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: 51f821c6dd3f05e319784d6a1ba11d5f04e4faeceec3404c0034de60dfcec458
4
- data.tar.gz: 1031b066eddac9d3a520c629ddfcc7c7a134b0a811b928b884da45449ebccc64
3
+ metadata.gz: 7deb3a67115413cee610f0211ee0580be4546fff90d737d5f60c5fb4c867307a
4
+ data.tar.gz: fc2ce2a11db001750728a6fef2c008d13e87b1d7a66ca75c2a14908d2d7c2d00
5
5
  SHA512:
6
- metadata.gz: ccffbc1854c8d7106417edf4a47fe8ac408b2b4a2474084bdd9c766aa6cabfdf2bfbc0d9e0a409585bfe706000600297a92bc0ed8e148e0ee70391188c99a897
7
- data.tar.gz: fc5162215d61523017142c4257a5e4f35678dfbe9f62f18e73ad9aa43e7db655cbae4f0919a49824a1e5c1dea8cf8008616b6ea2f17b5b436c388c9904d094f9
6
+ metadata.gz: 1407718c68b7061a1d2a4e8f62a49ce60b7bf0cbef3ccfb959a283b0e1c1dc500c98797cfee735e622033952c875eca2538488527c495be182eeba3bafbdaf13
7
+ data.tar.gz: 8f4fa9349ac117ed8899279139536fa66101b7424a5d62f68bc55491ccd420097bfb77936d136b91517893a5e73d8f63c22296d4018ff465779cd49767b42dd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.54.0 (2025-08-03)
4
+
5
+ * Regenerated from discovery document revision 20250722
6
+
7
+ ### v0.53.0 (2025-07-20)
8
+
9
+ * Regenerated from discovery document revision 20250714
10
+
3
11
  ### v0.52.0 (2025-07-06)
4
12
 
5
13
  * Regenerated from discovery document revision 20250627
@@ -155,6 +155,21 @@ module Google
155
155
  end
156
156
  end
157
157
 
158
+ # Message to represent the option where Datastream will enforce encryption
159
+ # without authenticating server identity. Server certificates will be trusted by
160
+ # default.
161
+ class BasicEncryption
162
+ include Google::Apis::Core::Hashable
163
+
164
+ def initialize(**args)
165
+ update!(**args)
166
+ end
167
+
168
+ # Update properties of this object
169
+ def update!(**args)
170
+ end
171
+ end
172
+
158
173
  # BigQuery destination configuration
159
174
  class BigQueryDestinationConfig
160
175
  include Google::Apis::Core::Hashable
@@ -699,6 +714,54 @@ module Google
699
714
  end
700
715
  end
701
716
 
717
+ # Message to represent the option where Datastream will enforce encryption and
718
+ # authenticate server identity. ca_certificate must be set if user selects this
719
+ # option.
720
+ class EncryptionAndServerValidation
721
+ include Google::Apis::Core::Hashable
722
+
723
+ # Optional. Input only. PEM-encoded certificate of the CA that signed the source
724
+ # database server's certificate.
725
+ # Corresponds to the JSON property `caCertificate`
726
+ # @return [String]
727
+ attr_accessor :ca_certificate
728
+
729
+ # Optional. The hostname mentioned in the Subject or SAN extension of the server
730
+ # certificate. This field is used for bypassing the hostname validation while
731
+ # verifying server certificate. This is required for scenarios where the host
732
+ # name that datastream connects to is different from the certificate's subject.
733
+ # This specifically happens for private connectivity. It could also happen when
734
+ # the customer provides a public IP in connection profile but the same is not
735
+ # present in the server certificate.
736
+ # Corresponds to the JSON property `serverCertificateHostname`
737
+ # @return [String]
738
+ attr_accessor :server_certificate_hostname
739
+
740
+ def initialize(**args)
741
+ update!(**args)
742
+ end
743
+
744
+ # Update properties of this object
745
+ def update!(**args)
746
+ @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
747
+ @server_certificate_hostname = args[:server_certificate_hostname] if args.key?(:server_certificate_hostname)
748
+ end
749
+ end
750
+
751
+ # Message to represent the option where encryption is not enforced. An empty
752
+ # message right now to allow future extensibility.
753
+ class EncryptionNotEnforced
754
+ include Google::Apis::Core::Hashable
755
+
756
+ def initialize(**args)
757
+ update!(**args)
758
+ end
759
+
760
+ # Update properties of this object
761
+ def update!(**args)
762
+ end
763
+ end
764
+
702
765
  # Represent a user-facing Error.
703
766
  class Error
704
767
  include Google::Apis::Core::Hashable
@@ -2485,6 +2548,15 @@ module Google
2485
2548
  attr_accessor :ca_certificate_set
2486
2549
  alias_method :ca_certificate_set?, :ca_certificate_set
2487
2550
 
2551
+ # Optional. The distinguished name (DN) mentioned in the server certificate.
2552
+ # This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs.
2553
+ # oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters-
2554
+ # in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field
2555
+ # is not provided, the DN matching is not enforced.
2556
+ # Corresponds to the JSON property `serverCertificateDistinguishedName`
2557
+ # @return [String]
2558
+ attr_accessor :server_certificate_distinguished_name
2559
+
2488
2560
  def initialize(**args)
2489
2561
  update!(**args)
2490
2562
  end
@@ -2493,6 +2565,7 @@ module Google
2493
2565
  def update!(**args)
2494
2566
  @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
2495
2567
  @ca_certificate_set = args[:ca_certificate_set] if args.key?(:ca_certificate_set)
2568
+ @server_certificate_distinguished_name = args[:server_certificate_distinguished_name] if args.key?(:server_certificate_distinguished_name)
2496
2569
  end
2497
2570
  end
2498
2571
 
@@ -3210,6 +3283,13 @@ module Google
3210
3283
  # @return [String]
3211
3284
  attr_accessor :client_key
3212
3285
 
3286
+ # Optional. The hostname mentioned in the Subject or SAN extension of the server
3287
+ # certificate. If this field is not provided, the hostname in the server
3288
+ # certificate is not validated.
3289
+ # Corresponds to the JSON property `serverCertificateHostname`
3290
+ # @return [String]
3291
+ attr_accessor :server_certificate_hostname
3292
+
3213
3293
  def initialize(**args)
3214
3294
  update!(**args)
3215
3295
  end
@@ -3219,6 +3299,7 @@ module Google
3219
3299
  @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
3220
3300
  @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
3221
3301
  @client_key = args[:client_key] if args.key?(:client_key)
3302
+ @server_certificate_hostname = args[:server_certificate_hostname] if args.key?(:server_certificate_hostname)
3222
3303
  end
3223
3304
  end
3224
3305
 
@@ -3233,6 +3314,13 @@ module Google
3233
3314
  # @return [String]
3234
3315
  attr_accessor :ca_certificate
3235
3316
 
3317
+ # Optional. The hostname mentioned in the Subject or SAN extension of the server
3318
+ # certificate. If this field is not provided, the hostname in the server
3319
+ # certificate is not validated.
3320
+ # Corresponds to the JSON property `serverCertificateHostname`
3321
+ # @return [String]
3322
+ attr_accessor :server_certificate_hostname
3323
+
3236
3324
  def initialize(**args)
3237
3325
  update!(**args)
3238
3326
  end
@@ -3240,6 +3328,7 @@ module Google
3240
3328
  # Update properties of this object
3241
3329
  def update!(**args)
3242
3330
  @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
3331
+ @server_certificate_hostname = args[:server_certificate_hostname] if args.key?(:server_certificate_hostname)
3243
3332
  end
3244
3333
  end
3245
3334
 
@@ -3583,6 +3672,11 @@ module Google
3583
3672
  # @return [String]
3584
3673
  attr_accessor :secret_manager_stored_password
3585
3674
 
3675
+ # SQL Server SSL configuration information.
3676
+ # Corresponds to the JSON property `sslConfig`
3677
+ # @return [Google::Apis::DatastreamV1::SqlServerSslConfig]
3678
+ attr_accessor :ssl_config
3679
+
3586
3680
  # Required. Username for the SQLServer connection.
3587
3681
  # Corresponds to the JSON property `username`
3588
3682
  # @return [String]
@@ -3599,6 +3693,7 @@ module Google
3599
3693
  @password = args[:password] if args.key?(:password)
3600
3694
  @port = args[:port] if args.key?(:port)
3601
3695
  @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
3696
+ @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
3602
3697
  @username = args[:username] if args.key?(:username)
3603
3698
  end
3604
3699
  end
@@ -3696,6 +3791,42 @@ module Google
3696
3791
  end
3697
3792
  end
3698
3793
 
3794
+ # SQL Server SSL configuration information.
3795
+ class SqlServerSslConfig
3796
+ include Google::Apis::Core::Hashable
3797
+
3798
+ # Message to represent the option where Datastream will enforce encryption
3799
+ # without authenticating server identity. Server certificates will be trusted by
3800
+ # default.
3801
+ # Corresponds to the JSON property `basicEncryption`
3802
+ # @return [Google::Apis::DatastreamV1::BasicEncryption]
3803
+ attr_accessor :basic_encryption
3804
+
3805
+ # Message to represent the option where Datastream will enforce encryption and
3806
+ # authenticate server identity. ca_certificate must be set if user selects this
3807
+ # option.
3808
+ # Corresponds to the JSON property `encryptionAndServerValidation`
3809
+ # @return [Google::Apis::DatastreamV1::EncryptionAndServerValidation]
3810
+ attr_accessor :encryption_and_server_validation
3811
+
3812
+ # Message to represent the option where encryption is not enforced. An empty
3813
+ # message right now to allow future extensibility.
3814
+ # Corresponds to the JSON property `encryptionNotEnforced`
3815
+ # @return [Google::Apis::DatastreamV1::EncryptionNotEnforced]
3816
+ attr_accessor :encryption_not_enforced
3817
+
3818
+ def initialize(**args)
3819
+ update!(**args)
3820
+ end
3821
+
3822
+ # Update properties of this object
3823
+ def update!(**args)
3824
+ @basic_encryption = args[:basic_encryption] if args.key?(:basic_encryption)
3825
+ @encryption_and_server_validation = args[:encryption_and_server_validation] if args.key?(:encryption_and_server_validation)
3826
+ @encryption_not_enforced = args[:encryption_not_enforced] if args.key?(:encryption_not_enforced)
3827
+ end
3828
+ end
3829
+
3699
3830
  # SQLServer table.
3700
3831
  class SqlServerTable
3701
3832
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastreamV1
18
18
  # Version of the google-apis-datastream_v1 gem
19
- GEM_VERSION = "0.52.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.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250627"
25
+ REVISION = "20250722"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BasicEncryption
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class BigQueryDestinationConfig
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -136,6 +142,18 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class EncryptionAndServerValidation
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class EncryptionNotEnforced
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
139
157
  class Error
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
@@ -664,6 +682,12 @@ module Google
664
682
  include Google::Apis::Core::JsonObjectSupport
665
683
  end
666
684
 
685
+ class SqlServerSslConfig
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
667
691
  class SqlServerTable
668
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
693
 
@@ -820,6 +844,12 @@ module Google
820
844
  end
821
845
  end
822
846
 
847
+ class BasicEncryption
848
+ # @private
849
+ class Representation < Google::Apis::Core::JsonRepresentation
850
+ end
851
+ end
852
+
823
853
  class BigQueryDestinationConfig
824
854
  # @private
825
855
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -996,6 +1026,20 @@ module Google
996
1026
  end
997
1027
  end
998
1028
 
1029
+ class EncryptionAndServerValidation
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :ca_certificate, as: 'caCertificate'
1033
+ property :server_certificate_hostname, as: 'serverCertificateHostname'
1034
+ end
1035
+ end
1036
+
1037
+ class EncryptionNotEnforced
1038
+ # @private
1039
+ class Representation < Google::Apis::Core::JsonRepresentation
1040
+ end
1041
+ end
1042
+
999
1043
  class Error
1000
1044
  # @private
1001
1045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1521,6 +1565,7 @@ module Google
1521
1565
  class Representation < Google::Apis::Core::JsonRepresentation
1522
1566
  property :ca_certificate, as: 'caCertificate'
1523
1567
  property :ca_certificate_set, as: 'caCertificateSet'
1568
+ property :server_certificate_distinguished_name, as: 'serverCertificateDistinguishedName'
1524
1569
  end
1525
1570
  end
1526
1571
 
@@ -1735,6 +1780,7 @@ module Google
1735
1780
  property :ca_certificate, as: 'caCertificate'
1736
1781
  property :client_certificate, as: 'clientCertificate'
1737
1782
  property :client_key, as: 'clientKey'
1783
+ property :server_certificate_hostname, as: 'serverCertificateHostname'
1738
1784
  end
1739
1785
  end
1740
1786
 
@@ -1742,6 +1788,7 @@ module Google
1742
1788
  # @private
1743
1789
  class Representation < Google::Apis::Core::JsonRepresentation
1744
1790
  property :ca_certificate, as: 'caCertificate'
1791
+ property :server_certificate_hostname, as: 'serverCertificateHostname'
1745
1792
  end
1746
1793
  end
1747
1794
 
@@ -1855,6 +1902,8 @@ module Google
1855
1902
  property :password, as: 'password'
1856
1903
  property :port, as: 'port'
1857
1904
  property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1905
+ property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::SqlServerSslConfig, decorator: Google::Apis::DatastreamV1::SqlServerSslConfig::Representation
1906
+
1858
1907
  property :username, as: 'username'
1859
1908
  end
1860
1909
  end
@@ -1892,6 +1941,18 @@ module Google
1892
1941
  end
1893
1942
  end
1894
1943
 
1944
+ class SqlServerSslConfig
1945
+ # @private
1946
+ class Representation < Google::Apis::Core::JsonRepresentation
1947
+ property :basic_encryption, as: 'basicEncryption', class: Google::Apis::DatastreamV1::BasicEncryption, decorator: Google::Apis::DatastreamV1::BasicEncryption::Representation
1948
+
1949
+ property :encryption_and_server_validation, as: 'encryptionAndServerValidation', class: Google::Apis::DatastreamV1::EncryptionAndServerValidation, decorator: Google::Apis::DatastreamV1::EncryptionAndServerValidation::Representation
1950
+
1951
+ property :encryption_not_enforced, as: 'encryptionNotEnforced', class: Google::Apis::DatastreamV1::EncryptionNotEnforced, decorator: Google::Apis::DatastreamV1::EncryptionNotEnforced::Representation
1952
+
1953
+ end
1954
+ end
1955
+
1895
1956
  class SqlServerTable
1896
1957
  # @private
1897
1958
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.54.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1
62
62
  rdoc_options: []
63
63
  require_paths: