google-apis-datastream_v1 0.11.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 576bc93a3b377a40dcb9e513f9efa1514c340bf2ea5ec3e56e787285a9ff3006
4
- data.tar.gz: e9dfbe7cd93fa5c549809d11f1e709a2a6179cc10836e9d5138c2e0588f76eed
3
+ metadata.gz: e5c0586a195dd9d944c8e43d200fd78d981c33c3ccefc398128a04fddb03390a
4
+ data.tar.gz: 367fb706e2afb530ef373dd75d213a01d9f0a84ae0d6d073a2361ca7436d55fe
5
5
  SHA512:
6
- metadata.gz: 86462e6f50b68bf3e19d660080a5c938cb9f8b91304a254b6b33c6986d2eae22129d543c55a48a31a187489fcecdb4549b4010078e81cd7b090c88e6d71f8400
7
- data.tar.gz: f4888d3acc3e9d321b69b07ff8d3d59f9c3ca2113affb4d5d3e2a744884a5e80d9567520d9b2894652ef4764b7c21a8206669279b08823deaa6f3ab030936562
6
+ metadata.gz: 0b3114de6a1c8703f792b2a7d8448d3d5414dc0988ff345ada843972c66f5b974ce4f09ba919aa7990bf1948105cc02a844583992c8747d473d6c0bd9cb5d15e
7
+ data.tar.gz: c0d8c730179eb72856142b3f95da52745da3c681464ab2e15fec4585c364e11d6d3d990a8d750de151221fba220f1808a96159ca5df8dd5809ef5e1d145694d8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.14.0 (2022-08-24)
4
+
5
+ * Regenerated from discovery document revision 20220817
6
+
7
+ ### v0.13.0 (2022-07-22)
8
+
9
+ * Regenerated from discovery document revision 20220711
10
+
11
+ ### v0.12.0 (2022-07-08)
12
+
13
+ * Regenerated from discovery document revision 20220629
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.11.0 (2022-07-02)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -50,6 +50,11 @@ module Google
50
50
  # @return [Google::Apis::DatastreamV1::OracleRdbms]
51
51
  attr_accessor :oracle_excluded_objects
52
52
 
53
+ # PostgreSQL database structure.
54
+ # Corresponds to the JSON property `postgresqlExcludedObjects`
55
+ # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
56
+ attr_accessor :postgresql_excluded_objects
57
+
53
58
  def initialize(**args)
54
59
  update!(**args)
55
60
  end
@@ -58,6 +63,7 @@ module Google
58
63
  def update!(**args)
59
64
  @mysql_excluded_objects = args[:mysql_excluded_objects] if args.key?(:mysql_excluded_objects)
60
65
  @oracle_excluded_objects = args[:oracle_excluded_objects] if args.key?(:oracle_excluded_objects)
66
+ @postgresql_excluded_objects = args[:postgresql_excluded_objects] if args.key?(:postgresql_excluded_objects)
61
67
  end
62
68
  end
63
69
 
@@ -117,6 +123,54 @@ module Google
117
123
  end
118
124
  end
119
125
 
126
+ #
127
+ class BigQueryDestinationConfig
128
+ include Google::Apis::Core::Hashable
129
+
130
+ # The guaranteed data freshness (in seconds) when querying tables created by the
131
+ # stream. Editing this field will only affect new tables created in the future,
132
+ # but existing tables will not be impacted. Lower values mean that queries will
133
+ # return fresher data, but may result in higher cost.
134
+ # Corresponds to the JSON property `dataFreshness`
135
+ # @return [String]
136
+ attr_accessor :data_freshness
137
+
138
+ # A single target dataset to which all data will be streamed.
139
+ # Corresponds to the JSON property `singleTargetDataset`
140
+ # @return [Google::Apis::DatastreamV1::SingleTargetDataset]
141
+ attr_accessor :single_target_dataset
142
+
143
+ # Destination datasets are created so that hierarchy of the destination data
144
+ # objects matches the source hierarchy.
145
+ # Corresponds to the JSON property `sourceHierarchyDatasets`
146
+ # @return [Google::Apis::DatastreamV1::SourceHierarchyDatasets]
147
+ attr_accessor :source_hierarchy_datasets
148
+
149
+ def initialize(**args)
150
+ update!(**args)
151
+ end
152
+
153
+ # Update properties of this object
154
+ def update!(**args)
155
+ @data_freshness = args[:data_freshness] if args.key?(:data_freshness)
156
+ @single_target_dataset = args[:single_target_dataset] if args.key?(:single_target_dataset)
157
+ @source_hierarchy_datasets = args[:source_hierarchy_datasets] if args.key?(:source_hierarchy_datasets)
158
+ end
159
+ end
160
+
161
+ # BigQuery warehouse profile.
162
+ class BigQueryProfile
163
+ include Google::Apis::Core::Hashable
164
+
165
+ def initialize(**args)
166
+ update!(**args)
167
+ end
168
+
169
+ # Update properties of this object
170
+ def update!(**args)
171
+ end
172
+ end
173
+
120
174
  # The request message for Operations.CancelOperation.
121
175
  class CancelOperationRequest
122
176
  include Google::Apis::Core::Hashable
@@ -135,6 +189,11 @@ module Google
135
189
  class ConnectionProfile
136
190
  include Google::Apis::Core::Hashable
137
191
 
192
+ # BigQuery warehouse profile.
193
+ # Corresponds to the JSON property `bigqueryProfile`
194
+ # @return [Google::Apis::DatastreamV1::BigQueryProfile]
195
+ attr_accessor :bigquery_profile
196
+
138
197
  # Output only. The create time of the resource.
139
198
  # Corresponds to the JSON property `createTime`
140
199
  # @return [String]
@@ -175,6 +234,11 @@ module Google
175
234
  # @return [Google::Apis::DatastreamV1::OracleProfile]
176
235
  attr_accessor :oracle_profile
177
236
 
237
+ # PostgreSQL database profile.
238
+ # Corresponds to the JSON property `postgresqlProfile`
239
+ # @return [Google::Apis::DatastreamV1::PostgresqlProfile]
240
+ attr_accessor :postgresql_profile
241
+
178
242
  # Private Connectivity
179
243
  # Corresponds to the JSON property `privateConnectivity`
180
244
  # @return [Google::Apis::DatastreamV1::PrivateConnectivity]
@@ -196,6 +260,7 @@ module Google
196
260
 
197
261
  # Update properties of this object
198
262
  def update!(**args)
263
+ @bigquery_profile = args[:bigquery_profile] if args.key?(:bigquery_profile)
199
264
  @create_time = args[:create_time] if args.key?(:create_time)
200
265
  @display_name = args[:display_name] if args.key?(:display_name)
201
266
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
@@ -204,16 +269,60 @@ module Google
204
269
  @mysql_profile = args[:mysql_profile] if args.key?(:mysql_profile)
205
270
  @name = args[:name] if args.key?(:name)
206
271
  @oracle_profile = args[:oracle_profile] if args.key?(:oracle_profile)
272
+ @postgresql_profile = args[:postgresql_profile] if args.key?(:postgresql_profile)
207
273
  @private_connectivity = args[:private_connectivity] if args.key?(:private_connectivity)
208
274
  @static_service_ip_connectivity = args[:static_service_ip_connectivity] if args.key?(:static_service_ip_connectivity)
209
275
  @update_time = args[:update_time] if args.key?(:update_time)
210
276
  end
211
277
  end
212
278
 
279
+ # Dataset template used for dynamic dataset creation.
280
+ class DatasetTemplate
281
+ include Google::Apis::Core::Hashable
282
+
283
+ # If supplied, every created dataset will have its name prefixed by the provided
284
+ # value. The prefix and name will be separated by an underscore. i.e. _.
285
+ # Corresponds to the JSON property `datasetIdPrefix`
286
+ # @return [String]
287
+ attr_accessor :dataset_id_prefix
288
+
289
+ # Describes the Cloud KMS encryption key that will be used to protect
290
+ # destination BigQuery table. The BigQuery Service Account associated with your
291
+ # project requires access to this encryption key. i.e. projects/`project`/
292
+ # locations/`location`/keyRings/`key_ring`/cryptoKeys/`cryptoKey`. See https://
293
+ # cloud.google.com/bigquery/docs/customer-managed-encryption for more
294
+ # information.
295
+ # Corresponds to the JSON property `kmsKeyName`
296
+ # @return [String]
297
+ attr_accessor :kms_key_name
298
+
299
+ # Required. The geographic location where the dataset should reside. See https://
300
+ # cloud.google.com/bigquery/docs/locations for supported locations.
301
+ # Corresponds to the JSON property `location`
302
+ # @return [String]
303
+ attr_accessor :location
304
+
305
+ def initialize(**args)
306
+ update!(**args)
307
+ end
308
+
309
+ # Update properties of this object
310
+ def update!(**args)
311
+ @dataset_id_prefix = args[:dataset_id_prefix] if args.key?(:dataset_id_prefix)
312
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
313
+ @location = args[:location] if args.key?(:location)
314
+ end
315
+ end
316
+
213
317
  # The configuration of the stream destination.
214
318
  class DestinationConfig
215
319
  include Google::Apis::Core::Hashable
216
320
 
321
+ # BigQuery destination configuration.
322
+ # Corresponds to the JSON property `bigqueryDestinationConfig`
323
+ # @return [Google::Apis::DatastreamV1::BigQueryDestinationConfig]
324
+ attr_accessor :bigquery_destination_config
325
+
217
326
  # Required. Destination connection profile resource. Format: `projects/`project`/
218
327
  # locations/`location`/connectionProfiles/`name``
219
328
  # Corresponds to the JSON property `destinationConnectionProfile`
@@ -231,6 +340,7 @@ module Google
231
340
 
232
341
  # Update properties of this object
233
342
  def update!(**args)
343
+ @bigquery_destination_config = args[:bigquery_destination_config] if args.key?(:bigquery_destination_config)
234
344
  @destination_connection_profile = args[:destination_connection_profile] if args.key?(:destination_connection_profile)
235
345
  @gcs_destination_config = args[:gcs_destination_config] if args.key?(:gcs_destination_config)
236
346
  end
@@ -273,6 +383,11 @@ module Google
273
383
  # @return [Google::Apis::DatastreamV1::OracleRdbms]
274
384
  attr_accessor :oracle_rdbms
275
385
 
386
+ # PostgreSQL database structure.
387
+ # Corresponds to the JSON property `postgresqlRdbms`
388
+ # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
389
+ attr_accessor :postgresql_rdbms
390
+
276
391
  def initialize(**args)
277
392
  update!(**args)
278
393
  end
@@ -285,6 +400,7 @@ module Google
285
400
  @hierarchy_depth = args[:hierarchy_depth] if args.key?(:hierarchy_depth)
286
401
  @mysql_rdbms = args[:mysql_rdbms] if args.key?(:mysql_rdbms)
287
402
  @oracle_rdbms = args[:oracle_rdbms] if args.key?(:oracle_rdbms)
403
+ @postgresql_rdbms = args[:postgresql_rdbms] if args.key?(:postgresql_rdbms)
288
404
  end
289
405
  end
290
406
 
@@ -302,6 +418,11 @@ module Google
302
418
  # @return [Google::Apis::DatastreamV1::OracleRdbms]
303
419
  attr_accessor :oracle_rdbms
304
420
 
421
+ # PostgreSQL database structure.
422
+ # Corresponds to the JSON property `postgresqlRdbms`
423
+ # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
424
+ attr_accessor :postgresql_rdbms
425
+
305
426
  def initialize(**args)
306
427
  update!(**args)
307
428
  end
@@ -310,6 +431,7 @@ module Google
310
431
  def update!(**args)
311
432
  @mysql_rdbms = args[:mysql_rdbms] if args.key?(:mysql_rdbms)
312
433
  @oracle_rdbms = args[:oracle_rdbms] if args.key?(:oracle_rdbms)
434
+ @postgresql_rdbms = args[:postgresql_rdbms] if args.key?(:postgresql_rdbms)
313
435
  end
314
436
  end
315
437
 
@@ -1003,6 +1125,12 @@ module Google
1003
1125
  # @return [Google::Apis::DatastreamV1::MysqlRdbms]
1004
1126
  attr_accessor :include_objects
1005
1127
 
1128
+ # Maximum number of concurrent CDC tasks. The number should be non negative. If
1129
+ # not set (or set to 0), the system's default value will be used.
1130
+ # Corresponds to the JSON property `maxConcurrentCdcTasks`
1131
+ # @return [Fixnum]
1132
+ attr_accessor :max_concurrent_cdc_tasks
1133
+
1006
1134
  def initialize(**args)
1007
1135
  update!(**args)
1008
1136
  end
@@ -1011,6 +1139,7 @@ module Google
1011
1139
  def update!(**args)
1012
1140
  @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
1013
1141
  @include_objects = args[:include_objects] if args.key?(:include_objects)
1142
+ @max_concurrent_cdc_tasks = args[:max_concurrent_cdc_tasks] if args.key?(:max_concurrent_cdc_tasks)
1014
1143
  end
1015
1144
  end
1016
1145
 
@@ -1430,6 +1559,17 @@ module Google
1430
1559
  # @return [Google::Apis::DatastreamV1::OracleRdbms]
1431
1560
  attr_accessor :include_objects
1432
1561
 
1562
+ # Maximum number of concurrent CDC tasks. The number should be non negative. If
1563
+ # not set (or set to 0), the system's default value will be used.
1564
+ # Corresponds to the JSON property `maxConcurrentCdcTasks`
1565
+ # @return [Fixnum]
1566
+ attr_accessor :max_concurrent_cdc_tasks
1567
+
1568
+ # Configuration to stream large object values.
1569
+ # Corresponds to the JSON property `streamLargeObjects`
1570
+ # @return [Google::Apis::DatastreamV1::StreamLargeObjects]
1571
+ attr_accessor :stream_large_objects
1572
+
1433
1573
  def initialize(**args)
1434
1574
  update!(**args)
1435
1575
  end
@@ -1439,6 +1579,8 @@ module Google
1439
1579
  @drop_large_objects = args[:drop_large_objects] if args.key?(:drop_large_objects)
1440
1580
  @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
1441
1581
  @include_objects = args[:include_objects] if args.key?(:include_objects)
1582
+ @max_concurrent_cdc_tasks = args[:max_concurrent_cdc_tasks] if args.key?(:max_concurrent_cdc_tasks)
1583
+ @stream_large_objects = args[:stream_large_objects] if args.key?(:stream_large_objects)
1442
1584
  end
1443
1585
  end
1444
1586
 
@@ -1468,6 +1610,246 @@ module Google
1468
1610
  end
1469
1611
  end
1470
1612
 
1613
+ # PostgreSQL Column.
1614
+ class PostgresqlColumn
1615
+ include Google::Apis::Core::Hashable
1616
+
1617
+ # Column name.
1618
+ # Corresponds to the JSON property `column`
1619
+ # @return [String]
1620
+ attr_accessor :column
1621
+
1622
+ # The PostgreSQL data type.
1623
+ # Corresponds to the JSON property `dataType`
1624
+ # @return [String]
1625
+ attr_accessor :data_type
1626
+
1627
+ # Column length.
1628
+ # Corresponds to the JSON property `length`
1629
+ # @return [Fixnum]
1630
+ attr_accessor :length
1631
+
1632
+ # Whether or not the column can accept a null value.
1633
+ # Corresponds to the JSON property `nullable`
1634
+ # @return [Boolean]
1635
+ attr_accessor :nullable
1636
+ alias_method :nullable?, :nullable
1637
+
1638
+ # The ordinal position of the column in the table.
1639
+ # Corresponds to the JSON property `ordinalPosition`
1640
+ # @return [Fixnum]
1641
+ attr_accessor :ordinal_position
1642
+
1643
+ # Column precision.
1644
+ # Corresponds to the JSON property `precision`
1645
+ # @return [Fixnum]
1646
+ attr_accessor :precision
1647
+
1648
+ # Whether or not the column represents a primary key.
1649
+ # Corresponds to the JSON property `primaryKey`
1650
+ # @return [Boolean]
1651
+ attr_accessor :primary_key
1652
+ alias_method :primary_key?, :primary_key
1653
+
1654
+ # Column scale.
1655
+ # Corresponds to the JSON property `scale`
1656
+ # @return [Fixnum]
1657
+ attr_accessor :scale
1658
+
1659
+ def initialize(**args)
1660
+ update!(**args)
1661
+ end
1662
+
1663
+ # Update properties of this object
1664
+ def update!(**args)
1665
+ @column = args[:column] if args.key?(:column)
1666
+ @data_type = args[:data_type] if args.key?(:data_type)
1667
+ @length = args[:length] if args.key?(:length)
1668
+ @nullable = args[:nullable] if args.key?(:nullable)
1669
+ @ordinal_position = args[:ordinal_position] if args.key?(:ordinal_position)
1670
+ @precision = args[:precision] if args.key?(:precision)
1671
+ @primary_key = args[:primary_key] if args.key?(:primary_key)
1672
+ @scale = args[:scale] if args.key?(:scale)
1673
+ end
1674
+ end
1675
+
1676
+ # PostgreSQL data source object identifier.
1677
+ class PostgresqlObjectIdentifier
1678
+ include Google::Apis::Core::Hashable
1679
+
1680
+ # Required. The schema name.
1681
+ # Corresponds to the JSON property `schema`
1682
+ # @return [String]
1683
+ attr_accessor :schema
1684
+
1685
+ # Required. The table name.
1686
+ # Corresponds to the JSON property `table`
1687
+ # @return [String]
1688
+ attr_accessor :table
1689
+
1690
+ def initialize(**args)
1691
+ update!(**args)
1692
+ end
1693
+
1694
+ # Update properties of this object
1695
+ def update!(**args)
1696
+ @schema = args[:schema] if args.key?(:schema)
1697
+ @table = args[:table] if args.key?(:table)
1698
+ end
1699
+ end
1700
+
1701
+ # PostgreSQL database profile.
1702
+ class PostgresqlProfile
1703
+ include Google::Apis::Core::Hashable
1704
+
1705
+ # Required. Database for the PostgreSQL connection.
1706
+ # Corresponds to the JSON property `database`
1707
+ # @return [String]
1708
+ attr_accessor :database
1709
+
1710
+ # Required. Hostname for the PostgreSQL connection.
1711
+ # Corresponds to the JSON property `hostname`
1712
+ # @return [String]
1713
+ attr_accessor :hostname
1714
+
1715
+ # Required. Password for the PostgreSQL connection.
1716
+ # Corresponds to the JSON property `password`
1717
+ # @return [String]
1718
+ attr_accessor :password
1719
+
1720
+ # Port for the PostgreSQL connection, default value is 5432.
1721
+ # Corresponds to the JSON property `port`
1722
+ # @return [Fixnum]
1723
+ attr_accessor :port
1724
+
1725
+ # Required. Username for the PostgreSQL connection.
1726
+ # Corresponds to the JSON property `username`
1727
+ # @return [String]
1728
+ attr_accessor :username
1729
+
1730
+ def initialize(**args)
1731
+ update!(**args)
1732
+ end
1733
+
1734
+ # Update properties of this object
1735
+ def update!(**args)
1736
+ @database = args[:database] if args.key?(:database)
1737
+ @hostname = args[:hostname] if args.key?(:hostname)
1738
+ @password = args[:password] if args.key?(:password)
1739
+ @port = args[:port] if args.key?(:port)
1740
+ @username = args[:username] if args.key?(:username)
1741
+ end
1742
+ end
1743
+
1744
+ # PostgreSQL database structure.
1745
+ class PostgresqlRdbms
1746
+ include Google::Apis::Core::Hashable
1747
+
1748
+ # PostgreSQL schemas in the database server.
1749
+ # Corresponds to the JSON property `postgresqlSchemas`
1750
+ # @return [Array<Google::Apis::DatastreamV1::PostgresqlSchema>]
1751
+ attr_accessor :postgresql_schemas
1752
+
1753
+ def initialize(**args)
1754
+ update!(**args)
1755
+ end
1756
+
1757
+ # Update properties of this object
1758
+ def update!(**args)
1759
+ @postgresql_schemas = args[:postgresql_schemas] if args.key?(:postgresql_schemas)
1760
+ end
1761
+ end
1762
+
1763
+ # PostgreSQL schema.
1764
+ class PostgresqlSchema
1765
+ include Google::Apis::Core::Hashable
1766
+
1767
+ # Tables in the schema.
1768
+ # Corresponds to the JSON property `postgresqlTables`
1769
+ # @return [Array<Google::Apis::DatastreamV1::PostgresqlTable>]
1770
+ attr_accessor :postgresql_tables
1771
+
1772
+ # Schema name.
1773
+ # Corresponds to the JSON property `schema`
1774
+ # @return [String]
1775
+ attr_accessor :schema
1776
+
1777
+ def initialize(**args)
1778
+ update!(**args)
1779
+ end
1780
+
1781
+ # Update properties of this object
1782
+ def update!(**args)
1783
+ @postgresql_tables = args[:postgresql_tables] if args.key?(:postgresql_tables)
1784
+ @schema = args[:schema] if args.key?(:schema)
1785
+ end
1786
+ end
1787
+
1788
+ # PostgreSQL data source configuration
1789
+ class PostgresqlSourceConfig
1790
+ include Google::Apis::Core::Hashable
1791
+
1792
+ # PostgreSQL database structure.
1793
+ # Corresponds to the JSON property `excludeObjects`
1794
+ # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
1795
+ attr_accessor :exclude_objects
1796
+
1797
+ # PostgreSQL database structure.
1798
+ # Corresponds to the JSON property `includeObjects`
1799
+ # @return [Google::Apis::DatastreamV1::PostgresqlRdbms]
1800
+ attr_accessor :include_objects
1801
+
1802
+ # Required. The name of the publication that includes the set of all tables that
1803
+ # are defined in the stream's include_objects.
1804
+ # Corresponds to the JSON property `publication`
1805
+ # @return [String]
1806
+ attr_accessor :publication
1807
+
1808
+ # Required. The name of the logical replication slot that's configured with the
1809
+ # pgoutput plugin.
1810
+ # Corresponds to the JSON property `replicationSlot`
1811
+ # @return [String]
1812
+ attr_accessor :replication_slot
1813
+
1814
+ def initialize(**args)
1815
+ update!(**args)
1816
+ end
1817
+
1818
+ # Update properties of this object
1819
+ def update!(**args)
1820
+ @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
1821
+ @include_objects = args[:include_objects] if args.key?(:include_objects)
1822
+ @publication = args[:publication] if args.key?(:publication)
1823
+ @replication_slot = args[:replication_slot] if args.key?(:replication_slot)
1824
+ end
1825
+ end
1826
+
1827
+ # PostgreSQL table.
1828
+ class PostgresqlTable
1829
+ include Google::Apis::Core::Hashable
1830
+
1831
+ # PostgreSQL columns in the schema. When unspecified as part of include/exclude
1832
+ # objects, includes/excludes everything.
1833
+ # Corresponds to the JSON property `postgresqlColumns`
1834
+ # @return [Array<Google::Apis::DatastreamV1::PostgresqlColumn>]
1835
+ attr_accessor :postgresql_columns
1836
+
1837
+ # Table name.
1838
+ # Corresponds to the JSON property `table`
1839
+ # @return [String]
1840
+ attr_accessor :table
1841
+
1842
+ def initialize(**args)
1843
+ update!(**args)
1844
+ end
1845
+
1846
+ # Update properties of this object
1847
+ def update!(**args)
1848
+ @postgresql_columns = args[:postgresql_columns] if args.key?(:postgresql_columns)
1849
+ @table = args[:table] if args.key?(:table)
1850
+ end
1851
+ end
1852
+
1471
1853
  # The PrivateConnection resource is used to establish private connectivity
1472
1854
  # between Datastream and a customer's network.
1473
1855
  class PrivateConnection
@@ -1607,6 +1989,25 @@ module Google
1607
1989
  end
1608
1990
  end
1609
1991
 
1992
+ # A single target dataset to which all data will be streamed.
1993
+ class SingleTargetDataset
1994
+ include Google::Apis::Core::Hashable
1995
+
1996
+ #
1997
+ # Corresponds to the JSON property `datasetId`
1998
+ # @return [String]
1999
+ attr_accessor :dataset_id
2000
+
2001
+ def initialize(**args)
2002
+ update!(**args)
2003
+ end
2004
+
2005
+ # Update properties of this object
2006
+ def update!(**args)
2007
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
2008
+ end
2009
+ end
2010
+
1610
2011
  # The configuration of the stream source.
1611
2012
  class SourceConfig
1612
2013
  include Google::Apis::Core::Hashable
@@ -1621,6 +2022,11 @@ module Google
1621
2022
  # @return [Google::Apis::DatastreamV1::OracleSourceConfig]
1622
2023
  attr_accessor :oracle_source_config
1623
2024
 
2025
+ # PostgreSQL data source configuration
2026
+ # Corresponds to the JSON property `postgresqlSourceConfig`
2027
+ # @return [Google::Apis::DatastreamV1::PostgresqlSourceConfig]
2028
+ attr_accessor :postgresql_source_config
2029
+
1624
2030
  # Required. Source connection profile resoource. Format: `projects/`project`/
1625
2031
  # locations/`location`/connectionProfiles/`name``
1626
2032
  # Corresponds to the JSON property `sourceConnectionProfile`
@@ -1635,10 +2041,31 @@ module Google
1635
2041
  def update!(**args)
1636
2042
  @mysql_source_config = args[:mysql_source_config] if args.key?(:mysql_source_config)
1637
2043
  @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config)
2044
+ @postgresql_source_config = args[:postgresql_source_config] if args.key?(:postgresql_source_config)
1638
2045
  @source_connection_profile = args[:source_connection_profile] if args.key?(:source_connection_profile)
1639
2046
  end
1640
2047
  end
1641
2048
 
2049
+ # Destination datasets are created so that hierarchy of the destination data
2050
+ # objects matches the source hierarchy.
2051
+ class SourceHierarchyDatasets
2052
+ include Google::Apis::Core::Hashable
2053
+
2054
+ # Dataset template used for dynamic dataset creation.
2055
+ # Corresponds to the JSON property `datasetTemplate`
2056
+ # @return [Google::Apis::DatastreamV1::DatasetTemplate]
2057
+ attr_accessor :dataset_template
2058
+
2059
+ def initialize(**args)
2060
+ update!(**args)
2061
+ end
2062
+
2063
+ # Update properties of this object
2064
+ def update!(**args)
2065
+ @dataset_template = args[:dataset_template] if args.key?(:dataset_template)
2066
+ end
2067
+ end
2068
+
1642
2069
  # Represents an identifier of an object in the data source.
1643
2070
  class SourceObjectIdentifier
1644
2071
  include Google::Apis::Core::Hashable
@@ -1653,6 +2080,11 @@ module Google
1653
2080
  # @return [Google::Apis::DatastreamV1::OracleObjectIdentifier]
1654
2081
  attr_accessor :oracle_identifier
1655
2082
 
2083
+ # PostgreSQL data source object identifier.
2084
+ # Corresponds to the JSON property `postgresqlIdentifier`
2085
+ # @return [Google::Apis::DatastreamV1::PostgresqlObjectIdentifier]
2086
+ attr_accessor :postgresql_identifier
2087
+
1656
2088
  def initialize(**args)
1657
2089
  update!(**args)
1658
2090
  end
@@ -1661,6 +2093,7 @@ module Google
1661
2093
  def update!(**args)
1662
2094
  @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
1663
2095
  @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
2096
+ @postgresql_identifier = args[:postgresql_identifier] if args.key?(:postgresql_identifier)
1664
2097
  end
1665
2098
  end
1666
2099
 
@@ -1869,6 +2302,19 @@ module Google
1869
2302
  end
1870
2303
  end
1871
2304
 
2305
+ # Configuration to stream large object values.
2306
+ class StreamLargeObjects
2307
+ include Google::Apis::Core::Hashable
2308
+
2309
+ def initialize(**args)
2310
+ update!(**args)
2311
+ end
2312
+
2313
+ # Update properties of this object
2314
+ def update!(**args)
2315
+ end
2316
+ end
2317
+
1872
2318
  # A specific stream object (e.g a specific DB table).
1873
2319
  class StreamObject
1874
2320
  include Google::Apis::Core::Hashable
@@ -2023,8 +2469,7 @@ module Google
2023
2469
  class VpcPeeringConfig
2024
2470
  include Google::Apis::Core::Hashable
2025
2471
 
2026
- # Required. A free subnet for peering. (CIDR of /29) TODO(b/172995841) add
2027
- # validators.
2472
+ # Required. A free subnet for peering. (CIDR of /29)
2028
2473
  # Corresponds to the JSON property `subnet`
2029
2474
  # @return [String]
2030
2475
  attr_accessor :subnet
@@ -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.11.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220405"
25
+ REVISION = "20220817"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,18 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class BigQueryDestinationConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BigQueryProfile
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class CancelOperationRequest
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -58,6 +70,12 @@ module Google
58
70
  include Google::Apis::Core::JsonObjectSupport
59
71
  end
60
72
 
73
+ class DatasetTemplate
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
61
79
  class DestinationConfig
62
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
81
 
@@ -280,6 +298,48 @@ module Google
280
298
  include Google::Apis::Core::JsonObjectSupport
281
299
  end
282
300
 
301
+ class PostgresqlColumn
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class PostgresqlObjectIdentifier
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class PostgresqlProfile
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class PostgresqlRdbms
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class PostgresqlSchema
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class PostgresqlSourceConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class PostgresqlTable
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
283
343
  class PrivateConnection
284
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
345
 
@@ -298,12 +358,24 @@ module Google
298
358
  include Google::Apis::Core::JsonObjectSupport
299
359
  end
300
360
 
361
+ class SingleTargetDataset
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
301
367
  class SourceConfig
302
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
369
 
304
370
  include Google::Apis::Core::JsonObjectSupport
305
371
  end
306
372
 
373
+ class SourceHierarchyDatasets
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
307
379
  class SourceObjectIdentifier
308
380
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
381
 
@@ -352,6 +424,12 @@ module Google
352
424
  include Google::Apis::Core::JsonObjectSupport
353
425
  end
354
426
 
427
+ class StreamLargeObjects
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
355
433
  class StreamObject
356
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
435
 
@@ -395,6 +473,8 @@ module Google
395
473
 
396
474
  property :oracle_excluded_objects, as: 'oracleExcludedObjects', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
397
475
 
476
+ property :postgresql_excluded_objects, as: 'postgresqlExcludedObjects', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
477
+
398
478
  end
399
479
  end
400
480
 
@@ -416,6 +496,23 @@ module Google
416
496
  end
417
497
  end
418
498
 
499
+ class BigQueryDestinationConfig
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :data_freshness, as: 'dataFreshness'
503
+ property :single_target_dataset, as: 'singleTargetDataset', class: Google::Apis::DatastreamV1::SingleTargetDataset, decorator: Google::Apis::DatastreamV1::SingleTargetDataset::Representation
504
+
505
+ property :source_hierarchy_datasets, as: 'sourceHierarchyDatasets', class: Google::Apis::DatastreamV1::SourceHierarchyDatasets, decorator: Google::Apis::DatastreamV1::SourceHierarchyDatasets::Representation
506
+
507
+ end
508
+ end
509
+
510
+ class BigQueryProfile
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ end
514
+ end
515
+
419
516
  class CancelOperationRequest
420
517
  # @private
421
518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -425,6 +522,8 @@ module Google
425
522
  class ConnectionProfile
426
523
  # @private
427
524
  class Representation < Google::Apis::Core::JsonRepresentation
525
+ property :bigquery_profile, as: 'bigqueryProfile', class: Google::Apis::DatastreamV1::BigQueryProfile, decorator: Google::Apis::DatastreamV1::BigQueryProfile::Representation
526
+
428
527
  property :create_time, as: 'createTime'
429
528
  property :display_name, as: 'displayName'
430
529
  property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatastreamV1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatastreamV1::ForwardSshTunnelConnectivity::Representation
@@ -437,6 +536,8 @@ module Google
437
536
  property :name, as: 'name'
438
537
  property :oracle_profile, as: 'oracleProfile', class: Google::Apis::DatastreamV1::OracleProfile, decorator: Google::Apis::DatastreamV1::OracleProfile::Representation
439
538
 
539
+ property :postgresql_profile, as: 'postgresqlProfile', class: Google::Apis::DatastreamV1::PostgresqlProfile, decorator: Google::Apis::DatastreamV1::PostgresqlProfile::Representation
540
+
440
541
  property :private_connectivity, as: 'privateConnectivity', class: Google::Apis::DatastreamV1::PrivateConnectivity, decorator: Google::Apis::DatastreamV1::PrivateConnectivity::Representation
441
542
 
442
543
  property :static_service_ip_connectivity, as: 'staticServiceIpConnectivity', class: Google::Apis::DatastreamV1::StaticServiceIpConnectivity, decorator: Google::Apis::DatastreamV1::StaticServiceIpConnectivity::Representation
@@ -445,9 +546,20 @@ module Google
445
546
  end
446
547
  end
447
548
 
549
+ class DatasetTemplate
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :dataset_id_prefix, as: 'datasetIdPrefix'
553
+ property :kms_key_name, as: 'kmsKeyName'
554
+ property :location, as: 'location'
555
+ end
556
+ end
557
+
448
558
  class DestinationConfig
449
559
  # @private
450
560
  class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :bigquery_destination_config, as: 'bigqueryDestinationConfig', class: Google::Apis::DatastreamV1::BigQueryDestinationConfig, decorator: Google::Apis::DatastreamV1::BigQueryDestinationConfig::Representation
562
+
451
563
  property :destination_connection_profile, as: 'destinationConnectionProfile'
452
564
  property :gcs_destination_config, as: 'gcsDestinationConfig', class: Google::Apis::DatastreamV1::GcsDestinationConfig, decorator: Google::Apis::DatastreamV1::GcsDestinationConfig::Representation
453
565
 
@@ -466,6 +578,8 @@ module Google
466
578
 
467
579
  property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
468
580
 
581
+ property :postgresql_rdbms, as: 'postgresqlRdbms', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
582
+
469
583
  end
470
584
  end
471
585
 
@@ -476,6 +590,8 @@ module Google
476
590
 
477
591
  property :oracle_rdbms, as: 'oracleRdbms', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
478
592
 
593
+ property :postgresql_rdbms, as: 'postgresqlRdbms', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
594
+
479
595
  end
480
596
  end
481
597
 
@@ -693,6 +809,7 @@ module Google
693
809
 
694
810
  property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::MysqlRdbms, decorator: Google::Apis::DatastreamV1::MysqlRdbms::Representation
695
811
 
812
+ property :max_concurrent_cdc_tasks, as: 'maxConcurrentCdcTasks'
696
813
  end
697
814
  end
698
815
 
@@ -805,6 +922,9 @@ module Google
805
922
 
806
923
  property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::OracleRdbms, decorator: Google::Apis::DatastreamV1::OracleRdbms::Representation
807
924
 
925
+ property :max_concurrent_cdc_tasks, as: 'maxConcurrentCdcTasks'
926
+ property :stream_large_objects, as: 'streamLargeObjects', class: Google::Apis::DatastreamV1::StreamLargeObjects, decorator: Google::Apis::DatastreamV1::StreamLargeObjects::Representation
927
+
808
928
  end
809
929
  end
810
930
 
@@ -817,6 +937,77 @@ module Google
817
937
  end
818
938
  end
819
939
 
940
+ class PostgresqlColumn
941
+ # @private
942
+ class Representation < Google::Apis::Core::JsonRepresentation
943
+ property :column, as: 'column'
944
+ property :data_type, as: 'dataType'
945
+ property :length, as: 'length'
946
+ property :nullable, as: 'nullable'
947
+ property :ordinal_position, as: 'ordinalPosition'
948
+ property :precision, as: 'precision'
949
+ property :primary_key, as: 'primaryKey'
950
+ property :scale, as: 'scale'
951
+ end
952
+ end
953
+
954
+ class PostgresqlObjectIdentifier
955
+ # @private
956
+ class Representation < Google::Apis::Core::JsonRepresentation
957
+ property :schema, as: 'schema'
958
+ property :table, as: 'table'
959
+ end
960
+ end
961
+
962
+ class PostgresqlProfile
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ property :database, as: 'database'
966
+ property :hostname, as: 'hostname'
967
+ property :password, as: 'password'
968
+ property :port, as: 'port'
969
+ property :username, as: 'username'
970
+ end
971
+ end
972
+
973
+ class PostgresqlRdbms
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ collection :postgresql_schemas, as: 'postgresqlSchemas', class: Google::Apis::DatastreamV1::PostgresqlSchema, decorator: Google::Apis::DatastreamV1::PostgresqlSchema::Representation
977
+
978
+ end
979
+ end
980
+
981
+ class PostgresqlSchema
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ collection :postgresql_tables, as: 'postgresqlTables', class: Google::Apis::DatastreamV1::PostgresqlTable, decorator: Google::Apis::DatastreamV1::PostgresqlTable::Representation
985
+
986
+ property :schema, as: 'schema'
987
+ end
988
+ end
989
+
990
+ class PostgresqlSourceConfig
991
+ # @private
992
+ class Representation < Google::Apis::Core::JsonRepresentation
993
+ property :exclude_objects, as: 'excludeObjects', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
994
+
995
+ property :include_objects, as: 'includeObjects', class: Google::Apis::DatastreamV1::PostgresqlRdbms, decorator: Google::Apis::DatastreamV1::PostgresqlRdbms::Representation
996
+
997
+ property :publication, as: 'publication'
998
+ property :replication_slot, as: 'replicationSlot'
999
+ end
1000
+ end
1001
+
1002
+ class PostgresqlTable
1003
+ # @private
1004
+ class Representation < Google::Apis::Core::JsonRepresentation
1005
+ collection :postgresql_columns, as: 'postgresqlColumns', class: Google::Apis::DatastreamV1::PostgresqlColumn, decorator: Google::Apis::DatastreamV1::PostgresqlColumn::Representation
1006
+
1007
+ property :table, as: 'table'
1008
+ end
1009
+ end
1010
+
820
1011
  class PrivateConnection
821
1012
  # @private
822
1013
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -853,6 +1044,13 @@ module Google
853
1044
  end
854
1045
  end
855
1046
 
1047
+ class SingleTargetDataset
1048
+ # @private
1049
+ class Representation < Google::Apis::Core::JsonRepresentation
1050
+ property :dataset_id, as: 'datasetId'
1051
+ end
1052
+ end
1053
+
856
1054
  class SourceConfig
857
1055
  # @private
858
1056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -860,10 +1058,20 @@ module Google
860
1058
 
861
1059
  property :oracle_source_config, as: 'oracleSourceConfig', class: Google::Apis::DatastreamV1::OracleSourceConfig, decorator: Google::Apis::DatastreamV1::OracleSourceConfig::Representation
862
1060
 
1061
+ property :postgresql_source_config, as: 'postgresqlSourceConfig', class: Google::Apis::DatastreamV1::PostgresqlSourceConfig, decorator: Google::Apis::DatastreamV1::PostgresqlSourceConfig::Representation
1062
+
863
1063
  property :source_connection_profile, as: 'sourceConnectionProfile'
864
1064
  end
865
1065
  end
866
1066
 
1067
+ class SourceHierarchyDatasets
1068
+ # @private
1069
+ class Representation < Google::Apis::Core::JsonRepresentation
1070
+ property :dataset_template, as: 'datasetTemplate', class: Google::Apis::DatastreamV1::DatasetTemplate, decorator: Google::Apis::DatastreamV1::DatasetTemplate::Representation
1071
+
1072
+ end
1073
+ end
1074
+
867
1075
  class SourceObjectIdentifier
868
1076
  # @private
869
1077
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -871,6 +1079,8 @@ module Google
871
1079
 
872
1080
  property :oracle_identifier, as: 'oracleIdentifier', class: Google::Apis::DatastreamV1::OracleObjectIdentifier, decorator: Google::Apis::DatastreamV1::OracleObjectIdentifier::Representation
873
1081
 
1082
+ property :postgresql_identifier, as: 'postgresqlIdentifier', class: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier, decorator: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier::Representation
1083
+
874
1084
  end
875
1085
  end
876
1086
 
@@ -940,6 +1150,12 @@ module Google
940
1150
  end
941
1151
  end
942
1152
 
1153
+ class StreamLargeObjects
1154
+ # @private
1155
+ class Representation < Google::Apis::Core::JsonRepresentation
1156
+ end
1157
+ end
1158
+
943
1159
  class StreamObject
944
1160
  # @private
945
1161
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1
63
63
  post_install_message:
64
64
  rdoc_options: []