google-apis-datastream_v1 0.45.0 → 0.46.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: f31b4e93fc310897e3047ad882d791c94b25d4d77fbb9329a6086d6c6258d3c7
4
- data.tar.gz: 9123348b22490d246c9969e1c3768b1e37a43248da2fa6953e550e0fcc30979b
3
+ metadata.gz: 22e790753d5c38bf0998ab36ede51e00b90b68b9de9e910f5523112cc14a32e3
4
+ data.tar.gz: 1d05199bdb353ee02b842e6ee3f969385231456f532e6347bd21ef8c117543fa
5
5
  SHA512:
6
- metadata.gz: aa0ce37d47f8f760b161ea3d465d9115bdbdb8b1685f56e662a89252ee1e0cabb431d0ec8a7dd14a31078a939e0bbc08716e212fc19828cf59fb905437706fb1
7
- data.tar.gz: b05c3a2c7f90bc198dc6ea4820053c76ab91637342f238c36a821edef417b8c878814c5d9acf511290dcadc2cf0d77ebb254f6c121da1ec112a82d9248b24827
6
+ metadata.gz: 703d6f50b7aff8ba863d5ece3ead7cb72647c5d806c0656a6daa44dec52a0f94a24da3ec45b827d8e013414bf52af24fc9cffe6eab316569a66778b8c733301b
7
+ data.tar.gz: afd343bf5bde9aad8fda470b676faa1e6a28d2532f21c78c6ba2c6f045b11bb0c0e58a6f36695d8a1daf2e606553678d077916697c52bd1970de627e4ff83a4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.46.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250316
6
+
3
7
  ### v0.45.0 (2025-03-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20250219
@@ -1403,6 +1403,12 @@ module Google
1403
1403
  # @return [Fixnum]
1404
1404
  attr_accessor :port
1405
1405
 
1406
+ # Optional. A reference to a Secret Manager resource name storing the MySQL
1407
+ # connection password. Mutually exclusive with the `password` field.
1408
+ # Corresponds to the JSON property `secretManagerStoredPassword`
1409
+ # @return [String]
1410
+ attr_accessor :secret_manager_stored_password
1411
+
1406
1412
  # MySQL SSL configuration information.
1407
1413
  # Corresponds to the JSON property `sslConfig`
1408
1414
  # @return [Google::Apis::DatastreamV1::MysqlSslConfig]
@@ -1422,6 +1428,7 @@ module Google
1422
1428
  @hostname = args[:hostname] if args.key?(:hostname)
1423
1429
  @password = args[:password] if args.key?(:password)
1424
1430
  @port = args[:port] if args.key?(:port)
1431
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
1425
1432
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
1426
1433
  @username = args[:username] if args.key?(:username)
1427
1434
  end
@@ -1528,8 +1535,7 @@ module Google
1528
1535
 
1529
1536
  # Optional. Input only. PEM-encoded private key associated with the Client
1530
1537
  # Certificate. If this field is used then the 'client_certificate' and the '
1531
- # ca_certificate' fields are mandatory. Mutually exclusive with the `
1532
- # secret_manager_stored_client_key` field.
1538
+ # ca_certificate' fields are mandatory.
1533
1539
  # Corresponds to the JSON property `clientKey`
1534
1540
  # @return [String]
1535
1541
  attr_accessor :client_key
@@ -1779,7 +1785,8 @@ module Google
1779
1785
  # @return [Google::Apis::DatastreamV1::OracleSslConfig]
1780
1786
  attr_accessor :oracle_ssl_config
1781
1787
 
1782
- # Optional. Password for the Oracle ASM connection.
1788
+ # Optional. Password for the Oracle ASM connection. Mutually exclusive with the `
1789
+ # secret_manager_stored_password` field.
1783
1790
  # Corresponds to the JSON property `password`
1784
1791
  # @return [String]
1785
1792
  attr_accessor :password
@@ -1789,6 +1796,12 @@ module Google
1789
1796
  # @return [Fixnum]
1790
1797
  attr_accessor :port
1791
1798
 
1799
+ # Optional. A reference to a Secret Manager resource name storing the Oracle ASM
1800
+ # connection password. Mutually exclusive with the `password` field.
1801
+ # Corresponds to the JSON property `secretManagerStoredPassword`
1802
+ # @return [String]
1803
+ attr_accessor :secret_manager_stored_password
1804
+
1792
1805
  # Required. Username for the Oracle ASM connection.
1793
1806
  # Corresponds to the JSON property `username`
1794
1807
  # @return [String]
@@ -1806,6 +1819,7 @@ module Google
1806
1819
  @oracle_ssl_config = args[:oracle_ssl_config] if args.key?(:oracle_ssl_config)
1807
1820
  @password = args[:password] if args.key?(:password)
1808
1821
  @port = args[:port] if args.key?(:port)
1822
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
1809
1823
  @username = args[:username] if args.key?(:username)
1810
1824
  end
1811
1825
  end
@@ -2279,6 +2293,12 @@ module Google
2279
2293
  # @return [Fixnum]
2280
2294
  attr_accessor :port
2281
2295
 
2296
+ # Optional. A reference to a Secret Manager resource name storing the PostgreSQL
2297
+ # connection password. Mutually exclusive with the `password` field.
2298
+ # Corresponds to the JSON property `secretManagerStoredPassword`
2299
+ # @return [String]
2300
+ attr_accessor :secret_manager_stored_password
2301
+
2282
2302
  # PostgreSQL SSL configuration information.
2283
2303
  # Corresponds to the JSON property `sslConfig`
2284
2304
  # @return [Google::Apis::DatastreamV1::PostgresqlSslConfig]
@@ -2299,6 +2319,7 @@ module Google
2299
2319
  @hostname = args[:hostname] if args.key?(:hostname)
2300
2320
  @password = args[:password] if args.key?(:password)
2301
2321
  @port = args[:port] if args.key?(:port)
2322
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
2302
2323
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
2303
2324
  @username = args[:username] if args.key?(:username)
2304
2325
  end
@@ -2480,6 +2501,12 @@ module Google
2480
2501
  # @return [String]
2481
2502
  attr_accessor :name
2482
2503
 
2504
+ # The PSC Interface configuration is used to create PSC Interface between
2505
+ # Datastream and the consumer's PSC.
2506
+ # Corresponds to the JSON property `pscInterfaceConfig`
2507
+ # @return [Google::Apis::DatastreamV1::PscInterfaceConfig]
2508
+ attr_accessor :psc_interface_config
2509
+
2483
2510
  # Output only. Reserved for future use.
2484
2511
  # Corresponds to the JSON property `satisfiesPzi`
2485
2512
  # @return [Boolean]
@@ -2519,6 +2546,7 @@ module Google
2519
2546
  @error = args[:error] if args.key?(:error)
2520
2547
  @labels = args[:labels] if args.key?(:labels)
2521
2548
  @name = args[:name] if args.key?(:name)
2549
+ @psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
2522
2550
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
2523
2551
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2524
2552
  @state = args[:state] if args.key?(:state)
@@ -2547,6 +2575,28 @@ module Google
2547
2575
  end
2548
2576
  end
2549
2577
 
2578
+ # The PSC Interface configuration is used to create PSC Interface between
2579
+ # Datastream and the consumer's PSC.
2580
+ class PscInterfaceConfig
2581
+ include Google::Apis::Core::Hashable
2582
+
2583
+ # Required. Fully qualified name of the Network Attachment that Datastream will
2584
+ # connect to. Format: `projects/``project``/regions/``region``/
2585
+ # networkAttachments/``name```
2586
+ # Corresponds to the JSON property `networkAttachment`
2587
+ # @return [String]
2588
+ attr_accessor :network_attachment
2589
+
2590
+ def initialize(**args)
2591
+ update!(**args)
2592
+ end
2593
+
2594
+ # Update properties of this object
2595
+ def update!(**args)
2596
+ @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
2597
+ end
2598
+ end
2599
+
2550
2600
  # The route resource is the child of the private connection resource, used for
2551
2601
  # defining a route for a private connection.
2552
2602
  class Route
@@ -2813,8 +2863,7 @@ module Google
2813
2863
  # Optional. Input only. PEM-encoded private key associated with the client
2814
2864
  # certificate. This value will be used during the SSL/TLS handshake, allowing
2815
2865
  # the PostgreSQL server to authenticate the client's identity, i.e. identity of
2816
- # the Datastream. Mutually exclusive with the `secret_manager_stored_client_key`
2817
- # field.
2866
+ # the Datastream.
2818
2867
  # Corresponds to the JSON property `clientKey`
2819
2868
  # @return [String]
2820
2869
  attr_accessor :client_key
@@ -3167,6 +3216,12 @@ module Google
3167
3216
  # @return [Fixnum]
3168
3217
  attr_accessor :port
3169
3218
 
3219
+ # Optional. A reference to a Secret Manager resource name storing the SQLServer
3220
+ # connection password. Mutually exclusive with the `password` field.
3221
+ # Corresponds to the JSON property `secretManagerStoredPassword`
3222
+ # @return [String]
3223
+ attr_accessor :secret_manager_stored_password
3224
+
3170
3225
  # Required. Username for the SQLServer connection.
3171
3226
  # Corresponds to the JSON property `username`
3172
3227
  # @return [String]
@@ -3182,6 +3237,7 @@ module Google
3182
3237
  @hostname = args[:hostname] if args.key?(:hostname)
3183
3238
  @password = args[:password] if args.key?(:password)
3184
3239
  @port = args[:port] if args.key?(:port)
3240
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
3185
3241
  @username = args[:username] if args.key?(:username)
3186
3242
  end
3187
3243
  end
@@ -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.45.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250219"
25
+ REVISION = "20250316"
26
26
  end
27
27
  end
28
28
  end
@@ -466,6 +466,12 @@ module Google
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
+ class PscInterfaceConfig
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
469
475
  class Route
470
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
477
 
@@ -1142,6 +1148,7 @@ module Google
1142
1148
  property :hostname, as: 'hostname'
1143
1149
  property :password, as: 'password'
1144
1150
  property :port, as: 'port'
1151
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1145
1152
  property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::MysqlSslConfig, decorator: Google::Apis::DatastreamV1::MysqlSslConfig::Representation
1146
1153
 
1147
1154
  property :username, as: 'username'
@@ -1245,6 +1252,7 @@ module Google
1245
1252
 
1246
1253
  property :password, as: 'password'
1247
1254
  property :port, as: 'port'
1255
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1248
1256
  property :username, as: 'username'
1249
1257
  end
1250
1258
  end
@@ -1385,6 +1393,7 @@ module Google
1385
1393
  property :hostname, as: 'hostname'
1386
1394
  property :password, as: 'password'
1387
1395
  property :port, as: 'port'
1396
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1388
1397
  property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::PostgresqlSslConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSslConfig::Representation
1389
1398
 
1390
1399
  property :username, as: 'username'
@@ -1449,6 +1458,8 @@ module Google
1449
1458
 
1450
1459
  hash :labels, as: 'labels'
1451
1460
  property :name, as: 'name'
1461
+ property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::DatastreamV1::PscInterfaceConfig, decorator: Google::Apis::DatastreamV1::PscInterfaceConfig::Representation
1462
+
1452
1463
  property :satisfies_pzi, as: 'satisfiesPzi'
1453
1464
  property :satisfies_pzs, as: 'satisfiesPzs'
1454
1465
  property :state, as: 'state'
@@ -1465,6 +1476,13 @@ module Google
1465
1476
  end
1466
1477
  end
1467
1478
 
1479
+ class PscInterfaceConfig
1480
+ # @private
1481
+ class Representation < Google::Apis::Core::JsonRepresentation
1482
+ property :network_attachment, as: 'networkAttachment'
1483
+ end
1484
+ end
1485
+
1468
1486
  class Route
1469
1487
  # @private
1470
1488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1662,6 +1680,7 @@ module Google
1662
1680
  property :hostname, as: 'hostname'
1663
1681
  property :password, as: 'password'
1664
1682
  property :port, as: 'port'
1683
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1665
1684
  property :username, as: 'username'
1666
1685
  end
1667
1686
  end
@@ -595,6 +595,10 @@ module Google
595
595
  # second request. This prevents clients from accidentally creating duplicate
596
596
  # commitments. The request ID must be a valid UUID with the exception that zero
597
597
  # UUID is not supported (00000000-0000-0000-0000-000000000000).
598
+ # @param [Boolean] validate_only
599
+ # Optional. When supplied with PSC Interface config, will get/create the tenant
600
+ # project required for the customer to allow list and won't actually create the
601
+ # private connection.
598
602
  # @param [String] fields
599
603
  # Selector specifying which fields to include in a partial response.
600
604
  # @param [String] quota_user
@@ -612,7 +616,7 @@ module Google
612
616
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
613
617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
614
618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
615
- def create_project_location_private_connection(parent, private_connection_object = nil, force: nil, private_connection_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
619
+ def create_project_location_private_connection(parent, private_connection_object = nil, force: nil, private_connection_id: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
616
620
  command = make_simple_command(:post, 'v1/{+parent}/privateConnections', options)
617
621
  command.request_representation = Google::Apis::DatastreamV1::PrivateConnection::Representation
618
622
  command.request_object = private_connection_object
@@ -622,6 +626,7 @@ module Google
622
626
  command.query['force'] = force unless force.nil?
623
627
  command.query['privateConnectionId'] = private_connection_id unless private_connection_id.nil?
624
628
  command.query['requestId'] = request_id unless request_id.nil?
629
+ command.query['validateOnly'] = validate_only unless validate_only.nil?
625
630
  command.query['fields'] = fields unless fields.nil?
626
631
  command.query['quotaUser'] = quota_user unless quota_user.nil?
627
632
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,13 +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.45.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-23 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.45.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.46.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: