google-apis-dataflow_v1b3 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DataflowV1b3
18
18
  # Version of the google-apis-dataflow_v1b3 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210106"
25
+ REVISION = "20210420"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class Artifact
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class AutoscalingEvent
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -76,12 +70,6 @@ module Google
76
70
  include Google::Apis::Core::JsonObjectSupport
77
71
  end
78
72
 
79
- class CommitTemplateVersionRequest
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
73
  class ComponentSource
86
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
75
 
@@ -142,25 +130,25 @@ module Google
142
130
  include Google::Apis::Core::JsonObjectSupport
143
131
  end
144
132
 
145
- class CreateTemplateVersionRequest
133
+ class CustomSourceLocation
146
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
135
 
148
136
  include Google::Apis::Core::JsonObjectSupport
149
137
  end
150
138
 
151
- class CustomSourceLocation
139
+ class DataDiskAssignment
152
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
141
 
154
142
  include Google::Apis::Core::JsonObjectSupport
155
143
  end
156
144
 
157
- class DataDiskAssignment
145
+ class DatastoreIoDetails
158
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
147
 
160
148
  include Google::Apis::Core::JsonObjectSupport
161
149
  end
162
150
 
163
- class DatastoreIoDetails
151
+ class DebugOptions
164
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
153
 
166
154
  include Google::Apis::Core::JsonObjectSupport
@@ -202,12 +190,6 @@ module Google
202
190
  include Google::Apis::Core::JsonObjectSupport
203
191
  end
204
192
 
205
- class Empty
206
- class Representation < Google::Apis::Core::JsonRepresentation; end
207
-
208
- include Google::Apis::Core::JsonObjectSupport
209
- end
210
-
211
193
  class Environment
212
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
195
 
@@ -436,12 +418,6 @@ module Google
436
418
  include Google::Apis::Core::JsonObjectSupport
437
419
  end
438
420
 
439
- class ListTemplateVersionsResponse
440
- class Representation < Google::Apis::Core::JsonRepresentation; end
441
-
442
- include Google::Apis::Core::JsonObjectSupport
443
- end
444
-
445
421
  class MapTask
446
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
423
 
@@ -472,30 +448,6 @@ module Google
472
448
  include Google::Apis::Core::JsonObjectSupport
473
449
  end
474
450
 
475
- class ModifyTemplateVersionLabelRequest
476
- class Representation < Google::Apis::Core::JsonRepresentation; end
477
-
478
- include Google::Apis::Core::JsonObjectSupport
479
- end
480
-
481
- class ModifyTemplateVersionLabelResponse
482
- class Representation < Google::Apis::Core::JsonRepresentation; end
483
-
484
- include Google::Apis::Core::JsonObjectSupport
485
- end
486
-
487
- class ModifyTemplateVersionTagRequest
488
- class Representation < Google::Apis::Core::JsonRepresentation; end
489
-
490
- include Google::Apis::Core::JsonObjectSupport
491
- end
492
-
493
- class ModifyTemplateVersionTagResponse
494
- class Representation < Google::Apis::Core::JsonRepresentation; end
495
-
496
- include Google::Apis::Core::JsonObjectSupport
497
- end
498
-
499
451
  class MountedDataDisk
500
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
453
 
@@ -922,12 +874,6 @@ module Google
922
874
  include Google::Apis::Core::JsonObjectSupport
923
875
  end
924
876
 
925
- class TemplateVersion
926
- class Representation < Google::Apis::Core::JsonRepresentation; end
927
-
928
- include Google::Apis::Core::JsonObjectSupport
929
- end
930
-
931
877
  class TopologyConfig
932
878
  class Representation < Google::Apis::Core::JsonRepresentation; end
933
879
 
@@ -1075,17 +1021,6 @@ module Google
1075
1021
  end
1076
1022
  end
1077
1023
 
1078
- class Artifact
1079
- # @private
1080
- class Representation < Google::Apis::Core::JsonRepresentation
1081
- property :container_spec, as: 'containerSpec', class: Google::Apis::DataflowV1b3::ContainerSpec, decorator: Google::Apis::DataflowV1b3::ContainerSpec::Representation
1082
-
1083
- property :job_graph_gcs_path, as: 'jobGraphGcsPath'
1084
- property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::TemplateMetadata, decorator: Google::Apis::DataflowV1b3::TemplateMetadata::Representation
1085
-
1086
- end
1087
- end
1088
-
1089
1024
  class AutoscalingEvent
1090
1025
  # @private
1091
1026
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1135,14 +1070,6 @@ module Google
1135
1070
  end
1136
1071
  end
1137
1072
 
1138
- class CommitTemplateVersionRequest
1139
- # @private
1140
- class Representation < Google::Apis::Core::JsonRepresentation
1141
- property :template_version, as: 'templateVersion', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
1142
-
1143
- end
1144
- end
1145
-
1146
1073
  class ComponentSource
1147
1074
  # @private
1148
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1278,14 +1205,6 @@ module Google
1278
1205
  end
1279
1206
  end
1280
1207
 
1281
- class CreateTemplateVersionRequest
1282
- # @private
1283
- class Representation < Google::Apis::Core::JsonRepresentation
1284
- property :template_version, as: 'templateVersion', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
1285
-
1286
- end
1287
- end
1288
-
1289
1208
  class CustomSourceLocation
1290
1209
  # @private
1291
1210
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1309,6 +1228,13 @@ module Google
1309
1228
  end
1310
1229
  end
1311
1230
 
1231
+ class DebugOptions
1232
+ # @private
1233
+ class Representation < Google::Apis::Core::JsonRepresentation
1234
+ property :enable_hot_key_logging, as: 'enableHotKeyLogging'
1235
+ end
1236
+ end
1237
+
1312
1238
  class DeleteSnapshotResponse
1313
1239
  # @private
1314
1240
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1378,23 +1304,21 @@ module Google
1378
1304
  end
1379
1305
  end
1380
1306
 
1381
- class Empty
1382
- # @private
1383
- class Representation < Google::Apis::Core::JsonRepresentation
1384
- end
1385
- end
1386
-
1387
1307
  class Environment
1388
1308
  # @private
1389
1309
  class Representation < Google::Apis::Core::JsonRepresentation
1390
1310
  property :cluster_manager_api_service, as: 'clusterManagerApiService'
1391
1311
  property :dataset, as: 'dataset'
1312
+ property :debug_options, as: 'debugOptions', class: Google::Apis::DataflowV1b3::DebugOptions, decorator: Google::Apis::DataflowV1b3::DebugOptions::Representation
1313
+
1392
1314
  collection :experiments, as: 'experiments'
1393
1315
  property :flex_resource_scheduling_goal, as: 'flexResourceSchedulingGoal'
1394
1316
  hash :internal_experiments, as: 'internalExperiments'
1395
1317
  hash :sdk_pipeline_options, as: 'sdkPipelineOptions'
1396
1318
  property :service_account_email, as: 'serviceAccountEmail'
1397
1319
  property :service_kms_key_name, as: 'serviceKmsKeyName'
1320
+ collection :service_options, as: 'serviceOptions'
1321
+ property :shuffle_mode, as: 'shuffleMode'
1398
1322
  property :temp_storage_prefix, as: 'tempStoragePrefix'
1399
1323
  hash :user_agent, as: 'userAgent'
1400
1324
  hash :version, as: 'version'
@@ -1468,6 +1392,7 @@ module Google
1468
1392
  property :network, as: 'network'
1469
1393
  property :num_workers, as: 'numWorkers'
1470
1394
  property :service_account_email, as: 'serviceAccountEmail'
1395
+ property :staging_location, as: 'stagingLocation'
1471
1396
  property :subnetwork, as: 'subnetwork'
1472
1397
  property :temp_location, as: 'tempLocation'
1473
1398
  property :worker_region, as: 'workerRegion'
@@ -1810,15 +1735,6 @@ module Google
1810
1735
  end
1811
1736
  end
1812
1737
 
1813
- class ListTemplateVersionsResponse
1814
- # @private
1815
- class Representation < Google::Apis::Core::JsonRepresentation
1816
- property :next_page_token, as: 'nextPageToken'
1817
- collection :template_versions, as: 'templateVersions', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
1818
-
1819
- end
1820
- end
1821
-
1822
1738
  class MapTask
1823
1739
  # @private
1824
1740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1875,37 +1791,6 @@ module Google
1875
1791
  end
1876
1792
  end
1877
1793
 
1878
- class ModifyTemplateVersionLabelRequest
1879
- # @private
1880
- class Representation < Google::Apis::Core::JsonRepresentation
1881
- property :key, as: 'key'
1882
- property :op, as: 'op'
1883
- property :value, as: 'value'
1884
- end
1885
- end
1886
-
1887
- class ModifyTemplateVersionLabelResponse
1888
- # @private
1889
- class Representation < Google::Apis::Core::JsonRepresentation
1890
- hash :labels, as: 'labels'
1891
- end
1892
- end
1893
-
1894
- class ModifyTemplateVersionTagRequest
1895
- # @private
1896
- class Representation < Google::Apis::Core::JsonRepresentation
1897
- property :remove_only, as: 'removeOnly'
1898
- property :tag, as: 'tag'
1899
- end
1900
- end
1901
-
1902
- class ModifyTemplateVersionTagResponse
1903
- # @private
1904
- class Representation < Google::Apis::Core::JsonRepresentation
1905
- collection :tags, as: 'tags'
1906
- end
1907
- end
1908
-
1909
1794
  class MountedDataDisk
1910
1795
  # @private
1911
1796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1982,6 +1867,7 @@ module Google
1982
1867
  class ParameterMetadata
1983
1868
  # @private
1984
1869
  class Representation < Google::Apis::Core::JsonRepresentation
1870
+ hash :custom_metadata, as: 'customMetadata'
1985
1871
  property :help_text, as: 'helpText'
1986
1872
  property :is_optional, as: 'isOptional'
1987
1873
  property :label, as: 'label'
@@ -2183,6 +2069,7 @@ module Google
2183
2069
  # @private
2184
2070
  class Representation < Google::Apis::Core::JsonRepresentation
2185
2071
  property :container_image, as: 'containerImage'
2072
+ property :environment_id, as: 'environmentId'
2186
2073
  property :use_single_core_per_container, as: 'useSingleCorePerContainer'
2187
2074
  end
2188
2075
  end
@@ -2288,6 +2175,7 @@ module Google
2288
2175
  property :project_id, as: 'projectId'
2289
2176
  collection :pubsub_metadata, as: 'pubsubMetadata', class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata, decorator: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata::Representation
2290
2177
 
2178
+ property :region, as: 'region'
2291
2179
  property :source_job_id, as: 'sourceJobId'
2292
2180
  property :state, as: 'state'
2293
2181
  property :ttl, as: 'ttl'
@@ -2642,22 +2530,6 @@ module Google
2642
2530
  end
2643
2531
  end
2644
2532
 
2645
- class TemplateVersion
2646
- # @private
2647
- class Representation < Google::Apis::Core::JsonRepresentation
2648
- property :artifact, as: 'artifact', class: Google::Apis::DataflowV1b3::Artifact, decorator: Google::Apis::DataflowV1b3::Artifact::Representation
2649
-
2650
- property :create_time, as: 'createTime'
2651
- property :description, as: 'description'
2652
- property :display_name, as: 'displayName'
2653
- hash :labels, as: 'labels'
2654
- property :project_id, as: 'projectId'
2655
- collection :tags, as: 'tags'
2656
- property :type, as: 'type'
2657
- property :version_id, as: 'versionId'
2658
- end
2659
- end
2660
-
2661
2533
  class TopologyConfig
2662
2534
  # @private
2663
2535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2803,6 +2675,7 @@ module Google
2803
2675
  property :msg, as: 'msg'
2804
2676
  collection :pods, as: 'pods'
2805
2677
  property :report_interval, as: 'reportInterval'
2678
+ property :vm_broken_code, as: 'vmBrokenCode'
2806
2679
  property :vm_is_broken, as: 'vmIsBroken'
2807
2680
  property :vm_is_healthy, as: 'vmIsHealthy'
2808
2681
  property :vm_startup_time, as: 'vmStartupTime'
@@ -118,221 +118,6 @@ module Google
118
118
  execute_or_queue_command(command, &block)
119
119
  end
120
120
 
121
- # Creates a new TemplateVersion (Important: not new Template) entry in the
122
- # spanner table. Requires project_id and display_name (template).
123
- # @param [String] name
124
- # The location of the template, name includes project_id and display_name.
125
- # Commit using project_id(pid1) and display_name(tid1). Format: projects/`pid1`/
126
- # catalogTemplates/`tid1`
127
- # @param [Google::Apis::DataflowV1b3::CommitTemplateVersionRequest] commit_template_version_request_object
128
- # @param [String] fields
129
- # Selector specifying which fields to include in a partial response.
130
- # @param [String] quota_user
131
- # Available to use for quota purposes for server-side applications. Can be any
132
- # arbitrary string assigned to a user, but should not exceed 40 characters.
133
- # @param [Google::Apis::RequestOptions] options
134
- # Request-specific options
135
- #
136
- # @yield [result, err] Result & error if block supplied
137
- # @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
138
- # @yieldparam err [StandardError] error object if request failed
139
- #
140
- # @return [Google::Apis::DataflowV1b3::TemplateVersion]
141
- #
142
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
- # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def commit_catalog_template_template_version(name, commit_template_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:post, 'v1b3/{+name}:commit', options)
147
- command.request_representation = Google::Apis::DataflowV1b3::CommitTemplateVersionRequest::Representation
148
- command.request_object = commit_template_version_request_object
149
- command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
150
- command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
151
- command.params['name'] = name unless name.nil?
152
- command.query['fields'] = fields unless fields.nil?
153
- command.query['quotaUser'] = quota_user unless quota_user.nil?
154
- execute_or_queue_command(command, &block)
155
- end
156
-
157
- # Deletes an existing Template. Do nothing if Template does not exist.
158
- # @param [String] name
159
- # name includes project_id and display_name. Delete by project_id(pid1) and
160
- # display_name(tid1). Format: projects/`pid1`/catalogTemplates/`tid1`
161
- # @param [String] fields
162
- # Selector specifying which fields to include in a partial response.
163
- # @param [String] quota_user
164
- # Available to use for quota purposes for server-side applications. Can be any
165
- # arbitrary string assigned to a user, but should not exceed 40 characters.
166
- # @param [Google::Apis::RequestOptions] options
167
- # Request-specific options
168
- #
169
- # @yield [result, err] Result & error if block supplied
170
- # @yieldparam result [Google::Apis::DataflowV1b3::Empty] parsed result object
171
- # @yieldparam err [StandardError] error object if request failed
172
- #
173
- # @return [Google::Apis::DataflowV1b3::Empty]
174
- #
175
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
- # @raise [Google::Apis::AuthorizationError] Authorization is required
178
- def delete_project_catalog_template(name, fields: nil, quota_user: nil, options: nil, &block)
179
- command = make_simple_command(:delete, 'v1b3/{+name}', options)
180
- command.response_representation = Google::Apis::DataflowV1b3::Empty::Representation
181
- command.response_class = Google::Apis::DataflowV1b3::Empty
182
- command.params['name'] = name unless name.nil?
183
- command.query['fields'] = fields unless fields.nil?
184
- command.query['quotaUser'] = quota_user unless quota_user.nil?
185
- execute_or_queue_command(command, &block)
186
- end
187
-
188
- # Get TemplateVersion using project_id and display_name with an optional
189
- # version_id field. Get latest (has tag "latest") TemplateVersion if version_id
190
- # not set.
191
- # @param [String] name
192
- # Resource name includes project_id and display_name. version_id is optional.
193
- # Get the latest TemplateVersion if version_id not set. Get by project_id(pid1)
194
- # and display_name(tid1): Format: projects/`pid1`/catalogTemplates/`tid1` Get by
195
- # project_id(pid1), display_name(tid1), and version_id(vid1): Format: projects/`
196
- # pid1`/catalogTemplates/`tid1@vid`
197
- # @param [String] fields
198
- # Selector specifying which fields to include in a partial response.
199
- # @param [String] quota_user
200
- # Available to use for quota purposes for server-side applications. Can be any
201
- # arbitrary string assigned to a user, but should not exceed 40 characters.
202
- # @param [Google::Apis::RequestOptions] options
203
- # Request-specific options
204
- #
205
- # @yield [result, err] Result & error if block supplied
206
- # @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
207
- # @yieldparam err [StandardError] error object if request failed
208
- #
209
- # @return [Google::Apis::DataflowV1b3::TemplateVersion]
210
- #
211
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
- # @raise [Google::Apis::AuthorizationError] Authorization is required
214
- def get_project_catalog_template(name, fields: nil, quota_user: nil, options: nil, &block)
215
- command = make_simple_command(:get, 'v1b3/{+name}', options)
216
- command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
217
- command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
218
- command.params['name'] = name unless name.nil?
219
- command.query['fields'] = fields unless fields.nil?
220
- command.query['quotaUser'] = quota_user unless quota_user.nil?
221
- execute_or_queue_command(command, &block)
222
- end
223
-
224
- # Updates the label of the TemplateVersion. Label can be duplicated in Template,
225
- # so either add or remove the label in the TemplateVersion.
226
- # @param [String] name
227
- # Resource name includes project_id, display_name, and version_id. Updates by
228
- # project_id(pid1), display_name(tid1), and version_id(vid1): Format: projects/`
229
- # pid1`/catalogTemplates/`tid1@vid`
230
- # @param [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest] modify_template_version_label_request_object
231
- # @param [String] fields
232
- # Selector specifying which fields to include in a partial response.
233
- # @param [String] quota_user
234
- # Available to use for quota purposes for server-side applications. Can be any
235
- # arbitrary string assigned to a user, but should not exceed 40 characters.
236
- # @param [Google::Apis::RequestOptions] options
237
- # Request-specific options
238
- #
239
- # @yield [result, err] Result & error if block supplied
240
- # @yieldparam result [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse] parsed result object
241
- # @yieldparam err [StandardError] error object if request failed
242
- #
243
- # @return [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse]
244
- #
245
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
- # @raise [Google::Apis::AuthorizationError] Authorization is required
248
- def label_project_catalog_template(name, modify_template_version_label_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
249
- command = make_simple_command(:post, 'v1b3/{+name}:label', options)
250
- command.request_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest::Representation
251
- command.request_object = modify_template_version_label_request_object
252
- command.response_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse::Representation
253
- command.response_class = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse
254
- command.params['name'] = name unless name.nil?
255
- command.query['fields'] = fields unless fields.nil?
256
- command.query['quotaUser'] = quota_user unless quota_user.nil?
257
- execute_or_queue_command(command, &block)
258
- end
259
-
260
- # Updates the tag of the TemplateVersion, and tag is unique in Template. If tag
261
- # exists in another TemplateVersion in the Template, updates the tag to this
262
- # TemplateVersion will remove it from the old TemplateVersion and add it to this
263
- # TemplateVersion. If request is remove_only (remove_only = true), remove the
264
- # tag from this TemplateVersion.
265
- # @param [String] name
266
- # Resource name includes project_id, display_name, and version_id. Updates by
267
- # project_id(pid1), display_name(tid1), and version_id(vid1): Format: projects/`
268
- # pid1`/catalogTemplates/`tid1@vid`
269
- # @param [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest] modify_template_version_tag_request_object
270
- # @param [String] fields
271
- # Selector specifying which fields to include in a partial response.
272
- # @param [String] quota_user
273
- # Available to use for quota purposes for server-side applications. Can be any
274
- # arbitrary string assigned to a user, but should not exceed 40 characters.
275
- # @param [Google::Apis::RequestOptions] options
276
- # Request-specific options
277
- #
278
- # @yield [result, err] Result & error if block supplied
279
- # @yieldparam result [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse] parsed result object
280
- # @yieldparam err [StandardError] error object if request failed
281
- #
282
- # @return [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse]
283
- #
284
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
- # @raise [Google::Apis::AuthorizationError] Authorization is required
287
- def tag_project_catalog_template(name, modify_template_version_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
288
- command = make_simple_command(:post, 'v1b3/{+name}:tag', options)
289
- command.request_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest::Representation
290
- command.request_object = modify_template_version_tag_request_object
291
- command.response_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse::Representation
292
- command.response_class = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse
293
- command.params['name'] = name unless name.nil?
294
- command.query['fields'] = fields unless fields.nil?
295
- command.query['quotaUser'] = quota_user unless quota_user.nil?
296
- execute_or_queue_command(command, &block)
297
- end
298
-
299
- # Creates a new Template with TemplateVersion. Requires project_id(projects) and
300
- # template display_name(catalogTemplates). The template display_name is set by
301
- # the user.
302
- # @param [String] parent
303
- # The parent project and template that the TemplateVersion will be created under.
304
- # Create using project_id(pid1) and display_name(tid1). Format: projects/`pid1`/
305
- # catalogTemplates/`tid1`
306
- # @param [Google::Apis::DataflowV1b3::CreateTemplateVersionRequest] create_template_version_request_object
307
- # @param [String] fields
308
- # Selector specifying which fields to include in a partial response.
309
- # @param [String] quota_user
310
- # Available to use for quota purposes for server-side applications. Can be any
311
- # arbitrary string assigned to a user, but should not exceed 40 characters.
312
- # @param [Google::Apis::RequestOptions] options
313
- # Request-specific options
314
- #
315
- # @yield [result, err] Result & error if block supplied
316
- # @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
317
- # @yieldparam err [StandardError] error object if request failed
318
- #
319
- # @return [Google::Apis::DataflowV1b3::TemplateVersion]
320
- #
321
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
322
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
323
- # @raise [Google::Apis::AuthorizationError] Authorization is required
324
- def create_template_version(parent, create_template_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
325
- command = make_simple_command(:post, 'v1b3/{+parent}/templateVersions', options)
326
- command.request_representation = Google::Apis::DataflowV1b3::CreateTemplateVersionRequest::Representation
327
- command.request_object = create_template_version_request_object
328
- command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
329
- command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
330
- command.params['parent'] = parent unless parent.nil?
331
- command.query['fields'] = fields unless fields.nil?
332
- command.query['quotaUser'] = quota_user unless quota_user.nil?
333
- execute_or_queue_command(command, &block)
334
- end
335
-
336
121
  # List the jobs of a project across all regions.
337
122
  # @param [String] project_id
338
123
  # The project which owns the jobs.
@@ -1799,8 +1584,8 @@ module Google
1799
1584
  # regional-endpoints) to which to direct the request.
1800
1585
  # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
1801
1586
  # @param [String] dynamic_template_gcs_path
1802
- # Path to dynamic template spec file on GCS. The file must be a Json serialized
1803
- # DynamicTemplateFieSpec object.
1587
+ # Path to dynamic template spec file on Cloud Storage. The file must be a Json
1588
+ # serialized DynamicTemplateFieSpec object.
1804
1589
  # @param [String] dynamic_template_staging_location
1805
1590
  # Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL,
1806
1591
  # beginning with `gs://`.
@@ -1915,47 +1700,6 @@ module Google
1915
1700
  execute_or_queue_command(command, &block)
1916
1701
  end
1917
1702
 
1918
- # List TemplateVersions using project_id and an optional display_name field.
1919
- # List all the TemplateVersions in the Template if display set. List all the
1920
- # TemplateVersions in the Project if display_name not set.
1921
- # @param [String] parent
1922
- # parent includes project_id, and display_name is optional. List by project_id(
1923
- # pid1) and display_name(tid1). Format: projects/`pid1`/catalogTemplates/`tid1`
1924
- # List by project_id(pid1). Format: projects/`pid1`
1925
- # @param [Fixnum] page_size
1926
- # The maximum number of TemplateVersions to return per page.
1927
- # @param [String] page_token
1928
- # The page token, received from a previous ListTemplateVersions call. Provide
1929
- # this to retrieve the subsequent page.
1930
- # @param [String] fields
1931
- # Selector specifying which fields to include in a partial response.
1932
- # @param [String] quota_user
1933
- # Available to use for quota purposes for server-side applications. Can be any
1934
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1935
- # @param [Google::Apis::RequestOptions] options
1936
- # Request-specific options
1937
- #
1938
- # @yield [result, err] Result & error if block supplied
1939
- # @yieldparam result [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse] parsed result object
1940
- # @yieldparam err [StandardError] error object if request failed
1941
- #
1942
- # @return [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse]
1943
- #
1944
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1945
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1946
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1947
- def list_project_template_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1948
- command = make_simple_command(:get, 'v1b3/{+parent}/templateVersions', options)
1949
- command.response_representation = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse::Representation
1950
- command.response_class = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse
1951
- command.params['parent'] = parent unless parent.nil?
1952
- command.query['pageSize'] = page_size unless page_size.nil?
1953
- command.query['pageToken'] = page_token unless page_token.nil?
1954
- command.query['fields'] = fields unless fields.nil?
1955
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1956
- execute_or_queue_command(command, &block)
1957
- end
1958
-
1959
1703
  # Creates a Cloud Dataflow job from a template.
1960
1704
  # @param [String] project_id
1961
1705
  # Required. The ID of the Cloud Platform project that the job belongs to.
@@ -2035,8 +1779,8 @@ module Google
2035
1779
  # Required. The ID of the Cloud Platform project that the job belongs to.
2036
1780
  # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
2037
1781
  # @param [String] dynamic_template_gcs_path
2038
- # Path to dynamic template spec file on GCS. The file must be a Json serialized
2039
- # DynamicTemplateFieSpec object.
1782
+ # Path to dynamic template spec file on Cloud Storage. The file must be a Json
1783
+ # serialized DynamicTemplateFieSpec object.
2040
1784
  # @param [String] dynamic_template_staging_location
2041
1785
  # Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL,
2042
1786
  # beginning with `gs://`.