google-apis-datastream_v1 0.44.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: fd5aeb11183e019d76cbabd5d851aeb517b0ed96c57562b01f3bd0d802e8da59
4
- data.tar.gz: b56ac21e2304071034e3c94ad39f7fd6a8d884856578553250285e21b1ab503e
3
+ metadata.gz: 22e790753d5c38bf0998ab36ede51e00b90b68b9de9e910f5523112cc14a32e3
4
+ data.tar.gz: 1d05199bdb353ee02b842e6ee3f969385231456f532e6347bd21ef8c117543fa
5
5
  SHA512:
6
- metadata.gz: 386d95c30381a3bf60e481cf37588911277ebb3f7a2a15514418420d1c787030301efac6bee393c3a450eb74b35abe1d3b2d264fec674b5e89c7858ecfb93f5d
7
- data.tar.gz: c82045ccf782b7f3f423f8aaa2755c6b322f00ac492d724f1c496e803daa0db6d8fa9e3a225bc1e756bf3cf0cf82401a980091040a80aea4e9fa8450688e8164
6
+ metadata.gz: 703d6f50b7aff8ba863d5ece3ead7cb72647c5d806c0656a6daa44dec52a0f94a24da3ec45b827d8e013414bf52af24fc9cffe6eab316569a66778b8c733301b
7
+ data.tar.gz: afd343bf5bde9aad8fda470b676faa1e6a28d2532f21c78c6ba2c6f045b11bb0c0e58a6f36695d8a1daf2e606553678d077916697c52bd1970de627e4ff83a4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.45.0 (2025-03-02)
8
+
9
+ * Regenerated from discovery document revision 20250219
10
+
3
11
  ### v0.44.0 (2025-01-12)
4
12
 
5
13
  * Regenerated from discovery document revision 20250101
@@ -69,6 +69,11 @@ module Google
69
69
  # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
70
70
  attr_accessor :postgresql_excluded_objects
71
71
 
72
+ # Salesforce organization structure.
73
+ # Corresponds to the JSON property `salesforceExcludedObjects`
74
+ # @return [Google::Apis::DatastreamV1::SalesforceOrg]
75
+ attr_accessor :salesforce_excluded_objects
76
+
72
77
  # SQLServer database structure.
73
78
  # Corresponds to the JSON property `sqlServerExcludedObjects`
74
79
  # @return [Google::Apis::DatastreamV1::SqlServerRdbms]
@@ -83,6 +88,7 @@ module Google
83
88
  @mysql_excluded_objects = args[:mysql_excluded_objects] if args.key?(:mysql_excluded_objects)
84
89
  @oracle_excluded_objects = args[:oracle_excluded_objects] if args.key?(:oracle_excluded_objects)
85
90
  @postgresql_excluded_objects = args[:postgresql_excluded_objects] if args.key?(:postgresql_excluded_objects)
91
+ @salesforce_excluded_objects = args[:salesforce_excluded_objects] if args.key?(:salesforce_excluded_objects)
86
92
  @sql_server_excluded_objects = args[:sql_server_excluded_objects] if args.key?(:sql_server_excluded_objects)
87
93
  end
88
94
  end
@@ -153,6 +159,11 @@ module Google
153
159
  # @return [Google::Apis::DatastreamV1::AppendOnly]
154
160
  attr_accessor :append_only
155
161
 
162
+ # The configuration for BLMT.
163
+ # Corresponds to the JSON property `blmtConfig`
164
+ # @return [Google::Apis::DatastreamV1::BlmtConfig]
165
+ attr_accessor :blmt_config
166
+
156
167
  # The guaranteed data freshness (in seconds) when querying tables created by the
157
168
  # stream. Editing this field will only affect new tables created in the future,
158
169
  # but existing tables will not be impacted. Lower values mean that queries will
@@ -185,6 +196,7 @@ module Google
185
196
  # Update properties of this object
186
197
  def update!(**args)
187
198
  @append_only = args[:append_only] if args.key?(:append_only)
199
+ @blmt_config = args[:blmt_config] if args.key?(:blmt_config)
188
200
  @data_freshness = args[:data_freshness] if args.key?(:data_freshness)
189
201
  @merge = args[:merge] if args.key?(:merge)
190
202
  @single_target_dataset = args[:single_target_dataset] if args.key?(:single_target_dataset)
@@ -243,6 +255,49 @@ module Google
243
255
  end
244
256
  end
245
257
 
258
+ # The configuration for BLMT.
259
+ class BlmtConfig
260
+ include Google::Apis::Core::Hashable
261
+
262
+ # Required. The Cloud Storage bucket name.
263
+ # Corresponds to the JSON property `bucket`
264
+ # @return [String]
265
+ attr_accessor :bucket
266
+
267
+ # Required. The bigquery connection. Format: ``project`.`location`.`name``
268
+ # Corresponds to the JSON property `connectionName`
269
+ # @return [String]
270
+ attr_accessor :connection_name
271
+
272
+ # Required. The file format.
273
+ # Corresponds to the JSON property `fileFormat`
274
+ # @return [String]
275
+ attr_accessor :file_format
276
+
277
+ # The root path inside the Cloud Storage bucket.
278
+ # Corresponds to the JSON property `rootPath`
279
+ # @return [String]
280
+ attr_accessor :root_path
281
+
282
+ # Required. The table format.
283
+ # Corresponds to the JSON property `tableFormat`
284
+ # @return [String]
285
+ attr_accessor :table_format
286
+
287
+ def initialize(**args)
288
+ update!(**args)
289
+ end
290
+
291
+ # Update properties of this object
292
+ def update!(**args)
293
+ @bucket = args[:bucket] if args.key?(:bucket)
294
+ @connection_name = args[:connection_name] if args.key?(:connection_name)
295
+ @file_format = args[:file_format] if args.key?(:file_format)
296
+ @root_path = args[:root_path] if args.key?(:root_path)
297
+ @table_format = args[:table_format] if args.key?(:table_format)
298
+ end
299
+ end
300
+
246
301
  # The request message for Operations.CancelOperation.
247
302
  class CancelOperationRequest
248
303
  include Google::Apis::Core::Hashable
@@ -323,7 +378,7 @@ module Google
323
378
  # @return [Hash<String,String>]
324
379
  attr_accessor :labels
325
380
 
326
- # MySQL database profile. Next ID: 7.
381
+ # MySQL database profile.
327
382
  # Corresponds to the JSON property `mysqlProfile`
328
383
  # @return [Google::Apis::DatastreamV1::MysqlProfile]
329
384
  attr_accessor :mysql_profile
@@ -333,7 +388,7 @@ module Google
333
388
  # @return [String]
334
389
  attr_accessor :name
335
390
 
336
- # Oracle database profile. Next ID: 10.
391
+ # Oracle database profile.
337
392
  # Corresponds to the JSON property `oracleProfile`
338
393
  # @return [Google::Apis::DatastreamV1::OracleProfile]
339
394
  attr_accessor :oracle_profile
@@ -348,7 +403,24 @@ module Google
348
403
  # @return [Google::Apis::DatastreamV1::PrivateConnectivity]
349
404
  attr_accessor :private_connectivity
350
405
 
351
- # SQLServer database profile. Next ID: 8.
406
+ # Salesforce profile
407
+ # Corresponds to the JSON property `salesforceProfile`
408
+ # @return [Google::Apis::DatastreamV1::SalesforceProfile]
409
+ attr_accessor :salesforce_profile
410
+
411
+ # Output only. Reserved for future use.
412
+ # Corresponds to the JSON property `satisfiesPzi`
413
+ # @return [Boolean]
414
+ attr_accessor :satisfies_pzi
415
+ alias_method :satisfies_pzi?, :satisfies_pzi
416
+
417
+ # Output only. Reserved for future use.
418
+ # Corresponds to the JSON property `satisfiesPzs`
419
+ # @return [Boolean]
420
+ attr_accessor :satisfies_pzs
421
+ alias_method :satisfies_pzs?, :satisfies_pzs
422
+
423
+ # SQLServer database profile.
352
424
  # Corresponds to the JSON property `sqlServerProfile`
353
425
  # @return [Google::Apis::DatastreamV1::SqlServerProfile]
354
426
  attr_accessor :sql_server_profile
@@ -382,6 +454,9 @@ module Google
382
454
  @oracle_profile = args[:oracle_profile] if args.key?(:oracle_profile)
383
455
  @postgresql_profile = args[:postgresql_profile] if args.key?(:postgresql_profile)
384
456
  @private_connectivity = args[:private_connectivity] if args.key?(:private_connectivity)
457
+ @salesforce_profile = args[:salesforce_profile] if args.key?(:salesforce_profile)
458
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
459
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
385
460
  @sql_server_profile = args[:sql_server_profile] if args.key?(:sql_server_profile)
386
461
  @static_service_ip_connectivity = args[:static_service_ip_connectivity] if args.key?(:static_service_ip_connectivity)
387
462
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1239,6 +1314,25 @@ module Google
1239
1314
  end
1240
1315
  end
1241
1316
 
1317
+ # MySQL GTID position
1318
+ class MysqlGtidPosition
1319
+ include Google::Apis::Core::Hashable
1320
+
1321
+ # Required. The gtid set to start replication from.
1322
+ # Corresponds to the JSON property `gtidSet`
1323
+ # @return [String]
1324
+ attr_accessor :gtid_set
1325
+
1326
+ def initialize(**args)
1327
+ update!(**args)
1328
+ end
1329
+
1330
+ # Update properties of this object
1331
+ def update!(**args)
1332
+ @gtid_set = args[:gtid_set] if args.key?(:gtid_set)
1333
+ end
1334
+ end
1335
+
1242
1336
  # MySQL log position
1243
1337
  class MysqlLogPosition
1244
1338
  include Google::Apis::Core::Hashable
@@ -1289,7 +1383,7 @@ module Google
1289
1383
  end
1290
1384
  end
1291
1385
 
1292
- # MySQL database profile. Next ID: 7.
1386
+ # MySQL database profile.
1293
1387
  class MysqlProfile
1294
1388
  include Google::Apis::Core::Hashable
1295
1389
 
@@ -1309,6 +1403,12 @@ module Google
1309
1403
  # @return [Fixnum]
1310
1404
  attr_accessor :port
1311
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
+
1312
1412
  # MySQL SSL configuration information.
1313
1413
  # Corresponds to the JSON property `sslConfig`
1314
1414
  # @return [Google::Apis::DatastreamV1::MysqlSslConfig]
@@ -1328,6 +1428,7 @@ module Google
1328
1428
  @hostname = args[:hostname] if args.key?(:hostname)
1329
1429
  @password = args[:password] if args.key?(:password)
1330
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)
1331
1432
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
1332
1433
  @username = args[:username] if args.key?(:username)
1333
1434
  end
@@ -1419,8 +1520,8 @@ module Google
1419
1520
  attr_accessor :ca_certificate_set
1420
1521
  alias_method :ca_certificate_set?, :ca_certificate_set
1421
1522
 
1422
- # Input only. PEM-encoded certificate that will be used by the replica to
1423
- # authenticate against the source database server. If this field is used then
1523
+ # Optional. Input only. PEM-encoded certificate that will be used by the replica
1524
+ # to authenticate against the source database server. If this field is used then
1424
1525
  # the 'client_key' and the 'ca_certificate' fields are mandatory.
1425
1526
  # Corresponds to the JSON property `clientCertificate`
1426
1527
  # @return [String]
@@ -1432,9 +1533,9 @@ module Google
1432
1533
  attr_accessor :client_certificate_set
1433
1534
  alias_method :client_certificate_set?, :client_certificate_set
1434
1535
 
1435
- # Input only. PEM-encoded private key associated with the Client Certificate. If
1436
- # this field is used then the 'client_certificate' and the 'ca_certificate'
1437
- # fields are mandatory.
1536
+ # Optional. Input only. PEM-encoded private key associated with the Client
1537
+ # Certificate. If this field is used then the 'client_certificate' and the '
1538
+ # ca_certificate' fields are mandatory.
1438
1539
  # Corresponds to the JSON property `clientKey`
1439
1540
  # @return [String]
1440
1541
  attr_accessor :client_key
@@ -1500,6 +1601,39 @@ module Google
1500
1601
  end
1501
1602
  end
1502
1603
 
1604
+ # OAuth2 Client Credentials.
1605
+ class Oauth2ClientCredentials
1606
+ include Google::Apis::Core::Hashable
1607
+
1608
+ # Required. Client ID for Salesforce OAuth2 Client Credentials.
1609
+ # Corresponds to the JSON property `clientId`
1610
+ # @return [String]
1611
+ attr_accessor :client_id
1612
+
1613
+ # Optional. Client secret for Salesforce OAuth2 Client Credentials. Mutually
1614
+ # exclusive with the `secret_manager_stored_client_secret` field.
1615
+ # Corresponds to the JSON property `clientSecret`
1616
+ # @return [String]
1617
+ attr_accessor :client_secret
1618
+
1619
+ # Optional. A reference to a Secret Manager resource name storing the Salesforce
1620
+ # OAuth2 client_secret. Mutually exclusive with the `client_secret` field.
1621
+ # Corresponds to the JSON property `secretManagerStoredClientSecret`
1622
+ # @return [String]
1623
+ attr_accessor :secret_manager_stored_client_secret
1624
+
1625
+ def initialize(**args)
1626
+ update!(**args)
1627
+ end
1628
+
1629
+ # Update properties of this object
1630
+ def update!(**args)
1631
+ @client_id = args[:client_id] if args.key?(:client_id)
1632
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
1633
+ @secret_manager_stored_client_secret = args[:secret_manager_stored_client_secret] if args.key?(:secret_manager_stored_client_secret)
1634
+ end
1635
+ end
1636
+
1503
1637
  # This resource represents a long-running operation that is the result of a
1504
1638
  # network API call.
1505
1639
  class Operation
@@ -1627,7 +1761,7 @@ module Google
1627
1761
  end
1628
1762
  end
1629
1763
 
1630
- # Configuration for Oracle Automatic Storage Management (ASM) connection. .
1764
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
1631
1765
  class OracleAsmConfig
1632
1766
  include Google::Apis::Core::Hashable
1633
1767
 
@@ -1651,7 +1785,8 @@ module Google
1651
1785
  # @return [Google::Apis::DatastreamV1::OracleSslConfig]
1652
1786
  attr_accessor :oracle_ssl_config
1653
1787
 
1654
- # 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.
1655
1790
  # Corresponds to the JSON property `password`
1656
1791
  # @return [String]
1657
1792
  attr_accessor :password
@@ -1661,6 +1796,12 @@ module Google
1661
1796
  # @return [Fixnum]
1662
1797
  attr_accessor :port
1663
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
+
1664
1805
  # Required. Username for the Oracle ASM connection.
1665
1806
  # Corresponds to the JSON property `username`
1666
1807
  # @return [String]
@@ -1678,6 +1819,7 @@ module Google
1678
1819
  @oracle_ssl_config = args[:oracle_ssl_config] if args.key?(:oracle_ssl_config)
1679
1820
  @password = args[:password] if args.key?(:password)
1680
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)
1681
1823
  @username = args[:username] if args.key?(:username)
1682
1824
  end
1683
1825
  end
@@ -1789,7 +1931,7 @@ module Google
1789
1931
  end
1790
1932
  end
1791
1933
 
1792
- # Oracle database profile. Next ID: 10.
1934
+ # Oracle database profile.
1793
1935
  class OracleProfile
1794
1936
  include Google::Apis::Core::Hashable
1795
1937
 
@@ -1808,7 +1950,7 @@ module Google
1808
1950
  # @return [String]
1809
1951
  attr_accessor :hostname
1810
1952
 
1811
- # Configuration for Oracle Automatic Storage Management (ASM) connection. .
1953
+ # Configuration for Oracle Automatic Storage Management (ASM) connection.
1812
1954
  # Corresponds to the JSON property `oracleAsmConfig`
1813
1955
  # @return [Google::Apis::DatastreamV1::OracleAsmConfig]
1814
1956
  attr_accessor :oracle_asm_config
@@ -2151,6 +2293,12 @@ module Google
2151
2293
  # @return [Fixnum]
2152
2294
  attr_accessor :port
2153
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
+
2154
2302
  # PostgreSQL SSL configuration information.
2155
2303
  # Corresponds to the JSON property `sslConfig`
2156
2304
  # @return [Google::Apis::DatastreamV1::PostgresqlSslConfig]
@@ -2171,6 +2319,7 @@ module Google
2171
2319
  @hostname = args[:hostname] if args.key?(:hostname)
2172
2320
  @password = args[:password] if args.key?(:password)
2173
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)
2174
2323
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
2175
2324
  @username = args[:username] if args.key?(:username)
2176
2325
  end
@@ -2352,6 +2501,24 @@ module Google
2352
2501
  # @return [String]
2353
2502
  attr_accessor :name
2354
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
+
2510
+ # Output only. Reserved for future use.
2511
+ # Corresponds to the JSON property `satisfiesPzi`
2512
+ # @return [Boolean]
2513
+ attr_accessor :satisfies_pzi
2514
+ alias_method :satisfies_pzi?, :satisfies_pzi
2515
+
2516
+ # Output only. Reserved for future use.
2517
+ # Corresponds to the JSON property `satisfiesPzs`
2518
+ # @return [Boolean]
2519
+ attr_accessor :satisfies_pzs
2520
+ alias_method :satisfies_pzs?, :satisfies_pzs
2521
+
2355
2522
  # Output only. The state of the Private Connection.
2356
2523
  # Corresponds to the JSON property `state`
2357
2524
  # @return [String]
@@ -2379,6 +2546,9 @@ module Google
2379
2546
  @error = args[:error] if args.key?(:error)
2380
2547
  @labels = args[:labels] if args.key?(:labels)
2381
2548
  @name = args[:name] if args.key?(:name)
2549
+ @psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
2550
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
2551
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
2382
2552
  @state = args[:state] if args.key?(:state)
2383
2553
  @update_time = args[:update_time] if args.key?(:update_time)
2384
2554
  @vpc_peering_config = args[:vpc_peering_config] if args.key?(:vpc_peering_config)
@@ -2405,6 +2575,28 @@ module Google
2405
2575
  end
2406
2576
  end
2407
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
+
2408
2600
  # The route resource is the child of the private connection resource, used for
2409
2601
  # defining a route for a private connection.
2410
2602
  class Route
@@ -2487,6 +2679,166 @@ module Google
2487
2679
  end
2488
2680
  end
2489
2681
 
2682
+ # Salesforce field.
2683
+ class SalesforceField
2684
+ include Google::Apis::Core::Hashable
2685
+
2686
+ # The data type.
2687
+ # Corresponds to the JSON property `dataType`
2688
+ # @return [String]
2689
+ attr_accessor :data_type
2690
+
2691
+ # Field name.
2692
+ # Corresponds to the JSON property `name`
2693
+ # @return [String]
2694
+ attr_accessor :name
2695
+
2696
+ # Indicates whether the field can accept nil values.
2697
+ # Corresponds to the JSON property `nillable`
2698
+ # @return [Boolean]
2699
+ attr_accessor :nillable
2700
+ alias_method :nillable?, :nillable
2701
+
2702
+ def initialize(**args)
2703
+ update!(**args)
2704
+ end
2705
+
2706
+ # Update properties of this object
2707
+ def update!(**args)
2708
+ @data_type = args[:data_type] if args.key?(:data_type)
2709
+ @name = args[:name] if args.key?(:name)
2710
+ @nillable = args[:nillable] if args.key?(:nillable)
2711
+ end
2712
+ end
2713
+
2714
+ # Salesforce object.
2715
+ class SalesforceObject
2716
+ include Google::Apis::Core::Hashable
2717
+
2718
+ # Salesforce fields. When unspecified as part of include objects, includes
2719
+ # everything, when unspecified as part of exclude objects, excludes nothing.
2720
+ # Corresponds to the JSON property `fields`
2721
+ # @return [Array<Google::Apis::DatastreamV1::SalesforceField>]
2722
+ attr_accessor :fields
2723
+
2724
+ # Object name.
2725
+ # Corresponds to the JSON property `objectName`
2726
+ # @return [String]
2727
+ attr_accessor :object_name
2728
+
2729
+ def initialize(**args)
2730
+ update!(**args)
2731
+ end
2732
+
2733
+ # Update properties of this object
2734
+ def update!(**args)
2735
+ @fields = args[:fields] if args.key?(:fields)
2736
+ @object_name = args[:object_name] if args.key?(:object_name)
2737
+ end
2738
+ end
2739
+
2740
+ # Salesforce data source object identifier.
2741
+ class SalesforceObjectIdentifier
2742
+ include Google::Apis::Core::Hashable
2743
+
2744
+ # Required. The object name.
2745
+ # Corresponds to the JSON property `objectName`
2746
+ # @return [String]
2747
+ attr_accessor :object_name
2748
+
2749
+ def initialize(**args)
2750
+ update!(**args)
2751
+ end
2752
+
2753
+ # Update properties of this object
2754
+ def update!(**args)
2755
+ @object_name = args[:object_name] if args.key?(:object_name)
2756
+ end
2757
+ end
2758
+
2759
+ # Salesforce organization structure.
2760
+ class SalesforceOrg
2761
+ include Google::Apis::Core::Hashable
2762
+
2763
+ # Salesforce objects in the database server.
2764
+ # Corresponds to the JSON property `objects`
2765
+ # @return [Array<Google::Apis::DatastreamV1::SalesforceObject>]
2766
+ attr_accessor :objects
2767
+
2768
+ def initialize(**args)
2769
+ update!(**args)
2770
+ end
2771
+
2772
+ # Update properties of this object
2773
+ def update!(**args)
2774
+ @objects = args[:objects] if args.key?(:objects)
2775
+ end
2776
+ end
2777
+
2778
+ # Salesforce profile
2779
+ class SalesforceProfile
2780
+ include Google::Apis::Core::Hashable
2781
+
2782
+ # Required. Domain endpoint for the Salesforce connection.
2783
+ # Corresponds to the JSON property `domain`
2784
+ # @return [String]
2785
+ attr_accessor :domain
2786
+
2787
+ # OAuth2 Client Credentials.
2788
+ # Corresponds to the JSON property `oauth2ClientCredentials`
2789
+ # @return [Google::Apis::DatastreamV1::Oauth2ClientCredentials]
2790
+ attr_accessor :oauth2_client_credentials
2791
+
2792
+ # Username-password credentials.
2793
+ # Corresponds to the JSON property `userCredentials`
2794
+ # @return [Google::Apis::DatastreamV1::UserCredentials]
2795
+ attr_accessor :user_credentials
2796
+
2797
+ def initialize(**args)
2798
+ update!(**args)
2799
+ end
2800
+
2801
+ # Update properties of this object
2802
+ def update!(**args)
2803
+ @domain = args[:domain] if args.key?(:domain)
2804
+ @oauth2_client_credentials = args[:oauth2_client_credentials] if args.key?(:oauth2_client_credentials)
2805
+ @user_credentials = args[:user_credentials] if args.key?(:user_credentials)
2806
+ end
2807
+ end
2808
+
2809
+ # Salesforce source configuration
2810
+ class SalesforceSourceConfig
2811
+ include Google::Apis::Core::Hashable
2812
+
2813
+ # Salesforce organization structure.
2814
+ # Corresponds to the JSON property `excludeObjects`
2815
+ # @return [Google::Apis::DatastreamV1::SalesforceOrg]
2816
+ attr_accessor :exclude_objects
2817
+
2818
+ # Salesforce organization structure.
2819
+ # Corresponds to the JSON property `includeObjects`
2820
+ # @return [Google::Apis::DatastreamV1::SalesforceOrg]
2821
+ attr_accessor :include_objects
2822
+
2823
+ # Required. Salesforce objects polling interval. The interval at which new
2824
+ # changes will be polled for each object. The duration must be between 5 minutes
2825
+ # and 24 hours.
2826
+ # Corresponds to the JSON property `pollingInterval`
2827
+ # @return [String]
2828
+ attr_accessor :polling_interval
2829
+
2830
+ def initialize(**args)
2831
+ update!(**args)
2832
+ end
2833
+
2834
+ # Update properties of this object
2835
+ def update!(**args)
2836
+ @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
2837
+ @include_objects = args[:include_objects] if args.key?(:include_objects)
2838
+ @polling_interval = args[:polling_interval] if args.key?(:polling_interval)
2839
+ end
2840
+ end
2841
+
2490
2842
  # Message represents the option where Datastream will enforce the encryption and
2491
2843
  # authenticate the server identity as well as the client identity.
2492
2844
  # ca_certificate, client_certificate and client_key must be set if user selects
@@ -2508,7 +2860,7 @@ module Google
2508
2860
  # @return [String]
2509
2861
  attr_accessor :client_certificate
2510
2862
 
2511
- # Required. Input only. PEM-encoded private key associated with the client
2863
+ # Optional. Input only. PEM-encoded private key associated with the client
2512
2864
  # certificate. This value will be used during the SSL/TLS handshake, allowing
2513
2865
  # the PostgreSQL server to authenticate the client's identity, i.e. identity of
2514
2866
  # the Datastream.
@@ -2588,7 +2940,12 @@ module Google
2588
2940
  # @return [Google::Apis::DatastreamV1::PostgresqlSourceConfig]
2589
2941
  attr_accessor :postgresql_source_config
2590
2942
 
2591
- # Required. Source connection profile resoource. Format: `projects/`project`/
2943
+ # Salesforce source configuration
2944
+ # Corresponds to the JSON property `salesforceSourceConfig`
2945
+ # @return [Google::Apis::DatastreamV1::SalesforceSourceConfig]
2946
+ attr_accessor :salesforce_source_config
2947
+
2948
+ # Required. Source connection profile resource. Format: `projects/`project`/
2592
2949
  # locations/`location`/connectionProfiles/`name``
2593
2950
  # Corresponds to the JSON property `sourceConnectionProfile`
2594
2951
  # @return [String]
@@ -2608,6 +2965,7 @@ module Google
2608
2965
  @mysql_source_config = args[:mysql_source_config] if args.key?(:mysql_source_config)
2609
2966
  @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config)
2610
2967
  @postgresql_source_config = args[:postgresql_source_config] if args.key?(:postgresql_source_config)
2968
+ @salesforce_source_config = args[:salesforce_source_config] if args.key?(:salesforce_source_config)
2611
2969
  @source_connection_profile = args[:source_connection_profile] if args.key?(:source_connection_profile)
2612
2970
  @sql_server_source_config = args[:sql_server_source_config] if args.key?(:sql_server_source_config)
2613
2971
  end
@@ -2652,6 +3010,11 @@ module Google
2652
3010
  # @return [Google::Apis::DatastreamV1::PostgresqlObjectIdentifier]
2653
3011
  attr_accessor :postgresql_identifier
2654
3012
 
3013
+ # Salesforce data source object identifier.
3014
+ # Corresponds to the JSON property `salesforceIdentifier`
3015
+ # @return [Google::Apis::DatastreamV1::SalesforceObjectIdentifier]
3016
+ attr_accessor :salesforce_identifier
3017
+
2655
3018
  # SQLServer data source object identifier.
2656
3019
  # Corresponds to the JSON property `sqlServerIdentifier`
2657
3020
  # @return [Google::Apis::DatastreamV1::SqlServerObjectIdentifier]
@@ -2666,6 +3029,7 @@ module Google
2666
3029
  @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
2667
3030
  @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
2668
3031
  @postgresql_identifier = args[:postgresql_identifier] if args.key?(:postgresql_identifier)
3032
+ @salesforce_identifier = args[:salesforce_identifier] if args.key?(:salesforce_identifier)
2669
3033
  @sql_server_identifier = args[:sql_server_identifier] if args.key?(:sql_server_identifier)
2670
3034
  end
2671
3035
  end
@@ -2674,6 +3038,11 @@ module Google
2674
3038
  class SpecificStartPosition
2675
3039
  include Google::Apis::Core::Hashable
2676
3040
 
3041
+ # MySQL GTID position
3042
+ # Corresponds to the JSON property `mysqlGtidPosition`
3043
+ # @return [Google::Apis::DatastreamV1::MysqlGtidPosition]
3044
+ attr_accessor :mysql_gtid_position
3045
+
2677
3046
  # MySQL log position
2678
3047
  # Corresponds to the JSON property `mysqlLogPosition`
2679
3048
  # @return [Google::Apis::DatastreamV1::MysqlLogPosition]
@@ -2695,6 +3064,7 @@ module Google
2695
3064
 
2696
3065
  # Update properties of this object
2697
3066
  def update!(**args)
3067
+ @mysql_gtid_position = args[:mysql_gtid_position] if args.key?(:mysql_gtid_position)
2698
3068
  @mysql_log_position = args[:mysql_log_position] if args.key?(:mysql_log_position)
2699
3069
  @oracle_scn_position = args[:oracle_scn_position] if args.key?(:oracle_scn_position)
2700
3070
  @sql_server_lsn_position = args[:sql_server_lsn_position] if args.key?(:sql_server_lsn_position)
@@ -2821,7 +3191,7 @@ module Google
2821
3191
  end
2822
3192
  end
2823
3193
 
2824
- # SQLServer database profile. Next ID: 8.
3194
+ # SQLServer database profile.
2825
3195
  class SqlServerProfile
2826
3196
  include Google::Apis::Core::Hashable
2827
3197
 
@@ -2846,6 +3216,12 @@ module Google
2846
3216
  # @return [Fixnum]
2847
3217
  attr_accessor :port
2848
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
+
2849
3225
  # Required. Username for the SQLServer connection.
2850
3226
  # Corresponds to the JSON property `username`
2851
3227
  # @return [String]
@@ -2861,6 +3237,7 @@ module Google
2861
3237
  @hostname = args[:hostname] if args.key?(:hostname)
2862
3238
  @password = args[:password] if args.key?(:password)
2863
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)
2864
3241
  @username = args[:username] if args.key?(:username)
2865
3242
  end
2866
3243
  end
@@ -3174,6 +3551,18 @@ module Google
3174
3551
  # @return [String]
3175
3552
  attr_accessor :name
3176
3553
 
3554
+ # Output only. Reserved for future use.
3555
+ # Corresponds to the JSON property `satisfiesPzi`
3556
+ # @return [Boolean]
3557
+ attr_accessor :satisfies_pzi
3558
+ alias_method :satisfies_pzi?, :satisfies_pzi
3559
+
3560
+ # Output only. Reserved for future use.
3561
+ # Corresponds to the JSON property `satisfiesPzs`
3562
+ # @return [Boolean]
3563
+ attr_accessor :satisfies_pzs
3564
+ alias_method :satisfies_pzs?, :satisfies_pzs
3565
+
3177
3566
  # The configuration of the stream source.
3178
3567
  # Corresponds to the JSON property `sourceConfig`
3179
3568
  # @return [Google::Apis::DatastreamV1::SourceConfig]
@@ -3205,6 +3594,8 @@ module Google
3205
3594
  @labels = args[:labels] if args.key?(:labels)
3206
3595
  @last_recovery_time = args[:last_recovery_time] if args.key?(:last_recovery_time)
3207
3596
  @name = args[:name] if args.key?(:name)
3597
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
3598
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
3208
3599
  @source_config = args[:source_config] if args.key?(:source_config)
3209
3600
  @state = args[:state] if args.key?(:state)
3210
3601
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -3279,6 +3670,54 @@ module Google
3279
3670
  end
3280
3671
  end
3281
3672
 
3673
+ # Username-password credentials.
3674
+ class UserCredentials
3675
+ include Google::Apis::Core::Hashable
3676
+
3677
+ # Optional. Password for the Salesforce connection. Mutually exclusive with the `
3678
+ # secret_manager_stored_password` field.
3679
+ # Corresponds to the JSON property `password`
3680
+ # @return [String]
3681
+ attr_accessor :password
3682
+
3683
+ # Optional. A reference to a Secret Manager resource name storing the Salesforce
3684
+ # connection's password. Mutually exclusive with the `password` field.
3685
+ # Corresponds to the JSON property `secretManagerStoredPassword`
3686
+ # @return [String]
3687
+ attr_accessor :secret_manager_stored_password
3688
+
3689
+ # Optional. A reference to a Secret Manager resource name storing the Salesforce
3690
+ # connection's security token. Mutually exclusive with the `security_token`
3691
+ # field.
3692
+ # Corresponds to the JSON property `secretManagerStoredSecurityToken`
3693
+ # @return [String]
3694
+ attr_accessor :secret_manager_stored_security_token
3695
+
3696
+ # Optional. Security token for the Salesforce connection. Mutually exclusive
3697
+ # with the `secret_manager_stored_security_token` field.
3698
+ # Corresponds to the JSON property `securityToken`
3699
+ # @return [String]
3700
+ attr_accessor :security_token
3701
+
3702
+ # Required. Username for the Salesforce connection.
3703
+ # Corresponds to the JSON property `username`
3704
+ # @return [String]
3705
+ attr_accessor :username
3706
+
3707
+ def initialize(**args)
3708
+ update!(**args)
3709
+ end
3710
+
3711
+ # Update properties of this object
3712
+ def update!(**args)
3713
+ @password = args[:password] if args.key?(:password)
3714
+ @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password)
3715
+ @secret_manager_stored_security_token = args[:secret_manager_stored_security_token] if args.key?(:secret_manager_stored_security_token)
3716
+ @security_token = args[:security_token] if args.key?(:security_token)
3717
+ @username = args[:username] if args.key?(:username)
3718
+ end
3719
+ end
3720
+
3282
3721
  # A validation to perform on a stream.
3283
3722
  class Validation
3284
3723
  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.44.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 = "20250101"
25
+ REVISION = "20250316"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class BlmtConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class CancelOperationRequest
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class MysqlGtidPosition
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class MysqlLogPosition
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -310,6 +322,12 @@ module Google
310
322
  include Google::Apis::Core::JsonObjectSupport
311
323
  end
312
324
 
325
+ class Oauth2ClientCredentials
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
313
331
  class Operation
314
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
333
 
@@ -448,6 +466,12 @@ module Google
448
466
  include Google::Apis::Core::JsonObjectSupport
449
467
  end
450
468
 
469
+ class PscInterfaceConfig
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
451
475
  class Route
452
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
477
 
@@ -460,6 +484,42 @@ module Google
460
484
  include Google::Apis::Core::JsonObjectSupport
461
485
  end
462
486
 
487
+ class SalesforceField
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class SalesforceObject
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class SalesforceObjectIdentifier
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class SalesforceOrg
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class SalesforceProfile
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class SalesforceSourceConfig
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
463
523
  class ServerAndClientVerification
464
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
525
 
@@ -616,6 +676,12 @@ module Google
616
676
  include Google::Apis::Core::JsonObjectSupport
617
677
  end
618
678
 
679
+ class UserCredentials
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
619
685
  class Validation
620
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
687
 
@@ -661,6 +727,8 @@ module Google
661
727
 
662
728
  property :postgresql_excluded_objects, as: 'postgresqlExcludedObjects', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
663
729
 
730
+ property :salesforce_excluded_objects, as: 'salesforceExcludedObjects', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
731
+
664
732
  property :sql_server_excluded_objects, as: 'sqlServerExcludedObjects', class: Google::Apis::DatastreamV1::SqlServerRdbms, decorator: Google::Apis::DatastreamV1::SqlServerRdbms::Representation
665
733
 
666
734
  end
@@ -689,6 +757,8 @@ module Google
689
757
  class Representation < Google::Apis::Core::JsonRepresentation
690
758
  property :append_only, as: 'appendOnly', class: Google::Apis::DatastreamV1::AppendOnly, decorator: Google::Apis::DatastreamV1::AppendOnly::Representation
691
759
 
760
+ property :blmt_config, as: 'blmtConfig', class: Google::Apis::DatastreamV1::BlmtConfig, decorator: Google::Apis::DatastreamV1::BlmtConfig::Representation
761
+
692
762
  property :data_freshness, as: 'dataFreshness'
693
763
  property :merge, as: 'merge', class: Google::Apis::DatastreamV1::Merge, decorator: Google::Apis::DatastreamV1::Merge::Representation
694
764
 
@@ -721,6 +791,17 @@ module Google
721
791
  end
722
792
  end
723
793
 
794
+ class BlmtConfig
795
+ # @private
796
+ class Representation < Google::Apis::Core::JsonRepresentation
797
+ property :bucket, as: 'bucket'
798
+ property :connection_name, as: 'connectionName'
799
+ property :file_format, as: 'fileFormat'
800
+ property :root_path, as: 'rootPath'
801
+ property :table_format, as: 'tableFormat'
802
+ end
803
+ end
804
+
724
805
  class CancelOperationRequest
725
806
  # @private
726
807
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -760,6 +841,10 @@ module Google
760
841
 
761
842
  property :private_connectivity, as: 'privateConnectivity', class: Google::Apis::DatastreamV1::PrivateConnectivity, decorator: Google::Apis::DatastreamV1::PrivateConnectivity::Representation
762
843
 
844
+ property :salesforce_profile, as: 'salesforceProfile', class: Google::Apis::DatastreamV1::SalesforceProfile, decorator: Google::Apis::DatastreamV1::SalesforceProfile::Representation
845
+
846
+ property :satisfies_pzi, as: 'satisfiesPzi'
847
+ property :satisfies_pzs, as: 'satisfiesPzs'
763
848
  property :sql_server_profile, as: 'sqlServerProfile', class: Google::Apis::DatastreamV1::SqlServerProfile, decorator: Google::Apis::DatastreamV1::SqlServerProfile::Representation
764
849
 
765
850
  property :static_service_ip_connectivity, as: 'staticServiceIpConnectivity', class: Google::Apis::DatastreamV1::StaticServiceIpConnectivity, decorator: Google::Apis::DatastreamV1::StaticServiceIpConnectivity::Representation
@@ -1034,6 +1119,13 @@ module Google
1034
1119
  end
1035
1120
  end
1036
1121
 
1122
+ class MysqlGtidPosition
1123
+ # @private
1124
+ class Representation < Google::Apis::Core::JsonRepresentation
1125
+ property :gtid_set, as: 'gtidSet'
1126
+ end
1127
+ end
1128
+
1037
1129
  class MysqlLogPosition
1038
1130
  # @private
1039
1131
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1056,6 +1148,7 @@ module Google
1056
1148
  property :hostname, as: 'hostname'
1057
1149
  property :password, as: 'password'
1058
1150
  property :port, as: 'port'
1151
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1059
1152
  property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::MysqlSslConfig, decorator: Google::Apis::DatastreamV1::MysqlSslConfig::Representation
1060
1153
 
1061
1154
  property :username, as: 'username'
@@ -1113,6 +1206,15 @@ module Google
1113
1206
  end
1114
1207
  end
1115
1208
 
1209
+ class Oauth2ClientCredentials
1210
+ # @private
1211
+ class Representation < Google::Apis::Core::JsonRepresentation
1212
+ property :client_id, as: 'clientId'
1213
+ property :client_secret, as: 'clientSecret'
1214
+ property :secret_manager_stored_client_secret, as: 'secretManagerStoredClientSecret'
1215
+ end
1216
+ end
1217
+
1116
1218
  class Operation
1117
1219
  # @private
1118
1220
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1150,6 +1252,7 @@ module Google
1150
1252
 
1151
1253
  property :password, as: 'password'
1152
1254
  property :port, as: 'port'
1255
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1153
1256
  property :username, as: 'username'
1154
1257
  end
1155
1258
  end
@@ -1290,6 +1393,7 @@ module Google
1290
1393
  property :hostname, as: 'hostname'
1291
1394
  property :password, as: 'password'
1292
1395
  property :port, as: 'port'
1396
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1293
1397
  property :ssl_config, as: 'sslConfig', class: Google::Apis::DatastreamV1::PostgresqlSslConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSslConfig::Representation
1294
1398
 
1295
1399
  property :username, as: 'username'
@@ -1354,6 +1458,10 @@ module Google
1354
1458
 
1355
1459
  hash :labels, as: 'labels'
1356
1460
  property :name, as: 'name'
1461
+ property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::DatastreamV1::PscInterfaceConfig, decorator: Google::Apis::DatastreamV1::PscInterfaceConfig::Representation
1462
+
1463
+ property :satisfies_pzi, as: 'satisfiesPzi'
1464
+ property :satisfies_pzs, as: 'satisfiesPzs'
1357
1465
  property :state, as: 'state'
1358
1466
  property :update_time, as: 'updateTime'
1359
1467
  property :vpc_peering_config, as: 'vpcPeeringConfig', class: Google::Apis::DatastreamV1::VpcPeeringConfig, decorator: Google::Apis::DatastreamV1::VpcPeeringConfig::Representation
@@ -1368,6 +1476,13 @@ module Google
1368
1476
  end
1369
1477
  end
1370
1478
 
1479
+ class PscInterfaceConfig
1480
+ # @private
1481
+ class Representation < Google::Apis::Core::JsonRepresentation
1482
+ property :network_attachment, as: 'networkAttachment'
1483
+ end
1484
+ end
1485
+
1371
1486
  class Route
1372
1487
  # @private
1373
1488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1390,6 +1505,61 @@ module Google
1390
1505
  end
1391
1506
  end
1392
1507
 
1508
+ class SalesforceField
1509
+ # @private
1510
+ class Representation < Google::Apis::Core::JsonRepresentation
1511
+ property :data_type, as: 'dataType'
1512
+ property :name, as: 'name'
1513
+ property :nillable, as: 'nillable'
1514
+ end
1515
+ end
1516
+
1517
+ class SalesforceObject
1518
+ # @private
1519
+ class Representation < Google::Apis::Core::JsonRepresentation
1520
+ collection :fields, as: 'fields', class: Google::Apis::DatastreamV1::SalesforceField, decorator: Google::Apis::DatastreamV1::SalesforceField::Representation
1521
+
1522
+ property :object_name, as: 'objectName'
1523
+ end
1524
+ end
1525
+
1526
+ class SalesforceObjectIdentifier
1527
+ # @private
1528
+ class Representation < Google::Apis::Core::JsonRepresentation
1529
+ property :object_name, as: 'objectName'
1530
+ end
1531
+ end
1532
+
1533
+ class SalesforceOrg
1534
+ # @private
1535
+ class Representation < Google::Apis::Core::JsonRepresentation
1536
+ collection :objects, as: 'objects', class: Google::Apis::DatastreamV1::SalesforceObject, decorator: Google::Apis::DatastreamV1::SalesforceObject::Representation
1537
+
1538
+ end
1539
+ end
1540
+
1541
+ class SalesforceProfile
1542
+ # @private
1543
+ class Representation < Google::Apis::Core::JsonRepresentation
1544
+ property :domain, as: 'domain'
1545
+ property :oauth2_client_credentials, as: 'oauth2ClientCredentials', class: Google::Apis::DatastreamV1::Oauth2ClientCredentials, decorator: Google::Apis::DatastreamV1::Oauth2ClientCredentials::Representation
1546
+
1547
+ property :user_credentials, as: 'userCredentials', class: Google::Apis::DatastreamV1::UserCredentials, decorator: Google::Apis::DatastreamV1::UserCredentials::Representation
1548
+
1549
+ end
1550
+ end
1551
+
1552
+ class SalesforceSourceConfig
1553
+ # @private
1554
+ class Representation < Google::Apis::Core::JsonRepresentation
1555
+ property :exclude_objects, as: 'excludeObjects', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
1556
+
1557
+ property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::SalesforceOrg, decorator: Google::Apis::DatastreamV1::SalesforceOrg::Representation
1558
+
1559
+ property :polling_interval, as: 'pollingInterval'
1560
+ end
1561
+ end
1562
+
1393
1563
  class ServerAndClientVerification
1394
1564
  # @private
1395
1565
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1422,6 +1592,8 @@ module Google
1422
1592
 
1423
1593
  property :postgresql_source_config, as: 'postgresqlSourceConfig', class: Google::Apis::DatastreamV1::PostgresqlSourceConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSourceConfig::Representation
1424
1594
 
1595
+ property :salesforce_source_config, as: 'salesforceSourceConfig', class: Google::Apis::DatastreamV1::SalesforceSourceConfig, decorator: Google::Apis::DatastreamV1::SalesforceSourceConfig::Representation
1596
+
1425
1597
  property :source_connection_profile, as: 'sourceConnectionProfile'
1426
1598
  property :sql_server_source_config, as: 'sqlServerSourceConfig', class: Google::Apis::DatastreamV1::SqlServerSourceConfig, decorator: Google::Apis::DatastreamV1::SqlServerSourceConfig::Representation
1427
1599
 
@@ -1445,6 +1617,8 @@ module Google
1445
1617
 
1446
1618
  property :postgresql_identifier, as: 'postgresqlIdentifier', class: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier, decorator: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier::Representation
1447
1619
 
1620
+ property :salesforce_identifier, as: 'salesforceIdentifier', class: Google::Apis::DatastreamV1::SalesforceObjectIdentifier, decorator: Google::Apis::DatastreamV1::SalesforceObjectIdentifier::Representation
1621
+
1448
1622
  property :sql_server_identifier, as: 'sqlServerIdentifier', class: Google::Apis::DatastreamV1::SqlServerObjectIdentifier, decorator: Google::Apis::DatastreamV1::SqlServerObjectIdentifier::Representation
1449
1623
 
1450
1624
  end
@@ -1453,6 +1627,8 @@ module Google
1453
1627
  class SpecificStartPosition
1454
1628
  # @private
1455
1629
  class Representation < Google::Apis::Core::JsonRepresentation
1630
+ property :mysql_gtid_position, as: 'mysqlGtidPosition', class: Google::Apis::DatastreamV1::MysqlGtidPosition, decorator: Google::Apis::DatastreamV1::MysqlGtidPosition::Representation
1631
+
1456
1632
  property :mysql_log_position, as: 'mysqlLogPosition', class: Google::Apis::DatastreamV1::MysqlLogPosition, decorator: Google::Apis::DatastreamV1::MysqlLogPosition::Representation
1457
1633
 
1458
1634
  property :oracle_scn_position, as: 'oracleScnPosition', class: Google::Apis::DatastreamV1::OracleScnPosition, decorator: Google::Apis::DatastreamV1::OracleScnPosition::Representation
@@ -1504,6 +1680,7 @@ module Google
1504
1680
  property :hostname, as: 'hostname'
1505
1681
  property :password, as: 'password'
1506
1682
  property :port, as: 'port'
1683
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1507
1684
  property :username, as: 'username'
1508
1685
  end
1509
1686
  end
@@ -1616,6 +1793,8 @@ module Google
1616
1793
  hash :labels, as: 'labels'
1617
1794
  property :last_recovery_time, as: 'lastRecoveryTime'
1618
1795
  property :name, as: 'name'
1796
+ property :satisfies_pzi, as: 'satisfiesPzi'
1797
+ property :satisfies_pzs, as: 'satisfiesPzs'
1619
1798
  property :source_config, as: 'sourceConfig', class: Google::Apis::DatastreamV1::SourceConfig, decorator: Google::Apis::DatastreamV1::SourceConfig::Representation
1620
1799
 
1621
1800
  property :state, as: 'state'
@@ -1645,6 +1824,17 @@ module Google
1645
1824
  end
1646
1825
  end
1647
1826
 
1827
+ class UserCredentials
1828
+ # @private
1829
+ class Representation < Google::Apis::Core::JsonRepresentation
1830
+ property :password, as: 'password'
1831
+ property :secret_manager_stored_password, as: 'secretManagerStoredPassword'
1832
+ property :secret_manager_stored_security_token, as: 'secretManagerStoredSecurityToken'
1833
+ property :security_token, as: 'securityToken'
1834
+ property :username, as: 'username'
1835
+ end
1836
+ end
1837
+
1648
1838
  class Validation
1649
1839
  # @private
1650
1840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.44.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-01-12 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.44.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.2
76
+ rubygems_version: 3.6.5
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Datastream API V1
79
79
  test_files: []