google-apis-dataflow_v1b3 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/dataflow_v1b3.rb +2 -2
- data/lib/google/apis/dataflow_v1b3/classes.rb +117 -322
- data/lib/google/apis/dataflow_v1b3/gem_version.rb +3 -3
- data/lib/google/apis/dataflow_v1b3/representations.rb +22 -147
- data/lib/google/apis/dataflow_v1b3/service.rb +10 -263
- metadata +5 -5
@@ -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.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
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
|
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
|
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
|
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'
|
@@ -1460,6 +1384,7 @@ module Google
|
|
1460
1384
|
collection :additional_experiments, as: 'additionalExperiments'
|
1461
1385
|
hash :additional_user_labels, as: 'additionalUserLabels'
|
1462
1386
|
property :enable_streaming_engine, as: 'enableStreamingEngine'
|
1387
|
+
property :flexrs_goal, as: 'flexrsGoal'
|
1463
1388
|
property :ip_configuration, as: 'ipConfiguration'
|
1464
1389
|
property :kms_key_name, as: 'kmsKeyName'
|
1465
1390
|
property :machine_type, as: 'machineType'
|
@@ -1467,6 +1392,7 @@ module Google
|
|
1467
1392
|
property :network, as: 'network'
|
1468
1393
|
property :num_workers, as: 'numWorkers'
|
1469
1394
|
property :service_account_email, as: 'serviceAccountEmail'
|
1395
|
+
property :staging_location, as: 'stagingLocation'
|
1470
1396
|
property :subnetwork, as: 'subnetwork'
|
1471
1397
|
property :temp_location, as: 'tempLocation'
|
1472
1398
|
property :worker_region, as: 'workerRegion'
|
@@ -1608,6 +1534,7 @@ module Google
|
|
1608
1534
|
property :replace_job_id, as: 'replaceJobId'
|
1609
1535
|
property :replaced_by_job_id, as: 'replacedByJobId'
|
1610
1536
|
property :requested_state, as: 'requestedState'
|
1537
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
1611
1538
|
collection :stage_states, as: 'stageStates', class: Google::Apis::DataflowV1b3::ExecutionStageState, decorator: Google::Apis::DataflowV1b3::ExecutionStageState::Representation
|
1612
1539
|
|
1613
1540
|
property :start_time, as: 'startTime'
|
@@ -1808,15 +1735,6 @@ module Google
|
|
1808
1735
|
end
|
1809
1736
|
end
|
1810
1737
|
|
1811
|
-
class ListTemplateVersionsResponse
|
1812
|
-
# @private
|
1813
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1814
|
-
property :next_page_token, as: 'nextPageToken'
|
1815
|
-
collection :template_versions, as: 'templateVersions', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
1816
|
-
|
1817
|
-
end
|
1818
|
-
end
|
1819
|
-
|
1820
1738
|
class MapTask
|
1821
1739
|
# @private
|
1822
1740
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1873,37 +1791,6 @@ module Google
|
|
1873
1791
|
end
|
1874
1792
|
end
|
1875
1793
|
|
1876
|
-
class ModifyTemplateVersionLabelRequest
|
1877
|
-
# @private
|
1878
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1879
|
-
property :key, as: 'key'
|
1880
|
-
property :op, as: 'op'
|
1881
|
-
property :value, as: 'value'
|
1882
|
-
end
|
1883
|
-
end
|
1884
|
-
|
1885
|
-
class ModifyTemplateVersionLabelResponse
|
1886
|
-
# @private
|
1887
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1888
|
-
hash :labels, as: 'labels'
|
1889
|
-
end
|
1890
|
-
end
|
1891
|
-
|
1892
|
-
class ModifyTemplateVersionTagRequest
|
1893
|
-
# @private
|
1894
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1895
|
-
property :remove_only, as: 'removeOnly'
|
1896
|
-
property :tag, as: 'tag'
|
1897
|
-
end
|
1898
|
-
end
|
1899
|
-
|
1900
|
-
class ModifyTemplateVersionTagResponse
|
1901
|
-
# @private
|
1902
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1903
|
-
collection :tags, as: 'tags'
|
1904
|
-
end
|
1905
|
-
end
|
1906
|
-
|
1907
1794
|
class MountedDataDisk
|
1908
1795
|
# @private
|
1909
1796
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1980,6 +1867,7 @@ module Google
|
|
1980
1867
|
class ParameterMetadata
|
1981
1868
|
# @private
|
1982
1869
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1870
|
+
hash :custom_metadata, as: 'customMetadata'
|
1983
1871
|
property :help_text, as: 'helpText'
|
1984
1872
|
property :is_optional, as: 'isOptional'
|
1985
1873
|
property :label, as: 'label'
|
@@ -2181,6 +2069,7 @@ module Google
|
|
2181
2069
|
# @private
|
2182
2070
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2183
2071
|
property :container_image, as: 'containerImage'
|
2072
|
+
property :environment_id, as: 'environmentId'
|
2184
2073
|
property :use_single_core_per_container, as: 'useSingleCorePerContainer'
|
2185
2074
|
end
|
2186
2075
|
end
|
@@ -2286,6 +2175,7 @@ module Google
|
|
2286
2175
|
property :project_id, as: 'projectId'
|
2287
2176
|
collection :pubsub_metadata, as: 'pubsubMetadata', class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata, decorator: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata::Representation
|
2288
2177
|
|
2178
|
+
property :region, as: 'region'
|
2289
2179
|
property :source_job_id, as: 'sourceJobId'
|
2290
2180
|
property :state, as: 'state'
|
2291
2181
|
property :ttl, as: 'ttl'
|
@@ -2640,22 +2530,6 @@ module Google
|
|
2640
2530
|
end
|
2641
2531
|
end
|
2642
2532
|
|
2643
|
-
class TemplateVersion
|
2644
|
-
# @private
|
2645
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
2646
|
-
property :artifact, as: 'artifact', class: Google::Apis::DataflowV1b3::Artifact, decorator: Google::Apis::DataflowV1b3::Artifact::Representation
|
2647
|
-
|
2648
|
-
property :create_time, as: 'createTime'
|
2649
|
-
property :description, as: 'description'
|
2650
|
-
property :display_name, as: 'displayName'
|
2651
|
-
hash :labels, as: 'labels'
|
2652
|
-
property :project_id, as: 'projectId'
|
2653
|
-
collection :tags, as: 'tags'
|
2654
|
-
property :type, as: 'type'
|
2655
|
-
property :version_id, as: 'versionId'
|
2656
|
-
end
|
2657
|
-
end
|
2658
|
-
|
2659
2533
|
class TopologyConfig
|
2660
2534
|
# @private
|
2661
2535
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2801,6 +2675,7 @@ module Google
|
|
2801
2675
|
property :msg, as: 'msg'
|
2802
2676
|
collection :pods, as: 'pods'
|
2803
2677
|
property :report_interval, as: 'reportInterval'
|
2678
|
+
property :vm_broken_code, as: 'vmBrokenCode'
|
2804
2679
|
property :vm_is_broken, as: 'vmIsBroken'
|
2805
2680
|
property :vm_is_healthy, as: 'vmIsHealthy'
|
2806
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.
|
@@ -349,7 +134,8 @@ module Google
|
|
349
134
|
# Set this to the 'next_page_token' field of a previous response to request
|
350
135
|
# additional results in a long list.
|
351
136
|
# @param [String] view
|
352
|
-
#
|
137
|
+
# Deprecated. ListJobs always returns summaries now. Use GetJob for other
|
138
|
+
# JobViews.
|
353
139
|
# @param [String] fields
|
354
140
|
# Selector specifying which fields to include in a partial response.
|
355
141
|
# @param [String] quota_user
|
@@ -538,7 +324,8 @@ module Google
|
|
538
324
|
# Set this to the 'next_page_token' field of a previous response to request
|
539
325
|
# additional results in a long list.
|
540
326
|
# @param [String] view
|
541
|
-
#
|
327
|
+
# Deprecated. ListJobs always returns summaries now. Use GetJob for other
|
328
|
+
# JobViews.
|
542
329
|
# @param [String] fields
|
543
330
|
# Selector specifying which fields to include in a partial response.
|
544
331
|
# @param [String] quota_user
|
@@ -1134,7 +921,8 @@ module Google
|
|
1134
921
|
# Set this to the 'next_page_token' field of a previous response to request
|
1135
922
|
# additional results in a long list.
|
1136
923
|
# @param [String] view
|
1137
|
-
#
|
924
|
+
# Deprecated. ListJobs always returns summaries now. Use GetJob for other
|
925
|
+
# JobViews.
|
1138
926
|
# @param [String] fields
|
1139
927
|
# Selector specifying which fields to include in a partial response.
|
1140
928
|
# @param [String] quota_user
|
@@ -1796,8 +1584,8 @@ module Google
|
|
1796
1584
|
# regional-endpoints) to which to direct the request.
|
1797
1585
|
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
1798
1586
|
# @param [String] dynamic_template_gcs_path
|
1799
|
-
# Path to dynamic template spec file on
|
1800
|
-
# DynamicTemplateFieSpec object.
|
1587
|
+
# Path to dynamic template spec file on Cloud Storage. The file must be a Json
|
1588
|
+
# serialized DynamicTemplateFieSpec object.
|
1801
1589
|
# @param [String] dynamic_template_staging_location
|
1802
1590
|
# Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL,
|
1803
1591
|
# beginning with `gs://`.
|
@@ -1912,47 +1700,6 @@ module Google
|
|
1912
1700
|
execute_or_queue_command(command, &block)
|
1913
1701
|
end
|
1914
1702
|
|
1915
|
-
# List TemplateVersions using project_id and an optional display_name field.
|
1916
|
-
# List all the TemplateVersions in the Template if display set. List all the
|
1917
|
-
# TemplateVersions in the Project if display_name not set.
|
1918
|
-
# @param [String] parent
|
1919
|
-
# parent includes project_id, and display_name is optional. List by project_id(
|
1920
|
-
# pid1) and display_name(tid1). Format: projects/`pid1`/catalogTemplates/`tid1`
|
1921
|
-
# List by project_id(pid1). Format: projects/`pid1`
|
1922
|
-
# @param [Fixnum] page_size
|
1923
|
-
# The maximum number of TemplateVersions to return per page.
|
1924
|
-
# @param [String] page_token
|
1925
|
-
# The page token, received from a previous ListTemplateVersions call. Provide
|
1926
|
-
# this to retrieve the subsequent page.
|
1927
|
-
# @param [String] fields
|
1928
|
-
# Selector specifying which fields to include in a partial response.
|
1929
|
-
# @param [String] quota_user
|
1930
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1931
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1932
|
-
# @param [Google::Apis::RequestOptions] options
|
1933
|
-
# Request-specific options
|
1934
|
-
#
|
1935
|
-
# @yield [result, err] Result & error if block supplied
|
1936
|
-
# @yieldparam result [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse] parsed result object
|
1937
|
-
# @yieldparam err [StandardError] error object if request failed
|
1938
|
-
#
|
1939
|
-
# @return [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse]
|
1940
|
-
#
|
1941
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1942
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1943
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1944
|
-
def list_project_template_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1945
|
-
command = make_simple_command(:get, 'v1b3/{+parent}/templateVersions', options)
|
1946
|
-
command.response_representation = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse::Representation
|
1947
|
-
command.response_class = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse
|
1948
|
-
command.params['parent'] = parent unless parent.nil?
|
1949
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1950
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1951
|
-
command.query['fields'] = fields unless fields.nil?
|
1952
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1953
|
-
execute_or_queue_command(command, &block)
|
1954
|
-
end
|
1955
|
-
|
1956
1703
|
# Creates a Cloud Dataflow job from a template.
|
1957
1704
|
# @param [String] project_id
|
1958
1705
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
@@ -2032,8 +1779,8 @@ module Google
|
|
2032
1779
|
# Required. The ID of the Cloud Platform project that the job belongs to.
|
2033
1780
|
# @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
|
2034
1781
|
# @param [String] dynamic_template_gcs_path
|
2035
|
-
# Path to dynamic template spec file on
|
2036
|
-
# DynamicTemplateFieSpec object.
|
1782
|
+
# Path to dynamic template spec file on Cloud Storage. The file must be a Json
|
1783
|
+
# serialized DynamicTemplateFieSpec object.
|
2037
1784
|
# @param [String] dynamic_template_staging_location
|
2038
1785
|
# Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL,
|
2039
1786
|
# beginning with `gs://`.
|