google-apis-datapipelines_v1 0.10.0 → 0.11.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatapipelinesV1
18
18
  # Version of the google-apis-datapipelines_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20221106"
26
26
  end
27
27
  end
28
28
  end
@@ -22,18 +22,84 @@ module Google
22
22
  module Apis
23
23
  module DatapipelinesV1
24
24
 
25
+ class GoogleCloudDatapipelinesV1ArrayValue
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDatapipelinesV1AtomicValue
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudDatapipelinesV1ComputeSchemaRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudDatapipelinesV1ConfiguredTransform
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
25
55
  class GoogleCloudDatapipelinesV1DataflowJobDetails
26
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
57
 
28
58
  include Google::Apis::Core::JsonObjectSupport
29
59
  end
30
60
 
61
+ class GoogleCloudDatapipelinesV1EnumerationValue
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudDatapipelinesV1Field
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudDatapipelinesV1FieldType
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudDatapipelinesV1FieldValue
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDatapipelinesV1FixedBytesValue
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
31
91
  class GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment
32
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
93
 
34
94
  include Google::Apis::Core::JsonObjectSupport
35
95
  end
36
96
 
97
+ class GoogleCloudDatapipelinesV1IterableValue
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
37
103
  class GoogleCloudDatapipelinesV1Job
38
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
105
 
@@ -76,12 +142,60 @@ module Google
76
142
  include Google::Apis::Core::JsonObjectSupport
77
143
  end
78
144
 
145
+ class GoogleCloudDatapipelinesV1LogicalType
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudDatapipelinesV1LogicalTypeEnumerationType
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudDatapipelinesV1LogicalTypeFixedBytes
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudDatapipelinesV1MapType
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleCloudDatapipelinesV1MapValue
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleCloudDatapipelinesV1MapValueEntry
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
79
181
  class GoogleCloudDatapipelinesV1Pipeline
80
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
183
 
82
184
  include Google::Apis::Core::JsonObjectSupport
83
185
  end
84
186
 
187
+ class GoogleCloudDatapipelinesV1RawSchemaInfo
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleCloudDatapipelinesV1Row
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
85
199
  class GoogleCloudDatapipelinesV1RunPipelineRequest
86
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
201
 
@@ -106,6 +220,18 @@ module Google
106
220
  include Google::Apis::Core::JsonObjectSupport
107
221
  end
108
222
 
223
+ class GoogleCloudDatapipelinesV1Schema
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleCloudDatapipelinesV1SchemaSource
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
109
235
  class GoogleCloudDatapipelinesV1SdkVersion
110
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
237
 
@@ -118,6 +244,12 @@ module Google
118
244
  include Google::Apis::Core::JsonObjectSupport
119
245
  end
120
246
 
247
+ class GoogleCloudDatapipelinesV1TransformDescription
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
121
253
  class GoogleCloudDatapipelinesV1Workload
122
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
255
 
@@ -136,6 +268,80 @@ module Google
136
268
  include Google::Apis::Core::JsonObjectSupport
137
269
  end
138
270
 
271
+ class GoogleTypeDateTime
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleTypeDecimal
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class GoogleTypeTimeZone
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class GoogleCloudDatapipelinesV1ArrayValue
290
+ # @private
291
+ class Representation < Google::Apis::Core::JsonRepresentation
292
+ collection :elements, as: 'elements', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue::Representation
293
+
294
+ end
295
+ end
296
+
297
+ class GoogleCloudDatapipelinesV1AtomicValue
298
+ # @private
299
+ class Representation < Google::Apis::Core::JsonRepresentation
300
+ property :boolean_value, as: 'booleanValue'
301
+ property :byte_value, as: 'byteValue'
302
+ property :bytes_value, :base64 => true, as: 'bytesValue'
303
+ property :datetime_value, as: 'datetimeValue', class: Google::Apis::DatapipelinesV1::GoogleTypeDateTime, decorator: Google::Apis::DatapipelinesV1::GoogleTypeDateTime::Representation
304
+
305
+ property :decimal_value, as: 'decimalValue', class: Google::Apis::DatapipelinesV1::GoogleTypeDecimal, decorator: Google::Apis::DatapipelinesV1::GoogleTypeDecimal::Representation
306
+
307
+ property :double_value, as: 'doubleValue'
308
+ property :float_value, as: 'floatValue'
309
+ property :int16_value, as: 'int16Value'
310
+ property :int32_value, as: 'int32Value'
311
+ property :int64_value, :numeric_string => true, as: 'int64Value'
312
+ property :string_value, as: 'stringValue'
313
+ end
314
+ end
315
+
316
+ class GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ collection :transform_descriptions, as: 'transformDescriptions', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1TransformDescription, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1TransformDescription::Representation
320
+
321
+ end
322
+ end
323
+
324
+ class GoogleCloudDatapipelinesV1ComputeSchemaRequest
325
+ # @private
326
+ class Representation < Google::Apis::Core::JsonRepresentation
327
+ property :config, as: 'config', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ConfiguredTransform, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ConfiguredTransform::Representation
328
+
329
+ collection :input_schemas, as: 'inputSchemas', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema::Representation
330
+
331
+ property :raw_schema, as: 'rawSchema', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1RawSchemaInfo, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1RawSchemaInfo::Representation
332
+
333
+ end
334
+ end
335
+
336
+ class GoogleCloudDatapipelinesV1ConfiguredTransform
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :config, as: 'config', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Row, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Row::Representation
340
+
341
+ property :uniform_resource_name, as: 'uniformResourceName'
342
+ end
343
+ end
344
+
139
345
  class GoogleCloudDatapipelinesV1DataflowJobDetails
140
346
  # @private
141
347
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -146,6 +352,65 @@ module Google
146
352
  end
147
353
  end
148
354
 
355
+ class GoogleCloudDatapipelinesV1EnumerationValue
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :name, as: 'name'
359
+ end
360
+ end
361
+
362
+ class GoogleCloudDatapipelinesV1Field
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :name, as: 'name'
366
+ property :type, as: 'type', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType::Representation
367
+
368
+ end
369
+ end
370
+
371
+ class GoogleCloudDatapipelinesV1FieldType
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :collection_element_type, as: 'collectionElementType', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType::Representation
375
+
376
+ property :logical_type, as: 'logicalType', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LogicalType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LogicalType::Representation
377
+
378
+ property :map_type, as: 'mapType', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1MapType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1MapType::Representation
379
+
380
+ property :nullable, as: 'nullable'
381
+ property :row_schema, as: 'rowSchema', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema::Representation
382
+
383
+ property :type, as: 'type'
384
+ end
385
+ end
386
+
387
+ class GoogleCloudDatapipelinesV1FieldValue
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :array_value, as: 'arrayValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ArrayValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ArrayValue::Representation
391
+
392
+ property :atomic_value, as: 'atomicValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1AtomicValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1AtomicValue::Representation
393
+
394
+ property :enum_value, as: 'enumValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1EnumerationValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1EnumerationValue::Representation
395
+
396
+ property :fixed_bytes_value, as: 'fixedBytesValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FixedBytesValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FixedBytesValue::Representation
397
+
398
+ property :iterable_value, as: 'iterableValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1IterableValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1IterableValue::Representation
399
+
400
+ property :map_value, as: 'mapValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1MapValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1MapValue::Representation
401
+
402
+ property :row_value, as: 'rowValue', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Row, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Row::Representation
403
+
404
+ end
405
+ end
406
+
407
+ class GoogleCloudDatapipelinesV1FixedBytesValue
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ property :value, :base64 => true, as: 'value'
411
+ end
412
+ end
413
+
149
414
  class GoogleCloudDatapipelinesV1FlexTemplateRuntimeEnvironment
150
415
  # @private
151
416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -168,6 +433,14 @@ module Google
168
433
  end
169
434
  end
170
435
 
436
+ class GoogleCloudDatapipelinesV1IterableValue
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ collection :elements, as: 'elements', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue::Representation
440
+
441
+ end
442
+ end
443
+
171
444
  class GoogleCloudDatapipelinesV1Job
172
445
  # @private
173
446
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -250,6 +523,58 @@ module Google
250
523
  end
251
524
  end
252
525
 
526
+ class GoogleCloudDatapipelinesV1LogicalType
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :enumeration_type, as: 'enumerationType', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LogicalTypeEnumerationType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LogicalTypeEnumerationType::Representation
530
+
531
+ property :fixed_bytes, as: 'fixedBytes', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LogicalTypeFixedBytes, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1LogicalTypeFixedBytes::Representation
532
+
533
+ end
534
+ end
535
+
536
+ class GoogleCloudDatapipelinesV1LogicalTypeEnumerationType
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ collection :values, as: 'values'
540
+ end
541
+ end
542
+
543
+ class GoogleCloudDatapipelinesV1LogicalTypeFixedBytes
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :size_bytes, as: 'sizeBytes'
547
+ end
548
+ end
549
+
550
+ class GoogleCloudDatapipelinesV1MapType
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :map_key_type, as: 'mapKeyType', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType::Representation
554
+
555
+ property :map_value_type, as: 'mapValueType', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldType::Representation
556
+
557
+ end
558
+ end
559
+
560
+ class GoogleCloudDatapipelinesV1MapValue
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ collection :entries, as: 'entries', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1MapValueEntry, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1MapValueEntry::Representation
564
+
565
+ end
566
+ end
567
+
568
+ class GoogleCloudDatapipelinesV1MapValueEntry
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :key, as: 'key', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue::Representation
572
+
573
+ property :value, as: 'value', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue::Representation
574
+
575
+ end
576
+ end
577
+
253
578
  class GoogleCloudDatapipelinesV1Pipeline
254
579
  # @private
255
580
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -269,6 +594,24 @@ module Google
269
594
  end
270
595
  end
271
596
 
597
+ class GoogleCloudDatapipelinesV1RawSchemaInfo
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :raw_schema, as: 'rawSchema'
601
+ property :type, as: 'type'
602
+ end
603
+ end
604
+
605
+ class GoogleCloudDatapipelinesV1Row
606
+ # @private
607
+ class Representation < Google::Apis::Core::JsonRepresentation
608
+ property :schema, as: 'schema', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1SchemaSource, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1SchemaSource::Representation
609
+
610
+ collection :values, as: 'values', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1FieldValue::Representation
611
+
612
+ end
613
+ end
614
+
272
615
  class GoogleCloudDatapipelinesV1RunPipelineRequest
273
616
  # @private
274
617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -314,6 +657,24 @@ module Google
314
657
  end
315
658
  end
316
659
 
660
+ class GoogleCloudDatapipelinesV1Schema
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ collection :fields, as: 'fields', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Field, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Field::Representation
664
+
665
+ property :reference_id, as: 'referenceId'
666
+ end
667
+ end
668
+
669
+ class GoogleCloudDatapipelinesV1SchemaSource
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :local_schema, as: 'localSchema', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema::Representation
673
+
674
+ property :reference_id, as: 'referenceId'
675
+ end
676
+ end
677
+
317
678
  class GoogleCloudDatapipelinesV1SdkVersion
318
679
  # @private
319
680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -329,6 +690,16 @@ module Google
329
690
  end
330
691
  end
331
692
 
693
+ class GoogleCloudDatapipelinesV1TransformDescription
694
+ # @private
695
+ class Representation < Google::Apis::Core::JsonRepresentation
696
+ property :name, as: 'name'
697
+ property :options, as: 'options', class: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema, decorator: Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema::Representation
698
+
699
+ property :uniform_resource_name, as: 'uniformResourceName'
700
+ end
701
+ end
702
+
332
703
  class GoogleCloudDatapipelinesV1Workload
333
704
  # @private
334
705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -353,6 +724,37 @@ module Google
353
724
  property :message, as: 'message'
354
725
  end
355
726
  end
727
+
728
+ class GoogleTypeDateTime
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :day, as: 'day'
732
+ property :hours, as: 'hours'
733
+ property :minutes, as: 'minutes'
734
+ property :month, as: 'month'
735
+ property :nanos, as: 'nanos'
736
+ property :seconds, as: 'seconds'
737
+ property :time_zone, as: 'timeZone', class: Google::Apis::DatapipelinesV1::GoogleTypeTimeZone, decorator: Google::Apis::DatapipelinesV1::GoogleTypeTimeZone::Representation
738
+
739
+ property :utc_offset, as: 'utcOffset'
740
+ property :year, as: 'year'
741
+ end
742
+ end
743
+
744
+ class GoogleTypeDecimal
745
+ # @private
746
+ class Representation < Google::Apis::Core::JsonRepresentation
747
+ property :value, as: 'value'
748
+ end
749
+ end
750
+
751
+ class GoogleTypeTimeZone
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :id, as: 'id'
755
+ property :version, as: 'version'
756
+ end
757
+ end
356
758
  end
357
759
  end
358
760
  end
@@ -50,6 +50,52 @@ module Google
50
50
  @batch_path = 'batch'
51
51
  end
52
52
 
53
+ # Computes the schema for the transform. Computation from `raw_schema` will
54
+ # always occur if it is set. This requires that the transform supports that
55
+ # encoding. If no raw schema is provided and if the transform is for an IO, then
56
+ # this will attempt to connect to the resource using the details provided in `
57
+ # config` and infer the schema from that. If the transform is not an IO, is a
58
+ # sink that doesn't exist yet, or is a sink with no schema requirement, then
59
+ # this will fall back to basing the schema off the one provided in `
60
+ # input_schemas`. The computed schema will be validated.
61
+ # @param [String] location
62
+ # Required. The full location formatted as "projects/`your-project`/locations/`
63
+ # google-cloud-region`". If attempting to infer the schema from an existing
64
+ # Google Cloud resource, the default Data Pipelines service account for this
65
+ # project will be used in making requests for the resource. If the region given
66
+ # for "`google-cloud-region`" is different than the region where the resource is
67
+ # stored, then the data will be transferred to and processed in the region
68
+ # specified here, but it will not be persistently stored in this region.
69
+ # @param [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ComputeSchemaRequest] google_cloud_datapipelines_v1_compute_schema_request_object
70
+ # @param [String] fields
71
+ # Selector specifying which fields to include in a partial response.
72
+ # @param [String] quota_user
73
+ # Available to use for quota purposes for server-side applications. Can be any
74
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
75
+ # @param [Google::Apis::RequestOptions] options
76
+ # Request-specific options
77
+ #
78
+ # @yield [result, err] Result & error if block supplied
79
+ # @yieldparam result [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema] parsed result object
80
+ # @yieldparam err [StandardError] error object if request failed
81
+ #
82
+ # @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema]
83
+ #
84
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
85
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
86
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
87
+ def compute_project_location_schema(location, google_cloud_datapipelines_v1_compute_schema_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
88
+ command = make_simple_command(:post, 'v1/{+location}:computeSchema', options)
89
+ command.request_representation = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1ComputeSchemaRequest::Representation
90
+ command.request_object = google_cloud_datapipelines_v1_compute_schema_request_object
91
+ command.response_representation = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema::Representation
92
+ command.response_class = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1Schema
93
+ command.params['location'] = location unless location.nil?
94
+ command.query['fields'] = fields unless fields.nil?
95
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
96
+ execute_or_queue_command(command, &block)
97
+ end
98
+
53
99
  # Lists pipelines. Returns a "FORBIDDEN" error if the caller doesn't have
54
100
  # permission to access it.
55
101
  # @param [String] parent
@@ -367,6 +413,76 @@ module Google
367
413
  command.query['quotaUser'] = quota_user unless quota_user.nil?
368
414
  execute_or_queue_command(command, &block)
369
415
  end
416
+
417
+ # Gets transform descriptions in a batch, associated with a list of provided
418
+ # uniform resource names.
419
+ # @param [String] parent
420
+ # Required. The project and location shared by all transform descriptions being
421
+ # retrieved, formatted as "projects/`project`/locations/`location`".
422
+ # @param [Array<String>, String] names
423
+ # Optional. The names of the transform descriptions being retrieved, formatted
424
+ # as "projects/`project`/locations/`location`/transformdescriptions/`
425
+ # transform_description`". If no name is provided, all of the transform
426
+ # descriptions will be returned.
427
+ # @param [String] fields
428
+ # Selector specifying which fields to include in a partial response.
429
+ # @param [String] quota_user
430
+ # Available to use for quota purposes for server-side applications. Can be any
431
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
432
+ # @param [Google::Apis::RequestOptions] options
433
+ # Request-specific options
434
+ #
435
+ # @yield [result, err] Result & error if block supplied
436
+ # @yieldparam result [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse] parsed result object
437
+ # @yieldparam err [StandardError] error object if request failed
438
+ #
439
+ # @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse]
440
+ #
441
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
442
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
443
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
444
+ def batch_project_location_transform_description_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
445
+ command = make_simple_command(:get, 'v1/{+parent}/transformDescriptions:batchGet', options)
446
+ command.response_representation = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse::Representation
447
+ command.response_class = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1BatchGetTransformDescriptionsResponse
448
+ command.params['parent'] = parent unless parent.nil?
449
+ command.query['names'] = names unless names.nil?
450
+ command.query['fields'] = fields unless fields.nil?
451
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
452
+ execute_or_queue_command(command, &block)
453
+ end
454
+
455
+ # Gets the transform description associated with the provided uniform resource
456
+ # name.
457
+ # @param [String] name
458
+ # Required. The full name formatted as "projects/`your-project`/locations/`
459
+ # google-cloud-region`/transformdescriptions/`uniform-resource-name`".
460
+ # @param [String] fields
461
+ # Selector specifying which fields to include in a partial response.
462
+ # @param [String] quota_user
463
+ # Available to use for quota purposes for server-side applications. Can be any
464
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
465
+ # @param [Google::Apis::RequestOptions] options
466
+ # Request-specific options
467
+ #
468
+ # @yield [result, err] Result & error if block supplied
469
+ # @yieldparam result [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1TransformDescription] parsed result object
470
+ # @yieldparam err [StandardError] error object if request failed
471
+ #
472
+ # @return [Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1TransformDescription]
473
+ #
474
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
475
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
476
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
477
+ def get_project_location_transform_description(name, fields: nil, quota_user: nil, options: nil, &block)
478
+ command = make_simple_command(:get, 'v1/{+name}', options)
479
+ command.response_representation = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1TransformDescription::Representation
480
+ command.response_class = Google::Apis::DatapipelinesV1::GoogleCloudDatapipelinesV1TransformDescription
481
+ command.params['name'] = name unless name.nil?
482
+ command.query['fields'] = fields unless fields.nil?
483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
484
+ execute_or_queue_command(command, &block)
485
+ end
370
486
 
371
487
  protected
372
488
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datapipelines_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 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-datapipelines_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datapipelines_v1/v0.10.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datapipelines_v1/v0.11.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datapipelines_v1
63
63
  post_install_message:
64
64
  rdoc_options: []