google-apis-datastream_v1 0.42.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: c776c91bf6168a877bc6ff03afbed71c00d93e895edb218170b54c35ff17b309
4
- data.tar.gz: 380cd469f10524b72d726074ba5f44a9e12f917f9452a68d258ed24856f9d8ea
3
+ metadata.gz: fd5aeb11183e019d76cbabd5d851aeb517b0ed96c57562b01f3bd0d802e8da59
4
+ data.tar.gz: b56ac21e2304071034e3c94ad39f7fd6a8d884856578553250285e21b1ab503e
5
5
  SHA512:
6
- metadata.gz: f570537f331697e5c6c7a97b5e3fecebb085ea2d01af065ff15a8ec2773e307263902c8acad53b905e1e2db2ccc73bcb8d4cf6f5e4a2f6bd1a2a0a9681215291
7
- data.tar.gz: 18b2fd0d002ca0fe17cc3751d37b239f91e607f6d2df1f2010c24c17169c57d5f553a8a6c85d5148ffa763459d62e6936ab8e109ec7a2cde0eb1a21352a8d01c
6
+ metadata.gz: 386d95c30381a3bf60e481cf37588911277ebb3f7a2a15514418420d1c787030301efac6bee393c3a450eb74b35abe1d3b2d264fec674b5e89c7858ecfb93f5d
7
+ data.tar.gz: c82045ccf782b7f3f423f8aaa2755c6b322f00ac492d724f1c496e803daa0db6d8fa9e3a225bc1e756bf3cf0cf82401a980091040a80aea4e9fa8450688e8164
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.43.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241204
11
+
3
12
  ### v0.42.0 (2024-11-03)
4
13
 
5
14
  * Regenerated from discovery document revision 20241028
@@ -328,7 +328,7 @@ module Google
328
328
  # @return [Google::Apis::DatastreamV1::MysqlProfile]
329
329
  attr_accessor :mysql_profile
330
330
 
331
- # Output only. The resource's name.
331
+ # Output only. Identifier. The resource's name.
332
332
  # Corresponds to the JSON property `name`
333
333
  # @return [String]
334
334
  attr_accessor :name
@@ -1582,9 +1582,9 @@ module Google
1582
1582
  attr_accessor :end_time
1583
1583
 
1584
1584
  # Output only. Identifies whether the user has requested cancellation of the
1585
- # operation. Operations that have successfully been cancelled have Operation.
1586
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
1587
- # CANCELLED`.
1585
+ # operation. Operations that have successfully been cancelled have google.
1586
+ # longrunning.Operation.error value with a google.rpc.Status.code of 1,
1587
+ # corresponding to `Code.CANCELLED`.
1588
1588
  # Corresponds to the JSON property `requestedCancellation`
1589
1589
  # @return [Boolean]
1590
1590
  attr_accessor :requested_cancellation
@@ -1627,7 +1627,7 @@ module Google
1627
1627
  end
1628
1628
  end
1629
1629
 
1630
- # Configuration for Oracle Automatic Storage Management (ASM) connection.
1630
+ # Configuration for Oracle Automatic Storage Management (ASM) connection. .
1631
1631
  class OracleAsmConfig
1632
1632
  include Google::Apis::Core::Hashable
1633
1633
 
@@ -1651,7 +1651,7 @@ module Google
1651
1651
  # @return [Google::Apis::DatastreamV1::OracleSslConfig]
1652
1652
  attr_accessor :oracle_ssl_config
1653
1653
 
1654
- # Required. Password for the Oracle ASM connection.
1654
+ # Optional. Password for the Oracle ASM connection.
1655
1655
  # Corresponds to the JSON property `password`
1656
1656
  # @return [String]
1657
1657
  attr_accessor :password
@@ -1808,7 +1808,7 @@ module Google
1808
1808
  # @return [String]
1809
1809
  attr_accessor :hostname
1810
1810
 
1811
- # Configuration for Oracle Automatic Storage Management (ASM) connection.
1811
+ # Configuration for Oracle Automatic Storage Management (ASM) connection. .
1812
1812
  # Corresponds to the JSON property `oracleAsmConfig`
1813
1813
  # @return [Google::Apis::DatastreamV1::OracleAsmConfig]
1814
1814
  attr_accessor :oracle_asm_config
@@ -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
@@ -2311,7 +2347,7 @@ module Google
2311
2347
  # @return [Hash<String,String>]
2312
2348
  attr_accessor :labels
2313
2349
 
2314
- # Output only. The resource's name.
2350
+ # Output only. Identifier. The resource's name.
2315
2351
  # Corresponds to the JSON property `name`
2316
2352
  # @return [String]
2317
2353
  attr_accessor :name
@@ -2399,7 +2435,7 @@ module Google
2399
2435
  # @return [Hash<String,String>]
2400
2436
  attr_accessor :labels
2401
2437
 
2402
- # Output only. The resource's name.
2438
+ # Output only. Identifier. The resource's name.
2403
2439
  # Corresponds to the JSON property `name`
2404
2440
  # @return [String]
2405
2441
  attr_accessor :name
@@ -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
@@ -2586,6 +2684,11 @@ module Google
2586
2684
  # @return [Google::Apis::DatastreamV1::OracleScnPosition]
2587
2685
  attr_accessor :oracle_scn_position
2588
2686
 
2687
+ # SQL Server LSN position
2688
+ # Corresponds to the JSON property `sqlServerLsnPosition`
2689
+ # @return [Google::Apis::DatastreamV1::SqlServerLsnPosition]
2690
+ attr_accessor :sql_server_lsn_position
2691
+
2589
2692
  def initialize(**args)
2590
2693
  update!(**args)
2591
2694
  end
@@ -2594,6 +2697,7 @@ module Google
2594
2697
  def update!(**args)
2595
2698
  @mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position)
2596
2699
  @oracle_scn_position = args[:oracle_scn_position] if args.key?(:oracle_scn_position)
2700
+ @sql_server_lsn_position = args[:sql_server_lsn_position] if args.key?(:sql_server_lsn_position)
2597
2701
  end
2598
2702
  end
2599
2703
 
@@ -2673,6 +2777,25 @@ module Google
2673
2777
  end
2674
2778
  end
2675
2779
 
2780
+ # SQL Server LSN position
2781
+ class SqlServerLsnPosition
2782
+ include Google::Apis::Core::Hashable
2783
+
2784
+ # Required. Log sequence number (LSN) from where Logs will be read
2785
+ # Corresponds to the JSON property `lsn`
2786
+ # @return [String]
2787
+ attr_accessor :lsn
2788
+
2789
+ def initialize(**args)
2790
+ update!(**args)
2791
+ end
2792
+
2793
+ # Update properties of this object
2794
+ def update!(**args)
2795
+ @lsn = args[:lsn] if args.key?(:lsn)
2796
+ end
2797
+ end
2798
+
2676
2799
  # SQLServer data source object identifier.
2677
2800
  class SqlServerObjectIdentifier
2678
2801
  include Google::Apis::Core::Hashable
@@ -3046,7 +3169,7 @@ module Google
3046
3169
  # @return [String]
3047
3170
  attr_accessor :last_recovery_time
3048
3171
 
3049
- # Output only. The stream's name.
3172
+ # Output only. Identifier. The stream's name.
3050
3173
  # Corresponds to the JSON property `name`
3051
3174
  # @return [String]
3052
3175
  attr_accessor :name
@@ -3125,7 +3248,7 @@ module Google
3125
3248
  # @return [Array<Google::Apis::DatastreamV1::Error>]
3126
3249
  attr_accessor :errors
3127
3250
 
3128
- # Output only. The object resource's name.
3251
+ # Output only. Identifier. The object resource's name.
3129
3252
  # Corresponds to the JSON property `name`
3130
3253
  # @return [String]
3131
3254
  attr_accessor :name
@@ -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.42.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 = "20241028"
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
 
@@ -496,6 +514,12 @@ module Google
496
514
  include Google::Apis::Core::JsonObjectSupport
497
515
  end
498
516
 
517
+ class SqlServerLsnPosition
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
499
523
  class SqlServerObjectIdentifier
500
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
525
 
@@ -1266,6 +1290,8 @@ module Google
1266
1290
  property :hostname, as: 'hostname'
1267
1291
  property :password, as: 'password'
1268
1292
  property :port, as: 'port'
1293
+ property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::PostgresqlSslConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSslConfig::Representation
1294
+
1269
1295
  property :username, as: 'username'
1270
1296
  end
1271
1297
  end
@@ -1300,6 +1326,16 @@ module Google
1300
1326
  end
1301
1327
  end
1302
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
+
1303
1339
  class PostgresqlTable
1304
1340
  # @private
1305
1341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1354,6 +1390,22 @@ module Google
1354
1390
  end
1355
1391
  end
1356
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
+
1357
1409
  class SingleTargetDataset
1358
1410
  # @private
1359
1411
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1405,6 +1457,8 @@ module Google
1405
1457
 
1406
1458
  property :oracle_scn_position, as: 'oracleScnPosition', class: Google::Apis::DatastreamV1::OracleScnPosition, decorator: Google::Apis::DatastreamV1::OracleScnPosition::Representation
1407
1459
 
1460
+ property :sql_server_lsn_position, as: 'sqlServerLsnPosition', class: Google::Apis::DatastreamV1::SqlServerLsnPosition, decorator: Google::Apis::DatastreamV1::SqlServerLsnPosition::Representation
1461
+
1408
1462
  end
1409
1463
  end
1410
1464
 
@@ -1428,6 +1482,13 @@ module Google
1428
1482
  end
1429
1483
  end
1430
1484
 
1485
+ class SqlServerLsnPosition
1486
+ # @private
1487
+ class Representation < Google::Apis::Core::JsonRepresentation
1488
+ property :lsn, as: 'lsn'
1489
+ end
1490
+ end
1491
+
1431
1492
  class SqlServerObjectIdentifier
1432
1493
  # @private
1433
1494
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -375,7 +375,7 @@ module Google
375
375
 
376
376
  # Use this method to update the parameters of a connection profile.
377
377
  # @param [String] name
378
- # Output only. The resource's name.
378
+ # Output only. Identifier. The resource's name.
379
379
  # @param [Google::Apis::DatastreamV1::ConnectionProfile] connection_profile_object
380
380
  # @param [Boolean] force
381
381
  # Optional. Update the connection profile without validating it.
@@ -438,8 +438,8 @@ module Google
438
438
  # Clients can use Operations.GetOperation or other methods to check whether the
439
439
  # cancellation succeeded or whether the operation completed despite cancellation.
440
440
  # On successful cancellation, the operation is not deleted; instead, it becomes
441
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
442
- # corresponding to `Code.CANCELLED`.
441
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
442
+ # , corresponding to `Code.CANCELLED`.
443
443
  # @param [String] name
444
444
  # The name of the operation resource to be cancelled.
445
445
  # @param [Google::Apis::DatastreamV1::CancelOperationRequest] cancel_operation_request_object
@@ -1095,7 +1095,7 @@ module Google
1095
1095
 
1096
1096
  # Use this method to update the configuration of a stream.
1097
1097
  # @param [String] name
1098
- # Output only. The stream's name.
1098
+ # Output only. Identifier. The stream's name.
1099
1099
  # @param [Google::Apis::DatastreamV1::Stream] stream_object
1100
1100
  # @param [Boolean] force
1101
1101
  # Optional. Update the stream without validating it.
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.42.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-11-03 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.42.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.21
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: []