google-apis-datastream_v1 0.34.0 → 0.36.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: cfb8f0be418fcea9db91eb71862a9444f8f14574b0f4bf8fd4996d6a479bca99
4
- data.tar.gz: 88b57abc91a09aeb74ab3b6282a375e1e69189112444fbc91f64bc71cd788fdc
3
+ metadata.gz: a5660eeb9585ae19768d5f0b083bd690160fe20af15c8f0791bc4256c4d20dac
4
+ data.tar.gz: 85a57868667a9f6aa0ff45221730a10b253b8b6fe7000db98dc87b6ac2adac2c
5
5
  SHA512:
6
- metadata.gz: a4bdd6c4364a9e62476815ec21587511d89840da39f74752c90b1955d6a1d0702c21816d6651c59c9e1f08bd1317cc4374a827bdeba56ab02f3fc34da13850da
7
- data.tar.gz: 3ae07c11e46e202096d82d08a0ff312d8462104fe10eb17ea3d4ca1d2aa5f30fc106eb5cb0350ddd3d1820ab1081b11e567fa06d86b219712613dc1d728e1794
6
+ metadata.gz: 8e5f8a0f50032892042b5f2fb45fde08b97858b8f217a1a893b41f2d82a5e739f453855a91a0df59df6c5ce2164b1032153329fa6685a925af60db2a47cb5f49
7
+ data.tar.gz: 9a9ea386979e6b3128db3152e3e463079f095e495db5e484feca3f63a4150c6093de21f538ed9574f5b1c3b759ae06ee969ce3bee4971d9f163b429e866ce2f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.36.0 (2024-05-19)
4
+
5
+ * Regenerated using generator version 0.15.0
6
+
7
+ ### v0.35.0 (2024-04-21)
8
+
9
+ * Regenerated from discovery document revision 20240410
10
+
3
11
  ### v0.34.0 (2024-02-23)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -22,6 +22,20 @@ module Google
22
22
  module Apis
23
23
  module DatastreamV1
24
24
 
25
+ # AppendOnly mode defines that all changes to a table will be written to the
26
+ # destination table.
27
+ class AppendOnly
28
+ include Google::Apis::Core::Hashable
29
+
30
+ def initialize(**args)
31
+ update!(**args)
32
+ end
33
+
34
+ # Update properties of this object
35
+ def update!(**args)
36
+ end
37
+ end
38
+
25
39
  # AVRO file format configuration.
26
40
  class AvroFileFormat
27
41
  include Google::Apis::Core::Hashable
@@ -133,6 +147,12 @@ module Google
133
147
  class BigQueryDestinationConfig
134
148
  include Google::Apis::Core::Hashable
135
149
 
150
+ # AppendOnly mode defines that all changes to a table will be written to the
151
+ # destination table.
152
+ # Corresponds to the JSON property `appendOnly`
153
+ # @return [Google::Apis::DatastreamV1::AppendOnly]
154
+ attr_accessor :append_only
155
+
136
156
  # The guaranteed data freshness (in seconds) when querying tables created by the
137
157
  # stream. Editing this field will only affect new tables created in the future,
138
158
  # but existing tables will not be impacted. Lower values mean that queries will
@@ -141,6 +161,12 @@ module Google
141
161
  # @return [String]
142
162
  attr_accessor :data_freshness
143
163
 
164
+ # Merge mode defines that all changes to a table will be merged at the
165
+ # destination table.
166
+ # Corresponds to the JSON property `merge`
167
+ # @return [Google::Apis::DatastreamV1::Merge]
168
+ attr_accessor :merge
169
+
144
170
  # A single target dataset to which all data will be streamed.
145
171
  # Corresponds to the JSON property `singleTargetDataset`
146
172
  # @return [Google::Apis::DatastreamV1::SingleTargetDataset]
@@ -158,7 +184,9 @@ module Google
158
184
 
159
185
  # Update properties of this object
160
186
  def update!(**args)
187
+ @append_only = args[:append_only] if args.key?(:append_only)
161
188
  @data_freshness = args[:data_freshness] if args.key?(:data_freshness)
189
+ @merge = args[:merge] if args.key?(:merge)
162
190
  @single_target_dataset = args[:single_target_dataset] if args.key?(:single_target_dataset)
163
191
  @source_hierarchy_datasets = args[:source_hierarchy_datasets] if args.key?(:source_hierarchy_datasets)
164
192
  end
@@ -988,6 +1016,20 @@ module Google
988
1016
  end
989
1017
  end
990
1018
 
1019
+ # Merge mode defines that all changes to a table will be merged at the
1020
+ # destination table.
1021
+ class Merge
1022
+ include Google::Apis::Core::Hashable
1023
+
1024
+ def initialize(**args)
1025
+ update!(**args)
1026
+ end
1027
+
1028
+ # Update properties of this object
1029
+ def update!(**args)
1030
+ end
1031
+ end
1032
+
991
1033
  # CDC strategy to start replicating from the most recent position in the source.
992
1034
  class MostRecentStartPosition
993
1035
  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.34.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240215"
25
+ REVISION = "20240410"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module DatastreamV1
24
24
 
25
+ class AppendOnly
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AvroFileFormat
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -202,6 +208,12 @@ module Google
202
208
  include Google::Apis::Core::JsonObjectSupport
203
209
  end
204
210
 
211
+ class Merge
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
205
217
  class MostRecentStartPosition
206
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
219
 
@@ -550,6 +562,12 @@ module Google
550
562
  include Google::Apis::Core::JsonObjectSupport
551
563
  end
552
564
 
565
+ class AppendOnly
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ end
569
+ end
570
+
553
571
  class AvroFileFormat
554
572
  # @private
555
573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,7 +609,11 @@ module Google
591
609
  class BigQueryDestinationConfig
592
610
  # @private
593
611
  class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :append_only, as: 'appendOnly', class: Google::Apis::DatastreamV1::AppendOnly, decorator: Google::Apis::DatastreamV1::AppendOnly::Representation
613
+
594
614
  property :data_freshness, as: 'dataFreshness'
615
+ property :merge, as: 'merge', class: Google::Apis::DatastreamV1::Merge, decorator: Google::Apis::DatastreamV1::Merge::Representation
616
+
595
617
  property :single_target_dataset, as: 'singleTargetDataset', class: Google::Apis::DatastreamV1::SingleTargetDataset, decorator: Google::Apis::DatastreamV1::SingleTargetDataset::Representation
596
618
 
597
619
  property :source_hierarchy_datasets, as: 'sourceHierarchyDatasets', class: Google::Apis::DatastreamV1::SourceHierarchyDatasets, decorator: Google::Apis::DatastreamV1::SourceHierarchyDatasets::Representation
@@ -858,6 +880,12 @@ module Google
858
880
  end
859
881
  end
860
882
 
883
+ class Merge
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ end
887
+ end
888
+
861
889
  class MostRecentStartPosition
862
890
  # @private
863
891
  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.34.0
4
+ version: 0.36.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.34.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.36.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: []