google-apis-dataflow_v1b3 0.5.0 → 0.10.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.
- 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 +55 -322
- data/lib/google/apis/dataflow_v1b3/gem_version.rb +3 -3
- data/lib/google/apis/dataflow_v1b3/representations.rb +5 -149
- data/lib/google/apis/dataflow_v1b3/service.rb +4 -260
- metadata +14 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 73b963900b0378cf42d26a43fa3ea81dafe482843a135314d8cf96e5c448dd92
|
|
4
|
+
data.tar.gz: 5a0354d3e1accc695fdac6f65e6f11101bb9684e3a365ffd797204e855853cc9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cf9ad3e3a4359725c7feeb1b0d91923fef5d30a1016bcc90ec3bb1ea0e6723afb509b4d0c7b90afb68884523fd58bf5cf3ebd01152683f8e7e76e465ea0ecb66
|
|
7
|
+
data.tar.gz: 0cf5d15f420ab588ccd5e0428c8cc393337654852c45e03e99ced46b22ad10ef2c0918fa2a97ae454bc2a5e648cc8e79329c43743dccfb343c0845698308d0c8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Release history for google-apis-dataflow_v1b3
|
|
2
2
|
|
|
3
|
+
### v0.10.0 (2021-07-01)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20210618
|
|
6
|
+
* Regenerated using generator version 0.4.0
|
|
7
|
+
|
|
8
|
+
### v0.9.0 (2021-06-24)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20210616
|
|
11
|
+
* Regenerated using generator version 0.3.0
|
|
12
|
+
|
|
13
|
+
### v0.8.0 (2021-05-29)
|
|
14
|
+
|
|
15
|
+
* Regenerated from discovery document revision 20210522
|
|
16
|
+
|
|
17
|
+
### v0.7.0 (2021-05-19)
|
|
18
|
+
|
|
19
|
+
* Unspecified changes
|
|
20
|
+
|
|
21
|
+
### v0.6.0 (2021-04-29)
|
|
22
|
+
|
|
23
|
+
* Regenerated from discovery document revision 20210420
|
|
24
|
+
|
|
3
25
|
### v0.5.0 (2021-03-11)
|
|
4
26
|
|
|
5
27
|
* Regenerated from discovery document revision 20210301
|
|
@@ -29,7 +29,7 @@ module Google
|
|
|
29
29
|
# This is NOT the gem version.
|
|
30
30
|
VERSION = 'V1b3'
|
|
31
31
|
|
|
32
|
-
#
|
|
32
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
34
34
|
|
|
35
35
|
# View and manage your Google Compute Engine resources
|
|
@@ -38,7 +38,7 @@ module Google
|
|
|
38
38
|
# View your Google Compute Engine resources
|
|
39
39
|
AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
|
|
40
40
|
|
|
41
|
-
#
|
|
41
|
+
# See your primary Google Account email address
|
|
42
42
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
|
43
43
|
end
|
|
44
44
|
end
|
|
@@ -132,37 +132,6 @@ module Google
|
|
|
132
132
|
end
|
|
133
133
|
end
|
|
134
134
|
|
|
135
|
-
# Job information for templates.
|
|
136
|
-
class Artifact
|
|
137
|
-
include Google::Apis::Core::Hashable
|
|
138
|
-
|
|
139
|
-
# Container Spec.
|
|
140
|
-
# Corresponds to the JSON property `containerSpec`
|
|
141
|
-
# @return [Google::Apis::DataflowV1b3::ContainerSpec]
|
|
142
|
-
attr_accessor :container_spec
|
|
143
|
-
|
|
144
|
-
# job_graph_gcs_path set for legacy Template.
|
|
145
|
-
# Corresponds to the JSON property `jobGraphGcsPath`
|
|
146
|
-
# @return [String]
|
|
147
|
-
attr_accessor :job_graph_gcs_path
|
|
148
|
-
|
|
149
|
-
# Metadata describing a template.
|
|
150
|
-
# Corresponds to the JSON property `metadata`
|
|
151
|
-
# @return [Google::Apis::DataflowV1b3::TemplateMetadata]
|
|
152
|
-
attr_accessor :metadata
|
|
153
|
-
|
|
154
|
-
def initialize(**args)
|
|
155
|
-
update!(**args)
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
# Update properties of this object
|
|
159
|
-
def update!(**args)
|
|
160
|
-
@container_spec = args[:container_spec] if args.key?(:container_spec)
|
|
161
|
-
@job_graph_gcs_path = args[:job_graph_gcs_path] if args.key?(:job_graph_gcs_path)
|
|
162
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
163
|
-
end
|
|
164
|
-
end
|
|
165
|
-
|
|
166
135
|
# A structured message reporting an autoscaling decision made by the Dataflow
|
|
167
136
|
# service.
|
|
168
137
|
class AutoscalingEvent
|
|
@@ -196,8 +165,7 @@ module Google
|
|
|
196
165
|
# @return [String]
|
|
197
166
|
attr_accessor :time
|
|
198
167
|
|
|
199
|
-
# A short and friendly name for the worker pool this event refers to
|
|
200
|
-
# from the value of PoolStageRelation::user_pool_name.
|
|
168
|
+
# A short and friendly name for the worker pool this event refers to.
|
|
201
169
|
# Corresponds to the JSON property `workerPool`
|
|
202
170
|
# @return [String]
|
|
203
171
|
attr_accessor :worker_pool
|
|
@@ -279,7 +247,7 @@ module Google
|
|
|
279
247
|
end
|
|
280
248
|
end
|
|
281
249
|
|
|
282
|
-
# Metadata for a BigTable connector used by the job.
|
|
250
|
+
# Metadata for a Cloud BigTable connector used by the job.
|
|
283
251
|
class BigTableIoDetails
|
|
284
252
|
include Google::Apis::Core::Hashable
|
|
285
253
|
|
|
@@ -342,32 +310,6 @@ module Google
|
|
|
342
310
|
end
|
|
343
311
|
end
|
|
344
312
|
|
|
345
|
-
# Commit will add a new TemplateVersion to an existing template.
|
|
346
|
-
class CommitTemplateVersionRequest
|
|
347
|
-
include Google::Apis::Core::Hashable
|
|
348
|
-
|
|
349
|
-
# ///////////////////////////////////////////////////////////////////////////// /
|
|
350
|
-
# /// Template Catalog is used to organize user TemplateVersions. ////
|
|
351
|
-
# TemplateVersions that have the same project_id and display_name are ////
|
|
352
|
-
# belong to the same Template. //// Templates with the same project_id belong to
|
|
353
|
-
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
|
354
|
-
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
|
355
|
-
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
|
356
|
-
# // tags in the same `Template` are not allowed!
|
|
357
|
-
# Corresponds to the JSON property `templateVersion`
|
|
358
|
-
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
|
359
|
-
attr_accessor :template_version
|
|
360
|
-
|
|
361
|
-
def initialize(**args)
|
|
362
|
-
update!(**args)
|
|
363
|
-
end
|
|
364
|
-
|
|
365
|
-
# Update properties of this object
|
|
366
|
-
def update!(**args)
|
|
367
|
-
@template_version = args[:template_version] if args.key?(:template_version)
|
|
368
|
-
end
|
|
369
|
-
end
|
|
370
|
-
|
|
371
313
|
# Description of an interstitial value between transforms in an execution stage.
|
|
372
314
|
class ComponentSource
|
|
373
315
|
include Google::Apis::Core::Hashable
|
|
@@ -847,32 +789,6 @@ module Google
|
|
|
847
789
|
end
|
|
848
790
|
end
|
|
849
791
|
|
|
850
|
-
# Creates a new Template with TemplateVersions.
|
|
851
|
-
class CreateTemplateVersionRequest
|
|
852
|
-
include Google::Apis::Core::Hashable
|
|
853
|
-
|
|
854
|
-
# ///////////////////////////////////////////////////////////////////////////// /
|
|
855
|
-
# /// Template Catalog is used to organize user TemplateVersions. ////
|
|
856
|
-
# TemplateVersions that have the same project_id and display_name are ////
|
|
857
|
-
# belong to the same Template. //// Templates with the same project_id belong to
|
|
858
|
-
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
|
859
|
-
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
|
860
|
-
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
|
861
|
-
# // tags in the same `Template` are not allowed!
|
|
862
|
-
# Corresponds to the JSON property `templateVersion`
|
|
863
|
-
# @return [Google::Apis::DataflowV1b3::TemplateVersion]
|
|
864
|
-
attr_accessor :template_version
|
|
865
|
-
|
|
866
|
-
def initialize(**args)
|
|
867
|
-
update!(**args)
|
|
868
|
-
end
|
|
869
|
-
|
|
870
|
-
# Update properties of this object
|
|
871
|
-
def update!(**args)
|
|
872
|
-
@template_version = args[:template_version] if args.key?(:template_version)
|
|
873
|
-
end
|
|
874
|
-
end
|
|
875
|
-
|
|
876
792
|
# Identifies the location of a custom souce.
|
|
877
793
|
class CustomSourceLocation
|
|
878
794
|
include Google::Apis::Core::Hashable
|
|
@@ -1233,23 +1149,6 @@ module Google
|
|
|
1233
1149
|
end
|
|
1234
1150
|
end
|
|
1235
1151
|
|
|
1236
|
-
# A generic empty message that you can re-use to avoid defining duplicated empty
|
|
1237
|
-
# messages in your APIs. A typical example is to use it as the request or the
|
|
1238
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
|
1239
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
|
1240
|
-
# `Empty` is empty JSON object ````.
|
|
1241
|
-
class Empty
|
|
1242
|
-
include Google::Apis::Core::Hashable
|
|
1243
|
-
|
|
1244
|
-
def initialize(**args)
|
|
1245
|
-
update!(**args)
|
|
1246
|
-
end
|
|
1247
|
-
|
|
1248
|
-
# Update properties of this object
|
|
1249
|
-
def update!(**args)
|
|
1250
|
-
end
|
|
1251
|
-
end
|
|
1252
|
-
|
|
1253
1152
|
# Describes the environment in which a Dataflow Job runs.
|
|
1254
1153
|
class Environment
|
|
1255
1154
|
include Google::Apis::Core::Hashable
|
|
@@ -1275,8 +1174,7 @@ module Google
|
|
|
1275
1174
|
|
|
1276
1175
|
# The list of experiments to enable. This field should be used for SDK related
|
|
1277
1176
|
# experiments and not for service related experiments. The proper field for
|
|
1278
|
-
# service related experiments is service_options.
|
|
1279
|
-
# rationale at go/user-specified-service-options.
|
|
1177
|
+
# service related experiments is service_options.
|
|
1280
1178
|
# Corresponds to the JSON property `experiments`
|
|
1281
1179
|
# @return [Array<String>]
|
|
1282
1180
|
attr_accessor :experiments
|
|
@@ -1312,8 +1210,7 @@ module Google
|
|
|
1312
1210
|
|
|
1313
1211
|
# The list of service options to enable. This field should be used for service
|
|
1314
1212
|
# related experiments only. These experiments, when graduating to GA, should be
|
|
1315
|
-
# replaced by dedicated fields or become default (i.e. always on).
|
|
1316
|
-
# details see the rationale at go/user-specified-service-options.
|
|
1213
|
+
# replaced by dedicated fields or become default (i.e. always on).
|
|
1317
1214
|
# Corresponds to the JSON property `serviceOptions`
|
|
1318
1215
|
# @return [Array<String>]
|
|
1319
1216
|
attr_accessor :service_options
|
|
@@ -1451,7 +1348,7 @@ module Google
|
|
|
1451
1348
|
# @return [Array<Google::Apis::DataflowV1b3::StageSource>]
|
|
1452
1349
|
attr_accessor :input_source
|
|
1453
1350
|
|
|
1454
|
-
# Type of
|
|
1351
|
+
# Type of transform this stage is executing.
|
|
1455
1352
|
# Corresponds to the JSON property `kind`
|
|
1456
1353
|
# @return [String]
|
|
1457
1354
|
attr_accessor :kind
|
|
@@ -1611,11 +1508,24 @@ module Google
|
|
|
1611
1508
|
# @return [Fixnum]
|
|
1612
1509
|
attr_accessor :num_workers
|
|
1613
1510
|
|
|
1511
|
+
# Docker registry location of container image to use for the 'worker harness.
|
|
1512
|
+
# Default is the container for the version of the SDK. Note this field is only
|
|
1513
|
+
# valid for portable pipelines.
|
|
1514
|
+
# Corresponds to the JSON property `sdkContainerImage`
|
|
1515
|
+
# @return [String]
|
|
1516
|
+
attr_accessor :sdk_container_image
|
|
1517
|
+
|
|
1614
1518
|
# The email address of the service account to run the job as.
|
|
1615
1519
|
# Corresponds to the JSON property `serviceAccountEmail`
|
|
1616
1520
|
# @return [String]
|
|
1617
1521
|
attr_accessor :service_account_email
|
|
1618
1522
|
|
|
1523
|
+
# The Cloud Storage path for staging local files. Must be a valid Cloud Storage
|
|
1524
|
+
# URL, beginning with `gs://`.
|
|
1525
|
+
# Corresponds to the JSON property `stagingLocation`
|
|
1526
|
+
# @return [String]
|
|
1527
|
+
attr_accessor :staging_location
|
|
1528
|
+
|
|
1619
1529
|
# Subnetwork to which VMs will be assigned, if desired. You can specify a
|
|
1620
1530
|
# subnetwork using either a complete URL or an abbreviated path. Expected to be
|
|
1621
1531
|
# of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/
|
|
@@ -1673,7 +1583,9 @@ module Google
|
|
|
1673
1583
|
@max_workers = args[:max_workers] if args.key?(:max_workers)
|
|
1674
1584
|
@network = args[:network] if args.key?(:network)
|
|
1675
1585
|
@num_workers = args[:num_workers] if args.key?(:num_workers)
|
|
1586
|
+
@sdk_container_image = args[:sdk_container_image] if args.key?(:sdk_container_image)
|
|
1676
1587
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
|
1588
|
+
@staging_location = args[:staging_location] if args.key?(:staging_location)
|
|
1677
1589
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
|
1678
1590
|
@temp_location = args[:temp_location] if args.key?(:temp_location)
|
|
1679
1591
|
@worker_region = args[:worker_region] if args.key?(:worker_region)
|
|
@@ -2190,7 +2102,7 @@ module Google
|
|
|
2190
2102
|
# @return [Array<Google::Apis::DataflowV1b3::Step>]
|
|
2191
2103
|
attr_accessor :steps
|
|
2192
2104
|
|
|
2193
|
-
# The
|
|
2105
|
+
# The Cloud Storage location where the steps are stored.
|
|
2194
2106
|
# Corresponds to the JSON property `stepsLocation`
|
|
2195
2107
|
# @return [String]
|
|
2196
2108
|
attr_accessor :steps_location
|
|
@@ -2358,7 +2270,7 @@ module Google
|
|
|
2358
2270
|
class JobMetadata
|
|
2359
2271
|
include Google::Apis::Core::Hashable
|
|
2360
2272
|
|
|
2361
|
-
# Identification of a BigTable source used in the Dataflow job.
|
|
2273
|
+
# Identification of a Cloud BigTable source used in the Dataflow job.
|
|
2362
2274
|
# Corresponds to the JSON property `bigTableDetails`
|
|
2363
2275
|
# @return [Array<Google::Apis::DataflowV1b3::BigTableIoDetails>]
|
|
2364
2276
|
attr_accessor :big_table_details
|
|
@@ -2531,7 +2443,7 @@ module Google
|
|
|
2531
2443
|
# @return [Google::Apis::DataflowV1b3::ContainerSpec]
|
|
2532
2444
|
attr_accessor :container_spec
|
|
2533
2445
|
|
|
2534
|
-
#
|
|
2446
|
+
# Cloud Storage path to a file with json serialized ContainerSpec as content.
|
|
2535
2447
|
# Corresponds to the JSON property `containerSpecGcsPath`
|
|
2536
2448
|
# @return [String]
|
|
2537
2449
|
attr_accessor :container_spec_gcs_path
|
|
@@ -2866,32 +2778,6 @@ module Google
|
|
|
2866
2778
|
end
|
|
2867
2779
|
end
|
|
2868
2780
|
|
|
2869
|
-
# Respond a list of TemplateVersions.
|
|
2870
|
-
class ListTemplateVersionsResponse
|
|
2871
|
-
include Google::Apis::Core::Hashable
|
|
2872
|
-
|
|
2873
|
-
# A token that can be sent as `page_token` to retrieve the next page. If this
|
|
2874
|
-
# field is omitted, there are no subsequent pages.
|
|
2875
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
2876
|
-
# @return [String]
|
|
2877
|
-
attr_accessor :next_page_token
|
|
2878
|
-
|
|
2879
|
-
# A list of TemplateVersions.
|
|
2880
|
-
# Corresponds to the JSON property `templateVersions`
|
|
2881
|
-
# @return [Array<Google::Apis::DataflowV1b3::TemplateVersion>]
|
|
2882
|
-
attr_accessor :template_versions
|
|
2883
|
-
|
|
2884
|
-
def initialize(**args)
|
|
2885
|
-
update!(**args)
|
|
2886
|
-
end
|
|
2887
|
-
|
|
2888
|
-
# Update properties of this object
|
|
2889
|
-
def update!(**args)
|
|
2890
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
2891
|
-
@template_versions = args[:template_versions] if args.key?(:template_versions)
|
|
2892
|
-
end
|
|
2893
|
-
end
|
|
2894
|
-
|
|
2895
2781
|
# MapTask consists of an ordered set of instructions, each of which describes
|
|
2896
2782
|
# one particular low-level operation for the worker to perform in order to
|
|
2897
2783
|
# accomplish the MapTask's WorkItem. Each instruction must appear in the list
|
|
@@ -3131,105 +3017,6 @@ module Google
|
|
|
3131
3017
|
end
|
|
3132
3018
|
end
|
|
3133
3019
|
|
|
3134
|
-
# Either add the label to TemplateVersion or remove it from the TemplateVersion.
|
|
3135
|
-
class ModifyTemplateVersionLabelRequest
|
|
3136
|
-
include Google::Apis::Core::Hashable
|
|
3137
|
-
|
|
3138
|
-
# The label key for update.
|
|
3139
|
-
# Corresponds to the JSON property `key`
|
|
3140
|
-
# @return [String]
|
|
3141
|
-
attr_accessor :key
|
|
3142
|
-
|
|
3143
|
-
# Requests for add label to TemplateVersion or remove label from TemplateVersion.
|
|
3144
|
-
# Corresponds to the JSON property `op`
|
|
3145
|
-
# @return [String]
|
|
3146
|
-
attr_accessor :op
|
|
3147
|
-
|
|
3148
|
-
# The label value for update.
|
|
3149
|
-
# Corresponds to the JSON property `value`
|
|
3150
|
-
# @return [String]
|
|
3151
|
-
attr_accessor :value
|
|
3152
|
-
|
|
3153
|
-
def initialize(**args)
|
|
3154
|
-
update!(**args)
|
|
3155
|
-
end
|
|
3156
|
-
|
|
3157
|
-
# Update properties of this object
|
|
3158
|
-
def update!(**args)
|
|
3159
|
-
@key = args[:key] if args.key?(:key)
|
|
3160
|
-
@op = args[:op] if args.key?(:op)
|
|
3161
|
-
@value = args[:value] if args.key?(:value)
|
|
3162
|
-
end
|
|
3163
|
-
end
|
|
3164
|
-
|
|
3165
|
-
# Respond the labels in the TemplateVersion.
|
|
3166
|
-
class ModifyTemplateVersionLabelResponse
|
|
3167
|
-
include Google::Apis::Core::Hashable
|
|
3168
|
-
|
|
3169
|
-
# All the label in the TemplateVersion.
|
|
3170
|
-
# Corresponds to the JSON property `labels`
|
|
3171
|
-
# @return [Hash<String,String>]
|
|
3172
|
-
attr_accessor :labels
|
|
3173
|
-
|
|
3174
|
-
def initialize(**args)
|
|
3175
|
-
update!(**args)
|
|
3176
|
-
end
|
|
3177
|
-
|
|
3178
|
-
# Update properties of this object
|
|
3179
|
-
def update!(**args)
|
|
3180
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
3181
|
-
end
|
|
3182
|
-
end
|
|
3183
|
-
|
|
3184
|
-
# Add a tag to the current TemplateVersion. If tag exist in another
|
|
3185
|
-
# TemplateVersion in the Template, remove the tag before add it to the current
|
|
3186
|
-
# TemplateVersion. If remove_only set, remove the tag from the current
|
|
3187
|
-
# TemplateVersion.
|
|
3188
|
-
class ModifyTemplateVersionTagRequest
|
|
3189
|
-
include Google::Apis::Core::Hashable
|
|
3190
|
-
|
|
3191
|
-
# The flag that indicates if the request is only for remove tag from
|
|
3192
|
-
# TemplateVersion.
|
|
3193
|
-
# Corresponds to the JSON property `removeOnly`
|
|
3194
|
-
# @return [Boolean]
|
|
3195
|
-
attr_accessor :remove_only
|
|
3196
|
-
alias_method :remove_only?, :remove_only
|
|
3197
|
-
|
|
3198
|
-
# The tag for update.
|
|
3199
|
-
# Corresponds to the JSON property `tag`
|
|
3200
|
-
# @return [String]
|
|
3201
|
-
attr_accessor :tag
|
|
3202
|
-
|
|
3203
|
-
def initialize(**args)
|
|
3204
|
-
update!(**args)
|
|
3205
|
-
end
|
|
3206
|
-
|
|
3207
|
-
# Update properties of this object
|
|
3208
|
-
def update!(**args)
|
|
3209
|
-
@remove_only = args[:remove_only] if args.key?(:remove_only)
|
|
3210
|
-
@tag = args[:tag] if args.key?(:tag)
|
|
3211
|
-
end
|
|
3212
|
-
end
|
|
3213
|
-
|
|
3214
|
-
# Respond the current tags in the TemplateVersion.
|
|
3215
|
-
class ModifyTemplateVersionTagResponse
|
|
3216
|
-
include Google::Apis::Core::Hashable
|
|
3217
|
-
|
|
3218
|
-
# All the tags in the TemplateVersion.
|
|
3219
|
-
# Corresponds to the JSON property `tags`
|
|
3220
|
-
# @return [Array<String>]
|
|
3221
|
-
attr_accessor :tags
|
|
3222
|
-
|
|
3223
|
-
def initialize(**args)
|
|
3224
|
-
update!(**args)
|
|
3225
|
-
end
|
|
3226
|
-
|
|
3227
|
-
# Update properties of this object
|
|
3228
|
-
def update!(**args)
|
|
3229
|
-
@tags = args[:tags] if args.key?(:tags)
|
|
3230
|
-
end
|
|
3231
|
-
end
|
|
3232
|
-
|
|
3233
3020
|
# Describes mounted data disk.
|
|
3234
3021
|
class MountedDataDisk
|
|
3235
3022
|
include Google::Apis::Core::Hashable
|
|
@@ -3469,6 +3256,11 @@ module Google
|
|
|
3469
3256
|
class ParameterMetadata
|
|
3470
3257
|
include Google::Apis::Core::Hashable
|
|
3471
3258
|
|
|
3259
|
+
# Optional. Additional metadata for describing this parameter.
|
|
3260
|
+
# Corresponds to the JSON property `customMetadata`
|
|
3261
|
+
# @return [Hash<String,String>]
|
|
3262
|
+
attr_accessor :custom_metadata
|
|
3263
|
+
|
|
3472
3264
|
# Required. The help text to display for the parameter.
|
|
3473
3265
|
# Corresponds to the JSON property `helpText`
|
|
3474
3266
|
# @return [String]
|
|
@@ -3506,6 +3298,7 @@ module Google
|
|
|
3506
3298
|
|
|
3507
3299
|
# Update properties of this object
|
|
3508
3300
|
def update!(**args)
|
|
3301
|
+
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
|
3509
3302
|
@help_text = args[:help_text] if args.key?(:help_text)
|
|
3510
3303
|
@is_optional = args[:is_optional] if args.key?(:is_optional)
|
|
3511
3304
|
@label = args[:label] if args.key?(:label)
|
|
@@ -3705,7 +3498,7 @@ module Google
|
|
|
3705
3498
|
end
|
|
3706
3499
|
end
|
|
3707
3500
|
|
|
3708
|
-
# Metadata for a
|
|
3501
|
+
# Metadata for a Pub/Sub connector used by the job.
|
|
3709
3502
|
class PubSubIoDetails
|
|
3710
3503
|
include Google::Apis::Core::Hashable
|
|
3711
3504
|
|
|
@@ -4555,6 +4348,11 @@ module Google
|
|
|
4555
4348
|
# @return [Array<Google::Apis::DataflowV1b3::PubsubSnapshotMetadata>]
|
|
4556
4349
|
attr_accessor :pubsub_metadata
|
|
4557
4350
|
|
|
4351
|
+
# Cloud region where this snapshot lives in, e.g., "us-central1".
|
|
4352
|
+
# Corresponds to the JSON property `region`
|
|
4353
|
+
# @return [String]
|
|
4354
|
+
attr_accessor :region
|
|
4355
|
+
|
|
4558
4356
|
# The job this snapshot was created from.
|
|
4559
4357
|
# Corresponds to the JSON property `sourceJobId`
|
|
4560
4358
|
# @return [String]
|
|
@@ -4582,6 +4380,7 @@ module Google
|
|
|
4582
4380
|
@id = args[:id] if args.key?(:id)
|
|
4583
4381
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
4584
4382
|
@pubsub_metadata = args[:pubsub_metadata] if args.key?(:pubsub_metadata)
|
|
4383
|
+
@region = args[:region] if args.key?(:region)
|
|
4585
4384
|
@source_job_id = args[:source_job_id] if args.key?(:source_job_id)
|
|
4586
4385
|
@state = args[:state] if args.key?(:state)
|
|
4587
4386
|
@ttl = args[:ttl] if args.key?(:ttl)
|
|
@@ -5838,80 +5637,6 @@ module Google
|
|
|
5838
5637
|
end
|
|
5839
5638
|
end
|
|
5840
5639
|
|
|
5841
|
-
# ///////////////////////////////////////////////////////////////////////////// /
|
|
5842
|
-
# /// Template Catalog is used to organize user TemplateVersions. ////
|
|
5843
|
-
# TemplateVersions that have the same project_id and display_name are ////
|
|
5844
|
-
# belong to the same Template. //// Templates with the same project_id belong to
|
|
5845
|
-
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
|
5846
|
-
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
|
5847
|
-
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
|
5848
|
-
# // tags in the same `Template` are not allowed!
|
|
5849
|
-
class TemplateVersion
|
|
5850
|
-
include Google::Apis::Core::Hashable
|
|
5851
|
-
|
|
5852
|
-
# Job information for templates.
|
|
5853
|
-
# Corresponds to the JSON property `artifact`
|
|
5854
|
-
# @return [Google::Apis::DataflowV1b3::Artifact]
|
|
5855
|
-
attr_accessor :artifact
|
|
5856
|
-
|
|
5857
|
-
# Creation time of this TemplateVersion.
|
|
5858
|
-
# Corresponds to the JSON property `createTime`
|
|
5859
|
-
# @return [String]
|
|
5860
|
-
attr_accessor :create_time
|
|
5861
|
-
|
|
5862
|
-
# Template description from the user.
|
|
5863
|
-
# Corresponds to the JSON property `description`
|
|
5864
|
-
# @return [String]
|
|
5865
|
-
attr_accessor :description
|
|
5866
|
-
|
|
5867
|
-
# A customized name for Template. Multiple TemplateVersions per Template.
|
|
5868
|
-
# Corresponds to the JSON property `displayName`
|
|
5869
|
-
# @return [String]
|
|
5870
|
-
attr_accessor :display_name
|
|
5871
|
-
|
|
5872
|
-
# Labels for the Template Version. Labels can be duplicate within Template.
|
|
5873
|
-
# Corresponds to the JSON property `labels`
|
|
5874
|
-
# @return [Hash<String,String>]
|
|
5875
|
-
attr_accessor :labels
|
|
5876
|
-
|
|
5877
|
-
# A unique project_id. Multiple Templates per Project.
|
|
5878
|
-
# Corresponds to the JSON property `projectId`
|
|
5879
|
-
# @return [String]
|
|
5880
|
-
attr_accessor :project_id
|
|
5881
|
-
|
|
5882
|
-
# Alias for version_id, helps locate a TemplateVersion.
|
|
5883
|
-
# Corresponds to the JSON property `tags`
|
|
5884
|
-
# @return [Array<String>]
|
|
5885
|
-
attr_accessor :tags
|
|
5886
|
-
|
|
5887
|
-
# Either LEGACY or FLEX. This should match with the type of artifact.
|
|
5888
|
-
# Corresponds to the JSON property `type`
|
|
5889
|
-
# @return [String]
|
|
5890
|
-
attr_accessor :type
|
|
5891
|
-
|
|
5892
|
-
# An auto generated version_id for TemplateVersion.
|
|
5893
|
-
# Corresponds to the JSON property `versionId`
|
|
5894
|
-
# @return [String]
|
|
5895
|
-
attr_accessor :version_id
|
|
5896
|
-
|
|
5897
|
-
def initialize(**args)
|
|
5898
|
-
update!(**args)
|
|
5899
|
-
end
|
|
5900
|
-
|
|
5901
|
-
# Update properties of this object
|
|
5902
|
-
def update!(**args)
|
|
5903
|
-
@artifact = args[:artifact] if args.key?(:artifact)
|
|
5904
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
|
5905
|
-
@description = args[:description] if args.key?(:description)
|
|
5906
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
|
5907
|
-
@labels = args[:labels] if args.key?(:labels)
|
|
5908
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
|
5909
|
-
@tags = args[:tags] if args.key?(:tags)
|
|
5910
|
-
@type = args[:type] if args.key?(:type)
|
|
5911
|
-
@version_id = args[:version_id] if args.key?(:version_id)
|
|
5912
|
-
end
|
|
5913
|
-
end
|
|
5914
|
-
|
|
5915
5640
|
# Global topology of the streaming Dataflow job, including all computations and
|
|
5916
5641
|
# their sharded locations.
|
|
5917
5642
|
class TopologyConfig
|
|
@@ -6426,7 +6151,7 @@ module Google
|
|
|
6426
6151
|
class WorkerHealthReport
|
|
6427
6152
|
include Google::Apis::Core::Hashable
|
|
6428
6153
|
|
|
6429
|
-
#
|
|
6154
|
+
# Message describing any unusual health reports.
|
|
6430
6155
|
# Corresponds to the JSON property `msg`
|
|
6431
6156
|
# @return [String]
|
|
6432
6157
|
attr_accessor :msg
|
|
@@ -6445,6 +6170,12 @@ module Google
|
|
|
6445
6170
|
# @return [String]
|
|
6446
6171
|
attr_accessor :report_interval
|
|
6447
6172
|
|
|
6173
|
+
# Code to describe a specific reason, if known, that a VM has reported broken
|
|
6174
|
+
# state.
|
|
6175
|
+
# Corresponds to the JSON property `vmBrokenCode`
|
|
6176
|
+
# @return [String]
|
|
6177
|
+
attr_accessor :vm_broken_code
|
|
6178
|
+
|
|
6448
6179
|
# Whether the VM is in a permanently broken state. Broken VMs should be
|
|
6449
6180
|
# abandoned or deleted ASAP to avoid assigning or completing any work.
|
|
6450
6181
|
# Corresponds to the JSON property `vmIsBroken`
|
|
@@ -6472,6 +6203,7 @@ module Google
|
|
|
6472
6203
|
@msg = args[:msg] if args.key?(:msg)
|
|
6473
6204
|
@pods = args[:pods] if args.key?(:pods)
|
|
6474
6205
|
@report_interval = args[:report_interval] if args.key?(:report_interval)
|
|
6206
|
+
@vm_broken_code = args[:vm_broken_code] if args.key?(:vm_broken_code)
|
|
6475
6207
|
@vm_is_broken = args[:vm_is_broken] if args.key?(:vm_is_broken)
|
|
6476
6208
|
@vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy)
|
|
6477
6209
|
@vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time)
|
|
@@ -6620,9 +6352,9 @@ module Google
|
|
|
6620
6352
|
# The code is a string intended for consumption by a machine that identifies the
|
|
6621
6353
|
# type of message being sent. Examples: 1. "HARNESS_STARTED" might be used to
|
|
6622
6354
|
# indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used
|
|
6623
|
-
# to indicate an error downloading a
|
|
6624
|
-
# of the worker containers. This is a string and not an enum to
|
|
6625
|
-
# add new codes without waiting for an API change.
|
|
6355
|
+
# to indicate an error downloading a Cloud Storage file as part of the boot
|
|
6356
|
+
# process of one of the worker containers. This is a string and not an enum to
|
|
6357
|
+
# make it easy to add new codes without waiting for an API change.
|
|
6626
6358
|
# Corresponds to the JSON property `code`
|
|
6627
6359
|
# @return [String]
|
|
6628
6360
|
attr_accessor :code
|
|
@@ -6631,13 +6363,14 @@ module Google
|
|
|
6631
6363
|
# allow parameters of different types. Examples: 1. For a "HARNESS_STARTED"
|
|
6632
6364
|
# message parameters might provide the name of the worker and additional data
|
|
6633
6365
|
# like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might
|
|
6634
|
-
# contain fields listing the
|
|
6635
|
-
# errors. In general complex data structures should be avoided. If a
|
|
6636
|
-
# needs to send a specific and complicated data structure then please
|
|
6637
|
-
# defining a new proto and adding it to the data oneof in
|
|
6638
|
-
# Conventions: Parameters should only be used for
|
|
6639
|
-
# typically passed as a label. hostname and other worker
|
|
6640
|
-
# almost always be passed as labels since they will be
|
|
6366
|
+
# contain fields listing the Cloud Storage objects being downloaded and fields
|
|
6367
|
+
# containing errors. In general complex data structures should be avoided. If a
|
|
6368
|
+
# worker needs to send a specific and complicated data structure then please
|
|
6369
|
+
# consider defining a new proto and adding it to the data oneof in
|
|
6370
|
+
# WorkerMessageResponse. Conventions: Parameters should only be used for
|
|
6371
|
+
# information that isn't typically passed as a label. hostname and other worker
|
|
6372
|
+
# identifiers should almost always be passed as labels since they will be
|
|
6373
|
+
# included on most messages.
|
|
6641
6374
|
# Corresponds to the JSON property `parameters`
|
|
6642
6375
|
# @return [Hash<String,Object>]
|
|
6643
6376
|
attr_accessor :parameters
|
|
@@ -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.10.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210618"
|
|
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,12 +130,6 @@ module Google
|
|
|
142
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
143
131
|
end
|
|
144
132
|
|
|
145
|
-
class CreateTemplateVersionRequest
|
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
-
|
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
-
end
|
|
150
|
-
|
|
151
133
|
class CustomSourceLocation
|
|
152
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
135
|
|
|
@@ -208,12 +190,6 @@ module Google
|
|
|
208
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
209
191
|
end
|
|
210
192
|
|
|
211
|
-
class Empty
|
|
212
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
-
|
|
214
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
-
end
|
|
216
|
-
|
|
217
193
|
class Environment
|
|
218
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
195
|
|
|
@@ -442,12 +418,6 @@ module Google
|
|
|
442
418
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
419
|
end
|
|
444
420
|
|
|
445
|
-
class ListTemplateVersionsResponse
|
|
446
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
-
|
|
448
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
-
end
|
|
450
|
-
|
|
451
421
|
class MapTask
|
|
452
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
423
|
|
|
@@ -478,30 +448,6 @@ module Google
|
|
|
478
448
|
include Google::Apis::Core::JsonObjectSupport
|
|
479
449
|
end
|
|
480
450
|
|
|
481
|
-
class ModifyTemplateVersionLabelRequest
|
|
482
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
483
|
-
|
|
484
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
485
|
-
end
|
|
486
|
-
|
|
487
|
-
class ModifyTemplateVersionLabelResponse
|
|
488
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
489
|
-
|
|
490
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
491
|
-
end
|
|
492
|
-
|
|
493
|
-
class ModifyTemplateVersionTagRequest
|
|
494
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
495
|
-
|
|
496
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
497
|
-
end
|
|
498
|
-
|
|
499
|
-
class ModifyTemplateVersionTagResponse
|
|
500
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
501
|
-
|
|
502
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
503
|
-
end
|
|
504
|
-
|
|
505
451
|
class MountedDataDisk
|
|
506
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
507
453
|
|
|
@@ -928,12 +874,6 @@ module Google
|
|
|
928
874
|
include Google::Apis::Core::JsonObjectSupport
|
|
929
875
|
end
|
|
930
876
|
|
|
931
|
-
class TemplateVersion
|
|
932
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
933
|
-
|
|
934
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
935
|
-
end
|
|
936
|
-
|
|
937
877
|
class TopologyConfig
|
|
938
878
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
939
879
|
|
|
@@ -1081,17 +1021,6 @@ module Google
|
|
|
1081
1021
|
end
|
|
1082
1022
|
end
|
|
1083
1023
|
|
|
1084
|
-
class Artifact
|
|
1085
|
-
# @private
|
|
1086
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1087
|
-
property :container_spec, as: 'containerSpec', class: Google::Apis::DataflowV1b3::ContainerSpec, decorator: Google::Apis::DataflowV1b3::ContainerSpec::Representation
|
|
1088
|
-
|
|
1089
|
-
property :job_graph_gcs_path, as: 'jobGraphGcsPath'
|
|
1090
|
-
property :metadata, as: 'metadata', class: Google::Apis::DataflowV1b3::TemplateMetadata, decorator: Google::Apis::DataflowV1b3::TemplateMetadata::Representation
|
|
1091
|
-
|
|
1092
|
-
end
|
|
1093
|
-
end
|
|
1094
|
-
|
|
1095
1024
|
class AutoscalingEvent
|
|
1096
1025
|
# @private
|
|
1097
1026
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1141,14 +1070,6 @@ module Google
|
|
|
1141
1070
|
end
|
|
1142
1071
|
end
|
|
1143
1072
|
|
|
1144
|
-
class CommitTemplateVersionRequest
|
|
1145
|
-
# @private
|
|
1146
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1147
|
-
property :template_version, as: 'templateVersion', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
1148
|
-
|
|
1149
|
-
end
|
|
1150
|
-
end
|
|
1151
|
-
|
|
1152
1073
|
class ComponentSource
|
|
1153
1074
|
# @private
|
|
1154
1075
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1284,14 +1205,6 @@ module Google
|
|
|
1284
1205
|
end
|
|
1285
1206
|
end
|
|
1286
1207
|
|
|
1287
|
-
class CreateTemplateVersionRequest
|
|
1288
|
-
# @private
|
|
1289
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1290
|
-
property :template_version, as: 'templateVersion', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
1291
|
-
|
|
1292
|
-
end
|
|
1293
|
-
end
|
|
1294
|
-
|
|
1295
1208
|
class CustomSourceLocation
|
|
1296
1209
|
# @private
|
|
1297
1210
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1391,12 +1304,6 @@ module Google
|
|
|
1391
1304
|
end
|
|
1392
1305
|
end
|
|
1393
1306
|
|
|
1394
|
-
class Empty
|
|
1395
|
-
# @private
|
|
1396
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1397
|
-
end
|
|
1398
|
-
end
|
|
1399
|
-
|
|
1400
1307
|
class Environment
|
|
1401
1308
|
# @private
|
|
1402
1309
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1484,7 +1391,9 @@ module Google
|
|
|
1484
1391
|
property :max_workers, as: 'maxWorkers'
|
|
1485
1392
|
property :network, as: 'network'
|
|
1486
1393
|
property :num_workers, as: 'numWorkers'
|
|
1394
|
+
property :sdk_container_image, as: 'sdkContainerImage'
|
|
1487
1395
|
property :service_account_email, as: 'serviceAccountEmail'
|
|
1396
|
+
property :staging_location, as: 'stagingLocation'
|
|
1488
1397
|
property :subnetwork, as: 'subnetwork'
|
|
1489
1398
|
property :temp_location, as: 'tempLocation'
|
|
1490
1399
|
property :worker_region, as: 'workerRegion'
|
|
@@ -1827,15 +1736,6 @@ module Google
|
|
|
1827
1736
|
end
|
|
1828
1737
|
end
|
|
1829
1738
|
|
|
1830
|
-
class ListTemplateVersionsResponse
|
|
1831
|
-
# @private
|
|
1832
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1833
|
-
property :next_page_token, as: 'nextPageToken'
|
|
1834
|
-
collection :template_versions, as: 'templateVersions', class: Google::Apis::DataflowV1b3::TemplateVersion, decorator: Google::Apis::DataflowV1b3::TemplateVersion::Representation
|
|
1835
|
-
|
|
1836
|
-
end
|
|
1837
|
-
end
|
|
1838
|
-
|
|
1839
1739
|
class MapTask
|
|
1840
1740
|
# @private
|
|
1841
1741
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1892,37 +1792,6 @@ module Google
|
|
|
1892
1792
|
end
|
|
1893
1793
|
end
|
|
1894
1794
|
|
|
1895
|
-
class ModifyTemplateVersionLabelRequest
|
|
1896
|
-
# @private
|
|
1897
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1898
|
-
property :key, as: 'key'
|
|
1899
|
-
property :op, as: 'op'
|
|
1900
|
-
property :value, as: 'value'
|
|
1901
|
-
end
|
|
1902
|
-
end
|
|
1903
|
-
|
|
1904
|
-
class ModifyTemplateVersionLabelResponse
|
|
1905
|
-
# @private
|
|
1906
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1907
|
-
hash :labels, as: 'labels'
|
|
1908
|
-
end
|
|
1909
|
-
end
|
|
1910
|
-
|
|
1911
|
-
class ModifyTemplateVersionTagRequest
|
|
1912
|
-
# @private
|
|
1913
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1914
|
-
property :remove_only, as: 'removeOnly'
|
|
1915
|
-
property :tag, as: 'tag'
|
|
1916
|
-
end
|
|
1917
|
-
end
|
|
1918
|
-
|
|
1919
|
-
class ModifyTemplateVersionTagResponse
|
|
1920
|
-
# @private
|
|
1921
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1922
|
-
collection :tags, as: 'tags'
|
|
1923
|
-
end
|
|
1924
|
-
end
|
|
1925
|
-
|
|
1926
1795
|
class MountedDataDisk
|
|
1927
1796
|
# @private
|
|
1928
1797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1999,6 +1868,7 @@ module Google
|
|
|
1999
1868
|
class ParameterMetadata
|
|
2000
1869
|
# @private
|
|
2001
1870
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1871
|
+
hash :custom_metadata, as: 'customMetadata'
|
|
2002
1872
|
property :help_text, as: 'helpText'
|
|
2003
1873
|
property :is_optional, as: 'isOptional'
|
|
2004
1874
|
property :label, as: 'label'
|
|
@@ -2306,6 +2176,7 @@ module Google
|
|
|
2306
2176
|
property :project_id, as: 'projectId'
|
|
2307
2177
|
collection :pubsub_metadata, as: 'pubsubMetadata', class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata, decorator: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata::Representation
|
|
2308
2178
|
|
|
2179
|
+
property :region, as: 'region'
|
|
2309
2180
|
property :source_job_id, as: 'sourceJobId'
|
|
2310
2181
|
property :state, as: 'state'
|
|
2311
2182
|
property :ttl, as: 'ttl'
|
|
@@ -2660,22 +2531,6 @@ module Google
|
|
|
2660
2531
|
end
|
|
2661
2532
|
end
|
|
2662
2533
|
|
|
2663
|
-
class TemplateVersion
|
|
2664
|
-
# @private
|
|
2665
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2666
|
-
property :artifact, as: 'artifact', class: Google::Apis::DataflowV1b3::Artifact, decorator: Google::Apis::DataflowV1b3::Artifact::Representation
|
|
2667
|
-
|
|
2668
|
-
property :create_time, as: 'createTime'
|
|
2669
|
-
property :description, as: 'description'
|
|
2670
|
-
property :display_name, as: 'displayName'
|
|
2671
|
-
hash :labels, as: 'labels'
|
|
2672
|
-
property :project_id, as: 'projectId'
|
|
2673
|
-
collection :tags, as: 'tags'
|
|
2674
|
-
property :type, as: 'type'
|
|
2675
|
-
property :version_id, as: 'versionId'
|
|
2676
|
-
end
|
|
2677
|
-
end
|
|
2678
|
-
|
|
2679
2534
|
class TopologyConfig
|
|
2680
2535
|
# @private
|
|
2681
2536
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2821,6 +2676,7 @@ module Google
|
|
|
2821
2676
|
property :msg, as: 'msg'
|
|
2822
2677
|
collection :pods, as: 'pods'
|
|
2823
2678
|
property :report_interval, as: 'reportInterval'
|
|
2679
|
+
property :vm_broken_code, as: 'vmBrokenCode'
|
|
2824
2680
|
property :vm_is_broken, as: 'vmIsBroken'
|
|
2825
2681
|
property :vm_is_healthy, as: 'vmIsHealthy'
|
|
2826
2682
|
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
|
|
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
|
|
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://`.
|
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dataflow_v1b3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0.
|
|
19
|
+
version: '0.4'
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 2.a
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '0.4'
|
|
30
|
+
- - "<"
|
|
25
31
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
32
|
+
version: 2.a
|
|
27
33
|
description: This is the simple REST client for Dataflow API V1b3. Simple REST clients
|
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
|
@@ -52,7 +58,7 @@ licenses:
|
|
|
52
58
|
metadata:
|
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataflow_v1b3/CHANGELOG.md
|
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.10.0
|
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataflow_v1b3
|
|
57
63
|
post_install_message:
|
|
58
64
|
rdoc_options: []
|
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
75
|
- !ruby/object:Gem::Version
|
|
70
76
|
version: '0'
|
|
71
77
|
requirements: []
|
|
72
|
-
rubygems_version: 3.2.
|
|
78
|
+
rubygems_version: 3.2.17
|
|
73
79
|
signing_key:
|
|
74
80
|
specification_version: 4
|
|
75
81
|
summary: Simple REST client for Dataflow API V1b3
|