google-apis-datastream_v1 0.43.0 → 0.44.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: 3bbbfcafabfdf5d813d9c08acfe496607adbf4408761e7cfc106736bf9098c35
4
- data.tar.gz: a69439cb4d20695f23098f4b2037c1ea0bf7ccf6e4447bf4d3ab9b7c712c5e4b
3
+ metadata.gz: fd5aeb11183e019d76cbabd5d851aeb517b0ed96c57562b01f3bd0d802e8da59
4
+ data.tar.gz: b56ac21e2304071034e3c94ad39f7fd6a8d884856578553250285e21b1ab503e
5
5
  SHA512:
6
- metadata.gz: 78b38209bd405075f56d9879ffc19f60f9abde246b1dfcaf4cafa477fc74c29d53e1b4989ade3dffa7c0bfc35af26e7e3662d381c81768c5c4ba3897e3dc3382
7
- data.tar.gz: ee44cd355eae2351d49793abdb77b32377473edc272956f692eb833d204a99c80ea237bfde8b21ef4696ef1bb6e2ae63c6c60280b5de81710f5bc0a58e47db2b
6
+ metadata.gz: 386d95c30381a3bf60e481cf37588911277ebb3f7a2a15514418420d1c787030301efac6bee393c3a450eb74b35abe1d3b2d264fec674b5e89c7858ecfb93f5d
7
+ data.tar.gz: c82045ccf782b7f3f423f8aaa2755c6b322f00ac492d724f1c496e803daa0db6d8fa9e3a225bc1e756bf3cf0cf82401a980091040a80aea4e9fa8450688e8164
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.44.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250101
6
+ * Regenerated using generator version 0.16.0
7
+
3
8
  ### v0.43.0 (2024-12-15)
4
9
 
5
10
  * Regenerated from discovery document revision 20241204
@@ -2151,6 +2151,11 @@ module Google
2151
2151
  # @return [Fixnum]
2152
2152
  attr_accessor :port
2153
2153
 
2154
+ # PostgreSQL SSL configuration information.
2155
+ # Corresponds to the JSON property `sslConfig`
2156
+ # @return [Google::Apis::DatastreamV1::PostgresqlSslConfig]
2157
+ attr_accessor :ssl_config
2158
+
2154
2159
  # Required. Username for the PostgreSQL connection.
2155
2160
  # Corresponds to the JSON property `username`
2156
2161
  # @return [String]
@@ -2166,6 +2171,7 @@ module Google
2166
2171
  @hostname = args[:hostname] if args.key?(:hostname)
2167
2172
  @password = args[:password] if args.key?(:password)
2168
2173
  @port = args[:port] if args.key?(:port)
2174
+ @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
2169
2175
  @username = args[:username] if args.key?(:username)
2170
2176
  end
2171
2177
  end
@@ -2260,6 +2266,36 @@ module Google
2260
2266
  end
2261
2267
  end
2262
2268
 
2269
+ # PostgreSQL SSL configuration information.
2270
+ class PostgresqlSslConfig
2271
+ include Google::Apis::Core::Hashable
2272
+
2273
+ # Message represents the option where Datastream will enforce the encryption and
2274
+ # authenticate the server identity as well as the client identity.
2275
+ # ca_certificate, client_certificate and client_key must be set if user selects
2276
+ # this option.
2277
+ # Corresponds to the JSON property `serverAndClientVerification`
2278
+ # @return [Google::Apis::DatastreamV1::ServerAndClientVerification]
2279
+ attr_accessor :server_and_client_verification
2280
+
2281
+ # Message represents the option where Datastream will enforce the encryption and
2282
+ # authenticate the server identity. ca_certificate must be set if user selects
2283
+ # this option.
2284
+ # Corresponds to the JSON property `serverVerification`
2285
+ # @return [Google::Apis::DatastreamV1::ServerVerification]
2286
+ attr_accessor :server_verification
2287
+
2288
+ def initialize(**args)
2289
+ update!(**args)
2290
+ end
2291
+
2292
+ # Update properties of this object
2293
+ def update!(**args)
2294
+ @server_and_client_verification = args[:server_and_client_verification] if args.key?(:server_and_client_verification)
2295
+ @server_verification = args[:server_verification] if args.key?(:server_verification)
2296
+ end
2297
+ end
2298
+
2263
2299
  # PostgreSQL table.
2264
2300
  class PostgresqlTable
2265
2301
  include Google::Apis::Core::Hashable
@@ -2451,6 +2487,68 @@ module Google
2451
2487
  end
2452
2488
  end
2453
2489
 
2490
+ # Message represents the option where Datastream will enforce the encryption and
2491
+ # authenticate the server identity as well as the client identity.
2492
+ # ca_certificate, client_certificate and client_key must be set if user selects
2493
+ # this option.
2494
+ class ServerAndClientVerification
2495
+ include Google::Apis::Core::Hashable
2496
+
2497
+ # Required. Input only. PEM-encoded server root CA certificate.
2498
+ # Corresponds to the JSON property `caCertificate`
2499
+ # @return [String]
2500
+ attr_accessor :ca_certificate
2501
+
2502
+ # Required. Input only. PEM-encoded certificate used by the source database to
2503
+ # authenticate the client identity (i.e., the Datastream's identity). This
2504
+ # certificate is signed by either a root certificate trusted by the server or
2505
+ # one or more intermediate certificates (which is stored with the leaf
2506
+ # certificate) to link the this certificate to the trusted root certificate.
2507
+ # Corresponds to the JSON property `clientCertificate`
2508
+ # @return [String]
2509
+ attr_accessor :client_certificate
2510
+
2511
+ # Required. Input only. PEM-encoded private key associated with the client
2512
+ # certificate. This value will be used during the SSL/TLS handshake, allowing
2513
+ # the PostgreSQL server to authenticate the client's identity, i.e. identity of
2514
+ # the Datastream.
2515
+ # Corresponds to the JSON property `clientKey`
2516
+ # @return [String]
2517
+ attr_accessor :client_key
2518
+
2519
+ def initialize(**args)
2520
+ update!(**args)
2521
+ end
2522
+
2523
+ # Update properties of this object
2524
+ def update!(**args)
2525
+ @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
2526
+ @client_certificate = args[:client_certificate] if args.key?(:client_certificate)
2527
+ @client_key = args[:client_key] if args.key?(:client_key)
2528
+ end
2529
+ end
2530
+
2531
+ # Message represents the option where Datastream will enforce the encryption and
2532
+ # authenticate the server identity. ca_certificate must be set if user selects
2533
+ # this option.
2534
+ class ServerVerification
2535
+ include Google::Apis::Core::Hashable
2536
+
2537
+ # Required. Input only. PEM-encoded server root CA certificate.
2538
+ # Corresponds to the JSON property `caCertificate`
2539
+ # @return [String]
2540
+ attr_accessor :ca_certificate
2541
+
2542
+ def initialize(**args)
2543
+ update!(**args)
2544
+ end
2545
+
2546
+ # Update properties of this object
2547
+ def update!(**args)
2548
+ @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
2549
+ end
2550
+ end
2551
+
2454
2552
  # A single target dataset to which all data will be streamed.
2455
2553
  class SingleTargetDataset
2456
2554
  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.43.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241204"
25
+ REVISION = "20250101"
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 PostgresqlSslConfig
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
427
433
  class PostgresqlTable
428
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
435
 
@@ -454,6 +460,18 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class ServerAndClientVerification
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class ServerVerification
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
457
475
  class SingleTargetDataset
458
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
477
 
@@ -1272,6 +1290,8 @@ module Google
1272
1290
  property :hostname, as: 'hostname'
1273
1291
  property :password, as: 'password'
1274
1292
  property :port, as: 'port'
1293
+ property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::PostgresqlSslConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSslConfig::Representation
1294
+
1275
1295
  property :username, as: 'username'
1276
1296
  end
1277
1297
  end
@@ -1306,6 +1326,16 @@ module Google
1306
1326
  end
1307
1327
  end
1308
1328
 
1329
+ class PostgresqlSslConfig
1330
+ # @private
1331
+ class Representation < Google::Apis::Core::JsonRepresentation
1332
+ property :server_and_client_verification, as: 'serverAndClientVerification', class: Google::Apis::DatastreamV1::ServerAndClientVerification, decorator: Google::Apis::DatastreamV1::ServerAndClientVerification::Representation
1333
+
1334
+ property :server_verification, as: 'serverVerification', class: Google::Apis::DatastreamV1::ServerVerification, decorator: Google::Apis::DatastreamV1::ServerVerification::Representation
1335
+
1336
+ end
1337
+ end
1338
+
1309
1339
  class PostgresqlTable
1310
1340
  # @private
1311
1341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1360,6 +1390,22 @@ module Google
1360
1390
  end
1361
1391
  end
1362
1392
 
1393
+ class ServerAndClientVerification
1394
+ # @private
1395
+ class Representation < Google::Apis::Core::JsonRepresentation
1396
+ property :ca_certificate, as: 'caCertificate'
1397
+ property :client_certificate, as: 'clientCertificate'
1398
+ property :client_key, as: 'clientKey'
1399
+ end
1400
+ end
1401
+
1402
+ class ServerVerification
1403
+ # @private
1404
+ class Representation < Google::Apis::Core::JsonRepresentation
1405
+ property :ca_certificate, as: 'caCertificate'
1406
+ end
1407
+ end
1408
+
1363
1409
  class SingleTargetDataset
1364
1410
  # @private
1365
1411
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.44.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Datastream API V1
82
79
  test_files: []