google-apis-datastream_v1alpha1 0.2.0 → 0.3.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: a4a70e59b00ba7c2f02daa38081420af0a5b5bfca3e541b8e15e6f8dbff6a59d
4
- data.tar.gz: b5934f47807570c1046604892e58ee288939782e10cc12ab1af370d6c164414c
3
+ metadata.gz: d40eb9c6f8885ba8db4d7c864f764fbddd6e243c2c36df8fa982668876f0c8e0
4
+ data.tar.gz: 256926166a118d13a848be287108aa6c72a1aa8c28095e072011349f677be96e
5
5
  SHA512:
6
- metadata.gz: 7d2c823a8df329cd96d1afcda37a8d830a98cdb91704acee729059af22b3fbc707923fe2de347d79cbada479ee7bfa8399c5a497a1b1890bdc08607893d6e376
7
- data.tar.gz: 0b3fa5980bac7133755eb045b6a5a8f7b810be019c6555c76b32a961e1cbe578b440f3f986a2dc971b80337d9a7ef37305d80222bc983d297284a6ae61288f27
6
+ metadata.gz: 481d82a5aff21c4b514753224158a93a288206405cbbfc2330a1b1884e8a873a1362a8e88f3d86798e26775d770a654330644c7226e6427da7a4499447fb87fb
7
+ data.tar.gz: 628e02e48f57f96581dcb6eb0937b8e2b8f5db70b8dfb799a4d99195b038d838e675b589d56e5581ac441fd7f56af3c463003882051fe571bd27aa2d6c2f08f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datastream_v1alpha1
2
2
 
3
+ ### v0.3.0 (2021-11-18)
4
+
5
+ * Regenerated from discovery document revision 20211110
6
+
3
7
  ### v0.2.0 (2021-11-06)
4
8
 
5
9
  * Regenerated from discovery document revision 20211026
@@ -61,6 +61,49 @@ module Google
61
61
  end
62
62
  end
63
63
 
64
+ # Represents a backfill job on a specific stream object.
65
+ class BackfillJob
66
+ include Google::Apis::Core::Hashable
67
+
68
+ # Output only. Errors which caused the backfill job to fail.
69
+ # Corresponds to the JSON property `errors`
70
+ # @return [Array<Google::Apis::DatastreamV1alpha1::Error>]
71
+ attr_accessor :errors
72
+
73
+ # Output only. Backfill job's end time.
74
+ # Corresponds to the JSON property `lastEndTime`
75
+ # @return [String]
76
+ attr_accessor :last_end_time
77
+
78
+ # Output only. Backfill job's start time.
79
+ # Corresponds to the JSON property `lastStartTime`
80
+ # @return [String]
81
+ attr_accessor :last_start_time
82
+
83
+ # Backfill job state.
84
+ # Corresponds to the JSON property `state`
85
+ # @return [String]
86
+ attr_accessor :state
87
+
88
+ # Backfill job's triggering reason.
89
+ # Corresponds to the JSON property `trigger`
90
+ # @return [String]
91
+ attr_accessor :trigger
92
+
93
+ def initialize(**args)
94
+ update!(**args)
95
+ end
96
+
97
+ # Update properties of this object
98
+ def update!(**args)
99
+ @errors = args[:errors] if args.key?(:errors)
100
+ @last_end_time = args[:last_end_time] if args.key?(:last_end_time)
101
+ @last_start_time = args[:last_start_time] if args.key?(:last_start_time)
102
+ @state = args[:state] if args.key?(:state)
103
+ @trigger = args[:trigger] if args.key?(:trigger)
104
+ end
105
+ end
106
+
64
107
  # Backfill strategy to disable automatic backfill for the Stream's objects.
65
108
  class BackfillNoneStrategy
66
109
  include Google::Apis::Core::Hashable
@@ -683,6 +726,31 @@ module Google
683
726
  end
684
727
  end
685
728
 
729
+ # Response containing the objects for a stream.
730
+ class ListStreamObjectsResponse
731
+ include Google::Apis::Core::Hashable
732
+
733
+ # A token, which can be sent as `page_token` to retrieve the next page.
734
+ # Corresponds to the JSON property `nextPageToken`
735
+ # @return [String]
736
+ attr_accessor :next_page_token
737
+
738
+ # List of stream objects.
739
+ # Corresponds to the JSON property `streamObjects`
740
+ # @return [Array<Google::Apis::DatastreamV1alpha1::StreamObject>]
741
+ attr_accessor :stream_objects
742
+
743
+ def initialize(**args)
744
+ update!(**args)
745
+ end
746
+
747
+ # Update properties of this object
748
+ def update!(**args)
749
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
750
+ @stream_objects = args[:stream_objects] if args.key?(:stream_objects)
751
+ end
752
+ end
753
+
686
754
  #
687
755
  class ListStreamsResponse
688
756
  include Google::Apis::Core::Hashable
@@ -845,6 +913,31 @@ module Google
845
913
  end
846
914
  end
847
915
 
916
+ # Mysql data source object identifier.
917
+ class MysqlObjectIdentifier
918
+ include Google::Apis::Core::Hashable
919
+
920
+ # The database name.
921
+ # Corresponds to the JSON property `database`
922
+ # @return [String]
923
+ attr_accessor :database
924
+
925
+ # The table name.
926
+ # Corresponds to the JSON property `table`
927
+ # @return [String]
928
+ attr_accessor :table
929
+
930
+ def initialize(**args)
931
+ update!(**args)
932
+ end
933
+
934
+ # Update properties of this object
935
+ def update!(**args)
936
+ @database = args[:database] if args.key?(:database)
937
+ @table = args[:table] if args.key?(:table)
938
+ end
939
+ end
940
+
848
941
  # MySQL database profile.
849
942
  class MysqlProfile
850
943
  include Google::Apis::Core::Hashable
@@ -1224,6 +1317,31 @@ module Google
1224
1317
  end
1225
1318
  end
1226
1319
 
1320
+ # Oracle data source object identifier.
1321
+ class OracleObjectIdentifier
1322
+ include Google::Apis::Core::Hashable
1323
+
1324
+ # The schema name.
1325
+ # Corresponds to the JSON property `schema`
1326
+ # @return [String]
1327
+ attr_accessor :schema
1328
+
1329
+ # The table name.
1330
+ # Corresponds to the JSON property `table`
1331
+ # @return [String]
1332
+ attr_accessor :table
1333
+
1334
+ def initialize(**args)
1335
+ update!(**args)
1336
+ end
1337
+
1338
+ # Update properties of this object
1339
+ def update!(**args)
1340
+ @schema = args[:schema] if args.key?(:schema)
1341
+ @table = args[:table] if args.key?(:table)
1342
+ end
1343
+ end
1344
+
1227
1345
  # Oracle database profile.
1228
1346
  class OracleProfile
1229
1347
  include Google::Apis::Core::Hashable
@@ -1537,6 +1655,50 @@ module Google
1537
1655
  end
1538
1656
  end
1539
1657
 
1658
+ # Represents an identifier of an object in the data source.
1659
+ class SourceObjectIdentifier
1660
+ include Google::Apis::Core::Hashable
1661
+
1662
+ # Mysql data source object identifier.
1663
+ # Corresponds to the JSON property `mysqlIdentifier`
1664
+ # @return [Google::Apis::DatastreamV1alpha1::MysqlObjectIdentifier]
1665
+ attr_accessor :mysql_identifier
1666
+
1667
+ # Oracle data source object identifier.
1668
+ # Corresponds to the JSON property `oracleIdentifier`
1669
+ # @return [Google::Apis::DatastreamV1alpha1::OracleObjectIdentifier]
1670
+ attr_accessor :oracle_identifier
1671
+
1672
+ def initialize(**args)
1673
+ update!(**args)
1674
+ end
1675
+
1676
+ # Update properties of this object
1677
+ def update!(**args)
1678
+ @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
1679
+ @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
1680
+ end
1681
+ end
1682
+
1683
+ # Response for manually initiating a backfill job for a specific stream object.
1684
+ class StartBackfillJobResponse
1685
+ include Google::Apis::Core::Hashable
1686
+
1687
+ # A specific stream object (e.g a specific DB table).
1688
+ # Corresponds to the JSON property `object`
1689
+ # @return [Google::Apis::DatastreamV1alpha1::StreamObject]
1690
+ attr_accessor :object
1691
+
1692
+ def initialize(**args)
1693
+ update!(**args)
1694
+ end
1695
+
1696
+ # Update properties of this object
1697
+ def update!(**args)
1698
+ @object = args[:object] if args.key?(:object)
1699
+ end
1700
+ end
1701
+
1540
1702
  # Static IP address connectivity.
1541
1703
  class StaticServiceIpConnectivity
1542
1704
  include Google::Apis::Core::Hashable
@@ -1589,6 +1751,25 @@ module Google
1589
1751
  end
1590
1752
  end
1591
1753
 
1754
+ # Response for manually stop a backfill job for a specific stream object.
1755
+ class StopBackfillJobResponse
1756
+ include Google::Apis::Core::Hashable
1757
+
1758
+ # A specific stream object (e.g a specific DB table).
1759
+ # Corresponds to the JSON property `object`
1760
+ # @return [Google::Apis::DatastreamV1alpha1::StreamObject]
1761
+ attr_accessor :object
1762
+
1763
+ def initialize(**args)
1764
+ update!(**args)
1765
+ end
1766
+
1767
+ # Update properties of this object
1768
+ def update!(**args)
1769
+ @object = args[:object] if args.key?(:object)
1770
+ end
1771
+ end
1772
+
1592
1773
  #
1593
1774
  class Stream
1594
1775
  include Google::Apis::Core::Hashable
@@ -1677,6 +1858,61 @@ module Google
1677
1858
  end
1678
1859
  end
1679
1860
 
1861
+ # A specific stream object (e.g a specific DB table).
1862
+ class StreamObject
1863
+ include Google::Apis::Core::Hashable
1864
+
1865
+ # Represents a backfill job on a specific stream object.
1866
+ # Corresponds to the JSON property `backfillJob`
1867
+ # @return [Google::Apis::DatastreamV1alpha1::BackfillJob]
1868
+ attr_accessor :backfill_job
1869
+
1870
+ # Output only. The creation time of the object.
1871
+ # Corresponds to the JSON property `createTime`
1872
+ # @return [String]
1873
+ attr_accessor :create_time
1874
+
1875
+ # Required. Display name.
1876
+ # Corresponds to the JSON property `displayName`
1877
+ # @return [String]
1878
+ attr_accessor :display_name
1879
+
1880
+ # Output only. Active errors on the object.
1881
+ # Corresponds to the JSON property `errors`
1882
+ # @return [Array<Google::Apis::DatastreamV1alpha1::Error>]
1883
+ attr_accessor :errors
1884
+
1885
+ # Output only. The object's name.
1886
+ # Corresponds to the JSON property `name`
1887
+ # @return [String]
1888
+ attr_accessor :name
1889
+
1890
+ # Represents an identifier of an object in the data source.
1891
+ # Corresponds to the JSON property `sourceObject`
1892
+ # @return [Google::Apis::DatastreamV1alpha1::SourceObjectIdentifier]
1893
+ attr_accessor :source_object
1894
+
1895
+ # Output only. The last update time of the object.
1896
+ # Corresponds to the JSON property `updateTime`
1897
+ # @return [String]
1898
+ attr_accessor :update_time
1899
+
1900
+ def initialize(**args)
1901
+ update!(**args)
1902
+ end
1903
+
1904
+ # Update properties of this object
1905
+ def update!(**args)
1906
+ @backfill_job = args[:backfill_job] if args.key?(:backfill_job)
1907
+ @create_time = args[:create_time] if args.key?(:create_time)
1908
+ @display_name = args[:display_name] if args.key?(:display_name)
1909
+ @errors = args[:errors] if args.key?(:errors)
1910
+ @name = args[:name] if args.key?(:name)
1911
+ @source_object = args[:source_object] if args.key?(:source_object)
1912
+ @update_time = args[:update_time] if args.key?(:update_time)
1913
+ end
1914
+ end
1915
+
1680
1916
  #
1681
1917
  class Validation
1682
1918
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatastreamV1alpha1
18
18
  # Version of the google-apis-datastream_v1alpha1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211026"
25
+ REVISION = "20211110"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class BackfillJob
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class BackfillNoneStrategy
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -154,6 +160,12 @@ module Google
154
160
  include Google::Apis::Core::JsonObjectSupport
155
161
  end
156
162
 
163
+ class ListStreamObjectsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
157
169
  class ListStreamsResponse
158
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
171
 
@@ -178,6 +190,12 @@ module Google
178
190
  include Google::Apis::Core::JsonObjectSupport
179
191
  end
180
192
 
193
+ class MysqlObjectIdentifier
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
181
199
  class MysqlProfile
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
@@ -232,6 +250,12 @@ module Google
232
250
  include Google::Apis::Core::JsonObjectSupport
233
251
  end
234
252
 
253
+ class OracleObjectIdentifier
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
235
259
  class OracleProfile
236
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
261
 
@@ -286,6 +310,18 @@ module Google
286
310
  include Google::Apis::Core::JsonObjectSupport
287
311
  end
288
312
 
313
+ class SourceObjectIdentifier
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class StartBackfillJobResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
289
325
  class StaticServiceIpConnectivity
290
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
327
 
@@ -298,12 +334,24 @@ module Google
298
334
  include Google::Apis::Core::JsonObjectSupport
299
335
  end
300
336
 
337
+ class StopBackfillJobResponse
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
301
343
  class Stream
302
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
345
 
304
346
  include Google::Apis::Core::JsonObjectSupport
305
347
  end
306
348
 
349
+ class StreamObject
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
307
355
  class Validation
308
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
357
 
@@ -344,6 +392,18 @@ module Google
344
392
  end
345
393
  end
346
394
 
395
+ class BackfillJob
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ collection :errors, as: 'errors', class: Google::Apis::DatastreamV1alpha1::Error, decorator: Google::Apis::DatastreamV1alpha1::Error::Representation
399
+
400
+ property :last_end_time, as: 'lastEndTime'
401
+ property :last_start_time, as: 'lastStartTime'
402
+ property :state, as: 'state'
403
+ property :trigger, as: 'trigger'
404
+ end
405
+ end
406
+
347
407
  class BackfillNoneStrategy
348
408
  # @private
349
409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -543,6 +603,15 @@ module Google
543
603
  end
544
604
  end
545
605
 
606
+ class ListStreamObjectsResponse
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :next_page_token, as: 'nextPageToken'
610
+ collection :stream_objects, as: 'streamObjects', class: Google::Apis::DatastreamV1alpha1::StreamObject, decorator: Google::Apis::DatastreamV1alpha1::StreamObject::Representation
611
+
612
+ end
613
+ end
614
+
546
615
  class ListStreamsResponse
547
616
  # @private
548
617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -586,6 +655,14 @@ module Google
586
655
  end
587
656
  end
588
657
 
658
+ class MysqlObjectIdentifier
659
+ # @private
660
+ class Representation < Google::Apis::Core::JsonRepresentation
661
+ property :database, as: 'database'
662
+ property :table, as: 'table'
663
+ end
664
+ end
665
+
589
666
  class MysqlProfile
590
667
  # @private
591
668
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -685,6 +762,14 @@ module Google
685
762
  end
686
763
  end
687
764
 
765
+ class OracleObjectIdentifier
766
+ # @private
767
+ class Representation < Google::Apis::Core::JsonRepresentation
768
+ property :schema, as: 'schema'
769
+ property :table, as: 'table'
770
+ end
771
+ end
772
+
688
773
  class OracleProfile
689
774
  # @private
690
775
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -780,6 +865,24 @@ module Google
780
865
  end
781
866
  end
782
867
 
868
+ class SourceObjectIdentifier
869
+ # @private
870
+ class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :mysql_identifier, as: 'mysqlIdentifier', class: Google::Apis::DatastreamV1alpha1::MysqlObjectIdentifier, decorator: Google::Apis::DatastreamV1alpha1::MysqlObjectIdentifier::Representation
872
+
873
+ property :oracle_identifier, as: 'oracleIdentifier', class: Google::Apis::DatastreamV1alpha1::OracleObjectIdentifier, decorator: Google::Apis::DatastreamV1alpha1::OracleObjectIdentifier::Representation
874
+
875
+ end
876
+ end
877
+
878
+ class StartBackfillJobResponse
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ property :object, as: 'object', class: Google::Apis::DatastreamV1alpha1::StreamObject, decorator: Google::Apis::DatastreamV1alpha1::StreamObject::Representation
882
+
883
+ end
884
+ end
885
+
783
886
  class StaticServiceIpConnectivity
784
887
  # @private
785
888
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -795,6 +898,14 @@ module Google
795
898
  end
796
899
  end
797
900
 
901
+ class StopBackfillJobResponse
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :object, as: 'object', class: Google::Apis::DatastreamV1alpha1::StreamObject, decorator: Google::Apis::DatastreamV1alpha1::StreamObject::Representation
905
+
906
+ end
907
+ end
908
+
798
909
  class Stream
799
910
  # @private
800
911
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -818,6 +929,22 @@ module Google
818
929
  end
819
930
  end
820
931
 
932
+ class StreamObject
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ property :backfill_job, as: 'backfillJob', class: Google::Apis::DatastreamV1alpha1::BackfillJob, decorator: Google::Apis::DatastreamV1alpha1::BackfillJob::Representation
936
+
937
+ property :create_time, as: 'createTime'
938
+ property :display_name, as: 'displayName'
939
+ collection :errors, as: 'errors', class: Google::Apis::DatastreamV1alpha1::Error, decorator: Google::Apis::DatastreamV1alpha1::Error::Representation
940
+
941
+ property :name, as: 'name'
942
+ property :source_object, as: 'sourceObject', class: Google::Apis::DatastreamV1alpha1::SourceObjectIdentifier, decorator: Google::Apis::DatastreamV1alpha1::SourceObjectIdentifier::Representation
943
+
944
+ property :update_time, as: 'updateTime'
945
+ end
946
+ end
947
+
821
948
  class Validation
822
949
  # @private
823
950
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1177,6 +1177,136 @@ module Google
1177
1177
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1178
1178
  execute_or_queue_command(command, &block)
1179
1179
  end
1180
+
1181
+ # Use this method to get details about a stream object.
1182
+ # @param [String] name
1183
+ # Required. The name of the stream object resource to get.
1184
+ # @param [String] fields
1185
+ # Selector specifying which fields to include in a partial response.
1186
+ # @param [String] quota_user
1187
+ # Available to use for quota purposes for server-side applications. Can be any
1188
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1189
+ # @param [Google::Apis::RequestOptions] options
1190
+ # Request-specific options
1191
+ #
1192
+ # @yield [result, err] Result & error if block supplied
1193
+ # @yieldparam result [Google::Apis::DatastreamV1alpha1::StreamObject] parsed result object
1194
+ # @yieldparam err [StandardError] error object if request failed
1195
+ #
1196
+ # @return [Google::Apis::DatastreamV1alpha1::StreamObject]
1197
+ #
1198
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1199
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1200
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1201
+ def get_project_location_stream_object(name, fields: nil, quota_user: nil, options: nil, &block)
1202
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1203
+ command.response_representation = Google::Apis::DatastreamV1alpha1::StreamObject::Representation
1204
+ command.response_class = Google::Apis::DatastreamV1alpha1::StreamObject
1205
+ command.params['name'] = name unless name.nil?
1206
+ command.query['fields'] = fields unless fields.nil?
1207
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1208
+ execute_or_queue_command(command, &block)
1209
+ end
1210
+
1211
+ # Use this method to list the objects of a specific stream.
1212
+ # @param [String] parent
1213
+ # Required. The parent stream that owns the collection of objects.
1214
+ # @param [Fixnum] page_size
1215
+ # Maximum number of objects to return. Default is 50. The maximum value is 1000;
1216
+ # values above 1000 will be coerced to 1000.
1217
+ # @param [String] page_token
1218
+ # Page token received from a previous `ListStreamObjectsRequest` call. Provide
1219
+ # this to retrieve the subsequent page. When paginating, all other parameters
1220
+ # provided to `ListStreamObjectsRequest` must match the call that provided the
1221
+ # page token.
1222
+ # @param [String] fields
1223
+ # Selector specifying which fields to include in a partial response.
1224
+ # @param [String] quota_user
1225
+ # Available to use for quota purposes for server-side applications. Can be any
1226
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1227
+ # @param [Google::Apis::RequestOptions] options
1228
+ # Request-specific options
1229
+ #
1230
+ # @yield [result, err] Result & error if block supplied
1231
+ # @yieldparam result [Google::Apis::DatastreamV1alpha1::ListStreamObjectsResponse] parsed result object
1232
+ # @yieldparam err [StandardError] error object if request failed
1233
+ #
1234
+ # @return [Google::Apis::DatastreamV1alpha1::ListStreamObjectsResponse]
1235
+ #
1236
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1237
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1238
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1239
+ def list_project_location_stream_objects(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1240
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/objects', options)
1241
+ command.response_representation = Google::Apis::DatastreamV1alpha1::ListStreamObjectsResponse::Representation
1242
+ command.response_class = Google::Apis::DatastreamV1alpha1::ListStreamObjectsResponse
1243
+ command.params['parent'] = parent unless parent.nil?
1244
+ command.query['pageSize'] = page_size unless page_size.nil?
1245
+ command.query['pageToken'] = page_token unless page_token.nil?
1246
+ command.query['fields'] = fields unless fields.nil?
1247
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1248
+ execute_or_queue_command(command, &block)
1249
+ end
1250
+
1251
+ # Starts backfill job for the specified stream object.
1252
+ # @param [String] object
1253
+ # Required. The name of the stream object resource to start a backfill job for.
1254
+ # @param [String] fields
1255
+ # Selector specifying which fields to include in a partial response.
1256
+ # @param [String] quota_user
1257
+ # Available to use for quota purposes for server-side applications. Can be any
1258
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1259
+ # @param [Google::Apis::RequestOptions] options
1260
+ # Request-specific options
1261
+ #
1262
+ # @yield [result, err] Result & error if block supplied
1263
+ # @yieldparam result [Google::Apis::DatastreamV1alpha1::StartBackfillJobResponse] parsed result object
1264
+ # @yieldparam err [StandardError] error object if request failed
1265
+ #
1266
+ # @return [Google::Apis::DatastreamV1alpha1::StartBackfillJobResponse]
1267
+ #
1268
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1269
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1270
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1271
+ def start_project_location_stream_object_backfill_job(object, fields: nil, quota_user: nil, options: nil, &block)
1272
+ command = make_simple_command(:post, 'v1alpha1/{+object}:startBackfillJob', options)
1273
+ command.response_representation = Google::Apis::DatastreamV1alpha1::StartBackfillJobResponse::Representation
1274
+ command.response_class = Google::Apis::DatastreamV1alpha1::StartBackfillJobResponse
1275
+ command.params['object'] = object unless object.nil?
1276
+ command.query['fields'] = fields unless fields.nil?
1277
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1278
+ execute_or_queue_command(command, &block)
1279
+ end
1280
+
1281
+ # Stops the backfill job for the specified stream object.
1282
+ # @param [String] object
1283
+ # Required. The name of the stream object resource to stop the backfill job for.
1284
+ # @param [String] fields
1285
+ # Selector specifying which fields to include in a partial response.
1286
+ # @param [String] quota_user
1287
+ # Available to use for quota purposes for server-side applications. Can be any
1288
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1289
+ # @param [Google::Apis::RequestOptions] options
1290
+ # Request-specific options
1291
+ #
1292
+ # @yield [result, err] Result & error if block supplied
1293
+ # @yieldparam result [Google::Apis::DatastreamV1alpha1::StopBackfillJobResponse] parsed result object
1294
+ # @yieldparam err [StandardError] error object if request failed
1295
+ #
1296
+ # @return [Google::Apis::DatastreamV1alpha1::StopBackfillJobResponse]
1297
+ #
1298
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1299
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1300
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1301
+ def stop_project_location_stream_object_backfill_job(object, fields: nil, quota_user: nil, options: nil, &block)
1302
+ command = make_simple_command(:post, 'v1alpha1/{+object}:stopBackfillJob', options)
1303
+ command.response_representation = Google::Apis::DatastreamV1alpha1::StopBackfillJobResponse::Representation
1304
+ command.response_class = Google::Apis::DatastreamV1alpha1::StopBackfillJobResponse
1305
+ command.params['object'] = object unless object.nil?
1306
+ command.query['fields'] = fields unless fields.nil?
1307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1308
+ execute_or_queue_command(command, &block)
1309
+ end
1180
1310
 
1181
1311
  protected
1182
1312
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datastream_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.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: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2021-12-06 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_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1alpha1/v0.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datastream_v1alpha1/v0.3.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datastream_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []