google-apis-datastream_v1 0.33.0 → 0.35.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: 7028639a64c3365ca531b3b0ebeed3fd2ae59ecc4d0e0d25850b8482faa88399
4
- data.tar.gz: 4e66d51532175e00311adaa25198c99044f7ce520e365442605ae14de17188ce
3
+ metadata.gz: e06dbf8d3cd7f616a55817f0a01f1e64354da7659c5fe359c1375d6eaf9ee844
4
+ data.tar.gz: a1df565260b384452ac8fe000f11e1536fc8c8ecdcdc899fd7d2331d52469400
5
5
  SHA512:
6
- metadata.gz: 117702145de03332a4e8dd0c6df27c029af1b0e8bea127eed34a9d0ae3d2a1eea3dc2fa6156bb5fed11302d244d9349ce4555ab4120d1aebbf6022307ad4d02e
7
- data.tar.gz: e26d8c488e9f85222087f54d5eb086572c98d6df48349ec96baf252abba102e3533cac29f3a3ef8db8327a33c0fcfdf15dc553fc6cbe586b7aa952962eefe319
6
+ metadata.gz: 192ec1ace727b598faccd512c9164ddc5eb8ed6d69ffce40f38a6cbdbdeed052d5ee94a11f60aa7ead23bbcc3322f79a67813377d41de1e83e0745915a883b5e
7
+ data.tar.gz: 8701cd245535c05a4b34695d5f8a88f5282ebc101476252bdc4917e0f932b7d4c5f0d9b53f8f3119beab4a2939fd5d799bb7e2195160f4b951ceb2cee389c23c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datastream_v1
2
2
 
3
+ ### v0.35.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240410
6
+
7
+ ### v0.34.0 (2024-02-23)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.33.0 (2024-02-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20240215
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/datastream/) may provide gu
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -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.33.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.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.33.0
4
+ version: 0.35.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-18 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1/v0.35.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Datastream API V1