google-apis-dataflow_v1b3 0.4.0 → 0.9.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 +81 -320
- data/lib/google/apis/dataflow_v1b3/gem_version.rb +3 -3
- data/lib/google/apis/dataflow_v1b3/representations.rb +18 -147
- 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: 60d406563bec8895938d732b5d064efb6bca2a913fb16f34fc5fe2dddace637a
|
4
|
+
data.tar.gz: 8bb870a8a6f352bf3e3385b3f1fc06c2be59b75d7f0031ca826a229429aa9c05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 511fa6f72c2c21dbaa8bbeee96d8d35ce18f7fae081b671aaa402ecc7659cf3da9a8d2ea463068f4b986e4c4f15aab8f4a2a6847e544cc8146b77772277f1e4e
|
7
|
+
data.tar.gz: 99fc96ffbd48a0b2ac34d5f8389c8faf33eafc7aeed3ffa747265a9e7e221f2eb64834db2649141edc252fbc08a91245009ec90c6471c8009f840569ba71ea63
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-dataflow_v1b3
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210616
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.8.0 (2021-05-29)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210522
|
11
|
+
|
12
|
+
### v0.7.0 (2021-05-19)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.6.0 (2021-04-29)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210420
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-11)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210301
|
23
|
+
* Regenerated using generator version 0.2.0
|
24
|
+
|
3
25
|
### v0.4.0 (2021-03-04)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210217
|
@@ -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
|
@@ -279,7 +248,7 @@ module Google
|
|
279
248
|
end
|
280
249
|
end
|
281
250
|
|
282
|
-
# Metadata for a BigTable connector used by the job.
|
251
|
+
# Metadata for a Cloud BigTable connector used by the job.
|
283
252
|
class BigTableIoDetails
|
284
253
|
include Google::Apis::Core::Hashable
|
285
254
|
|
@@ -342,32 +311,6 @@ module Google
|
|
342
311
|
end
|
343
312
|
end
|
344
313
|
|
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
314
|
# Description of an interstitial value between transforms in an execution stage.
|
372
315
|
class ComponentSource
|
373
316
|
include Google::Apis::Core::Hashable
|
@@ -847,32 +790,6 @@ module Google
|
|
847
790
|
end
|
848
791
|
end
|
849
792
|
|
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
793
|
# Identifies the location of a custom souce.
|
877
794
|
class CustomSourceLocation
|
878
795
|
include Google::Apis::Core::Hashable
|
@@ -947,6 +864,27 @@ module Google
|
|
947
864
|
end
|
948
865
|
end
|
949
866
|
|
867
|
+
# Describes any options that have an effect on the debugging of pipelines.
|
868
|
+
class DebugOptions
|
869
|
+
include Google::Apis::Core::Hashable
|
870
|
+
|
871
|
+
# When true, enables the logging of the literal hot key to the user's Cloud
|
872
|
+
# Logging.
|
873
|
+
# Corresponds to the JSON property `enableHotKeyLogging`
|
874
|
+
# @return [Boolean]
|
875
|
+
attr_accessor :enable_hot_key_logging
|
876
|
+
alias_method :enable_hot_key_logging?, :enable_hot_key_logging
|
877
|
+
|
878
|
+
def initialize(**args)
|
879
|
+
update!(**args)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Update properties of this object
|
883
|
+
def update!(**args)
|
884
|
+
@enable_hot_key_logging = args[:enable_hot_key_logging] if args.key?(:enable_hot_key_logging)
|
885
|
+
end
|
886
|
+
end
|
887
|
+
|
950
888
|
# Response from deleting a snapshot.
|
951
889
|
class DeleteSnapshotResponse
|
952
890
|
include Google::Apis::Core::Hashable
|
@@ -1212,23 +1150,6 @@ module Google
|
|
1212
1150
|
end
|
1213
1151
|
end
|
1214
1152
|
|
1215
|
-
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1216
|
-
# messages in your APIs. A typical example is to use it as the request or the
|
1217
|
-
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1218
|
-
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
1219
|
-
# `Empty` is empty JSON object ````.
|
1220
|
-
class Empty
|
1221
|
-
include Google::Apis::Core::Hashable
|
1222
|
-
|
1223
|
-
def initialize(**args)
|
1224
|
-
update!(**args)
|
1225
|
-
end
|
1226
|
-
|
1227
|
-
# Update properties of this object
|
1228
|
-
def update!(**args)
|
1229
|
-
end
|
1230
|
-
end
|
1231
|
-
|
1232
1153
|
# Describes the environment in which a Dataflow Job runs.
|
1233
1154
|
class Environment
|
1234
1155
|
include Google::Apis::Core::Hashable
|
@@ -1247,10 +1168,14 @@ module Google
|
|
1247
1168
|
# @return [String]
|
1248
1169
|
attr_accessor :dataset
|
1249
1170
|
|
1171
|
+
# Describes any options that have an effect on the debugging of pipelines.
|
1172
|
+
# Corresponds to the JSON property `debugOptions`
|
1173
|
+
# @return [Google::Apis::DataflowV1b3::DebugOptions]
|
1174
|
+
attr_accessor :debug_options
|
1175
|
+
|
1250
1176
|
# The list of experiments to enable. This field should be used for SDK related
|
1251
1177
|
# experiments and not for service related experiments. The proper field for
|
1252
|
-
# service related experiments is service_options.
|
1253
|
-
# rationale at go/user-specified-service-options.
|
1178
|
+
# service related experiments is service_options.
|
1254
1179
|
# Corresponds to the JSON property `experiments`
|
1255
1180
|
# @return [Array<String>]
|
1256
1181
|
attr_accessor :experiments
|
@@ -1286,8 +1211,7 @@ module Google
|
|
1286
1211
|
|
1287
1212
|
# The list of service options to enable. This field should be used for service
|
1288
1213
|
# related experiments only. These experiments, when graduating to GA, should be
|
1289
|
-
# replaced by dedicated fields or become default (i.e. always on).
|
1290
|
-
# details see the rationale at go/user-specified-service-options.
|
1214
|
+
# replaced by dedicated fields or become default (i.e. always on).
|
1291
1215
|
# Corresponds to the JSON property `serviceOptions`
|
1292
1216
|
# @return [Array<String>]
|
1293
1217
|
attr_accessor :service_options
|
@@ -1350,6 +1274,7 @@ module Google
|
|
1350
1274
|
def update!(**args)
|
1351
1275
|
@cluster_manager_api_service = args[:cluster_manager_api_service] if args.key?(:cluster_manager_api_service)
|
1352
1276
|
@dataset = args[:dataset] if args.key?(:dataset)
|
1277
|
+
@debug_options = args[:debug_options] if args.key?(:debug_options)
|
1353
1278
|
@experiments = args[:experiments] if args.key?(:experiments)
|
1354
1279
|
@flex_resource_scheduling_goal = args[:flex_resource_scheduling_goal] if args.key?(:flex_resource_scheduling_goal)
|
1355
1280
|
@internal_experiments = args[:internal_experiments] if args.key?(:internal_experiments)
|
@@ -1424,7 +1349,7 @@ module Google
|
|
1424
1349
|
# @return [Array<Google::Apis::DataflowV1b3::StageSource>]
|
1425
1350
|
attr_accessor :input_source
|
1426
1351
|
|
1427
|
-
# Type of
|
1352
|
+
# Type of transform this stage is executing.
|
1428
1353
|
# Corresponds to the JSON property `kind`
|
1429
1354
|
# @return [String]
|
1430
1355
|
attr_accessor :kind
|
@@ -1584,11 +1509,24 @@ module Google
|
|
1584
1509
|
# @return [Fixnum]
|
1585
1510
|
attr_accessor :num_workers
|
1586
1511
|
|
1512
|
+
# Docker registry location of container image to use for the 'worker harness.
|
1513
|
+
# Default is the container for the version of the SDK. Note this field is only
|
1514
|
+
# valid for portable pipelines.
|
1515
|
+
# Corresponds to the JSON property `sdkContainerImage`
|
1516
|
+
# @return [String]
|
1517
|
+
attr_accessor :sdk_container_image
|
1518
|
+
|
1587
1519
|
# The email address of the service account to run the job as.
|
1588
1520
|
# Corresponds to the JSON property `serviceAccountEmail`
|
1589
1521
|
# @return [String]
|
1590
1522
|
attr_accessor :service_account_email
|
1591
1523
|
|
1524
|
+
# The Cloud Storage path for staging local files. Must be a valid Cloud Storage
|
1525
|
+
# URL, beginning with `gs://`.
|
1526
|
+
# Corresponds to the JSON property `stagingLocation`
|
1527
|
+
# @return [String]
|
1528
|
+
attr_accessor :staging_location
|
1529
|
+
|
1592
1530
|
# Subnetwork to which VMs will be assigned, if desired. You can specify a
|
1593
1531
|
# subnetwork using either a complete URL or an abbreviated path. Expected to be
|
1594
1532
|
# of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/
|
@@ -1646,7 +1584,9 @@ module Google
|
|
1646
1584
|
@max_workers = args[:max_workers] if args.key?(:max_workers)
|
1647
1585
|
@network = args[:network] if args.key?(:network)
|
1648
1586
|
@num_workers = args[:num_workers] if args.key?(:num_workers)
|
1587
|
+
@sdk_container_image = args[:sdk_container_image] if args.key?(:sdk_container_image)
|
1649
1588
|
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
1589
|
+
@staging_location = args[:staging_location] if args.key?(:staging_location)
|
1650
1590
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
1651
1591
|
@temp_location = args[:temp_location] if args.key?(:temp_location)
|
1652
1592
|
@worker_region = args[:worker_region] if args.key?(:worker_region)
|
@@ -2163,7 +2103,7 @@ module Google
|
|
2163
2103
|
# @return [Array<Google::Apis::DataflowV1b3::Step>]
|
2164
2104
|
attr_accessor :steps
|
2165
2105
|
|
2166
|
-
# The
|
2106
|
+
# The Cloud Storage location where the steps are stored.
|
2167
2107
|
# Corresponds to the JSON property `stepsLocation`
|
2168
2108
|
# @return [String]
|
2169
2109
|
attr_accessor :steps_location
|
@@ -2331,7 +2271,7 @@ module Google
|
|
2331
2271
|
class JobMetadata
|
2332
2272
|
include Google::Apis::Core::Hashable
|
2333
2273
|
|
2334
|
-
# Identification of a BigTable source used in the Dataflow job.
|
2274
|
+
# Identification of a Cloud BigTable source used in the Dataflow job.
|
2335
2275
|
# Corresponds to the JSON property `bigTableDetails`
|
2336
2276
|
# @return [Array<Google::Apis::DataflowV1b3::BigTableIoDetails>]
|
2337
2277
|
attr_accessor :big_table_details
|
@@ -2504,7 +2444,7 @@ module Google
|
|
2504
2444
|
# @return [Google::Apis::DataflowV1b3::ContainerSpec]
|
2505
2445
|
attr_accessor :container_spec
|
2506
2446
|
|
2507
|
-
#
|
2447
|
+
# Cloud Storage path to a file with json serialized ContainerSpec as content.
|
2508
2448
|
# Corresponds to the JSON property `containerSpecGcsPath`
|
2509
2449
|
# @return [String]
|
2510
2450
|
attr_accessor :container_spec_gcs_path
|
@@ -2839,32 +2779,6 @@ module Google
|
|
2839
2779
|
end
|
2840
2780
|
end
|
2841
2781
|
|
2842
|
-
# Respond a list of TemplateVersions.
|
2843
|
-
class ListTemplateVersionsResponse
|
2844
|
-
include Google::Apis::Core::Hashable
|
2845
|
-
|
2846
|
-
# A token that can be sent as `page_token` to retrieve the next page. If this
|
2847
|
-
# field is omitted, there are no subsequent pages.
|
2848
|
-
# Corresponds to the JSON property `nextPageToken`
|
2849
|
-
# @return [String]
|
2850
|
-
attr_accessor :next_page_token
|
2851
|
-
|
2852
|
-
# A list of TemplateVersions.
|
2853
|
-
# Corresponds to the JSON property `templateVersions`
|
2854
|
-
# @return [Array<Google::Apis::DataflowV1b3::TemplateVersion>]
|
2855
|
-
attr_accessor :template_versions
|
2856
|
-
|
2857
|
-
def initialize(**args)
|
2858
|
-
update!(**args)
|
2859
|
-
end
|
2860
|
-
|
2861
|
-
# Update properties of this object
|
2862
|
-
def update!(**args)
|
2863
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2864
|
-
@template_versions = args[:template_versions] if args.key?(:template_versions)
|
2865
|
-
end
|
2866
|
-
end
|
2867
|
-
|
2868
2782
|
# MapTask consists of an ordered set of instructions, each of which describes
|
2869
2783
|
# one particular low-level operation for the worker to perform in order to
|
2870
2784
|
# accomplish the MapTask's WorkItem. Each instruction must appear in the list
|
@@ -3104,105 +3018,6 @@ module Google
|
|
3104
3018
|
end
|
3105
3019
|
end
|
3106
3020
|
|
3107
|
-
# Either add the label to TemplateVersion or remove it from the TemplateVersion.
|
3108
|
-
class ModifyTemplateVersionLabelRequest
|
3109
|
-
include Google::Apis::Core::Hashable
|
3110
|
-
|
3111
|
-
# The label key for update.
|
3112
|
-
# Corresponds to the JSON property `key`
|
3113
|
-
# @return [String]
|
3114
|
-
attr_accessor :key
|
3115
|
-
|
3116
|
-
# Requests for add label to TemplateVersion or remove label from TemplateVersion.
|
3117
|
-
# Corresponds to the JSON property `op`
|
3118
|
-
# @return [String]
|
3119
|
-
attr_accessor :op
|
3120
|
-
|
3121
|
-
# The label value for update.
|
3122
|
-
# Corresponds to the JSON property `value`
|
3123
|
-
# @return [String]
|
3124
|
-
attr_accessor :value
|
3125
|
-
|
3126
|
-
def initialize(**args)
|
3127
|
-
update!(**args)
|
3128
|
-
end
|
3129
|
-
|
3130
|
-
# Update properties of this object
|
3131
|
-
def update!(**args)
|
3132
|
-
@key = args[:key] if args.key?(:key)
|
3133
|
-
@op = args[:op] if args.key?(:op)
|
3134
|
-
@value = args[:value] if args.key?(:value)
|
3135
|
-
end
|
3136
|
-
end
|
3137
|
-
|
3138
|
-
# Respond the labels in the TemplateVersion.
|
3139
|
-
class ModifyTemplateVersionLabelResponse
|
3140
|
-
include Google::Apis::Core::Hashable
|
3141
|
-
|
3142
|
-
# All the label in the TemplateVersion.
|
3143
|
-
# Corresponds to the JSON property `labels`
|
3144
|
-
# @return [Hash<String,String>]
|
3145
|
-
attr_accessor :labels
|
3146
|
-
|
3147
|
-
def initialize(**args)
|
3148
|
-
update!(**args)
|
3149
|
-
end
|
3150
|
-
|
3151
|
-
# Update properties of this object
|
3152
|
-
def update!(**args)
|
3153
|
-
@labels = args[:labels] if args.key?(:labels)
|
3154
|
-
end
|
3155
|
-
end
|
3156
|
-
|
3157
|
-
# Add a tag to the current TemplateVersion. If tag exist in another
|
3158
|
-
# TemplateVersion in the Template, remove the tag before add it to the current
|
3159
|
-
# TemplateVersion. If remove_only set, remove the tag from the current
|
3160
|
-
# TemplateVersion.
|
3161
|
-
class ModifyTemplateVersionTagRequest
|
3162
|
-
include Google::Apis::Core::Hashable
|
3163
|
-
|
3164
|
-
# The flag that indicates if the request is only for remove tag from
|
3165
|
-
# TemplateVersion.
|
3166
|
-
# Corresponds to the JSON property `removeOnly`
|
3167
|
-
# @return [Boolean]
|
3168
|
-
attr_accessor :remove_only
|
3169
|
-
alias_method :remove_only?, :remove_only
|
3170
|
-
|
3171
|
-
# The tag for update.
|
3172
|
-
# Corresponds to the JSON property `tag`
|
3173
|
-
# @return [String]
|
3174
|
-
attr_accessor :tag
|
3175
|
-
|
3176
|
-
def initialize(**args)
|
3177
|
-
update!(**args)
|
3178
|
-
end
|
3179
|
-
|
3180
|
-
# Update properties of this object
|
3181
|
-
def update!(**args)
|
3182
|
-
@remove_only = args[:remove_only] if args.key?(:remove_only)
|
3183
|
-
@tag = args[:tag] if args.key?(:tag)
|
3184
|
-
end
|
3185
|
-
end
|
3186
|
-
|
3187
|
-
# Respond the current tags in the TemplateVersion.
|
3188
|
-
class ModifyTemplateVersionTagResponse
|
3189
|
-
include Google::Apis::Core::Hashable
|
3190
|
-
|
3191
|
-
# All the tags in the TemplateVersion.
|
3192
|
-
# Corresponds to the JSON property `tags`
|
3193
|
-
# @return [Array<String>]
|
3194
|
-
attr_accessor :tags
|
3195
|
-
|
3196
|
-
def initialize(**args)
|
3197
|
-
update!(**args)
|
3198
|
-
end
|
3199
|
-
|
3200
|
-
# Update properties of this object
|
3201
|
-
def update!(**args)
|
3202
|
-
@tags = args[:tags] if args.key?(:tags)
|
3203
|
-
end
|
3204
|
-
end
|
3205
|
-
|
3206
3021
|
# Describes mounted data disk.
|
3207
3022
|
class MountedDataDisk
|
3208
3023
|
include Google::Apis::Core::Hashable
|
@@ -3442,6 +3257,11 @@ module Google
|
|
3442
3257
|
class ParameterMetadata
|
3443
3258
|
include Google::Apis::Core::Hashable
|
3444
3259
|
|
3260
|
+
# Optional. Additional metadata for describing this parameter.
|
3261
|
+
# Corresponds to the JSON property `customMetadata`
|
3262
|
+
# @return [Hash<String,String>]
|
3263
|
+
attr_accessor :custom_metadata
|
3264
|
+
|
3445
3265
|
# Required. The help text to display for the parameter.
|
3446
3266
|
# Corresponds to the JSON property `helpText`
|
3447
3267
|
# @return [String]
|
@@ -3479,6 +3299,7 @@ module Google
|
|
3479
3299
|
|
3480
3300
|
# Update properties of this object
|
3481
3301
|
def update!(**args)
|
3302
|
+
@custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
|
3482
3303
|
@help_text = args[:help_text] if args.key?(:help_text)
|
3483
3304
|
@is_optional = args[:is_optional] if args.key?(:is_optional)
|
3484
3305
|
@label = args[:label] if args.key?(:label)
|
@@ -3678,7 +3499,7 @@ module Google
|
|
3678
3499
|
end
|
3679
3500
|
end
|
3680
3501
|
|
3681
|
-
# Metadata for a
|
3502
|
+
# Metadata for a Pub/Sub connector used by the job.
|
3682
3503
|
class PubSubIoDetails
|
3683
3504
|
include Google::Apis::Core::Hashable
|
3684
3505
|
|
@@ -4528,6 +4349,11 @@ module Google
|
|
4528
4349
|
# @return [Array<Google::Apis::DataflowV1b3::PubsubSnapshotMetadata>]
|
4529
4350
|
attr_accessor :pubsub_metadata
|
4530
4351
|
|
4352
|
+
# Cloud region where this snapshot lives in, e.g., "us-central1".
|
4353
|
+
# Corresponds to the JSON property `region`
|
4354
|
+
# @return [String]
|
4355
|
+
attr_accessor :region
|
4356
|
+
|
4531
4357
|
# The job this snapshot was created from.
|
4532
4358
|
# Corresponds to the JSON property `sourceJobId`
|
4533
4359
|
# @return [String]
|
@@ -4555,6 +4381,7 @@ module Google
|
|
4555
4381
|
@id = args[:id] if args.key?(:id)
|
4556
4382
|
@project_id = args[:project_id] if args.key?(:project_id)
|
4557
4383
|
@pubsub_metadata = args[:pubsub_metadata] if args.key?(:pubsub_metadata)
|
4384
|
+
@region = args[:region] if args.key?(:region)
|
4558
4385
|
@source_job_id = args[:source_job_id] if args.key?(:source_job_id)
|
4559
4386
|
@state = args[:state] if args.key?(:state)
|
4560
4387
|
@ttl = args[:ttl] if args.key?(:ttl)
|
@@ -5811,80 +5638,6 @@ module Google
|
|
5811
5638
|
end
|
5812
5639
|
end
|
5813
5640
|
|
5814
|
-
# ///////////////////////////////////////////////////////////////////////////// /
|
5815
|
-
# /// Template Catalog is used to organize user TemplateVersions. ////
|
5816
|
-
# TemplateVersions that have the same project_id and display_name are ////
|
5817
|
-
# belong to the same Template. //// Templates with the same project_id belong to
|
5818
|
-
# the same Project. //// TemplateVersion may have labels and multiple labels are
|
5819
|
-
# allowed. //// Duplicated labels in the same `TemplateVersion` are not allowed.
|
5820
|
-
# //// TemplateVersion may have tags and multiple tags are allowed. Duplicated //
|
5821
|
-
# // tags in the same `Template` are not allowed!
|
5822
|
-
class TemplateVersion
|
5823
|
-
include Google::Apis::Core::Hashable
|
5824
|
-
|
5825
|
-
# Job information for templates.
|
5826
|
-
# Corresponds to the JSON property `artifact`
|
5827
|
-
# @return [Google::Apis::DataflowV1b3::Artifact]
|
5828
|
-
attr_accessor :artifact
|
5829
|
-
|
5830
|
-
# Creation time of this TemplateVersion.
|
5831
|
-
# Corresponds to the JSON property `createTime`
|
5832
|
-
# @return [String]
|
5833
|
-
attr_accessor :create_time
|
5834
|
-
|
5835
|
-
# Template description from the user.
|
5836
|
-
# Corresponds to the JSON property `description`
|
5837
|
-
# @return [String]
|
5838
|
-
attr_accessor :description
|
5839
|
-
|
5840
|
-
# A customized name for Template. Multiple TemplateVersions per Template.
|
5841
|
-
# Corresponds to the JSON property `displayName`
|
5842
|
-
# @return [String]
|
5843
|
-
attr_accessor :display_name
|
5844
|
-
|
5845
|
-
# Labels for the Template Version. Labels can be duplicate within Template.
|
5846
|
-
# Corresponds to the JSON property `labels`
|
5847
|
-
# @return [Hash<String,String>]
|
5848
|
-
attr_accessor :labels
|
5849
|
-
|
5850
|
-
# A unique project_id. Multiple Templates per Project.
|
5851
|
-
# Corresponds to the JSON property `projectId`
|
5852
|
-
# @return [String]
|
5853
|
-
attr_accessor :project_id
|
5854
|
-
|
5855
|
-
# Alias for version_id, helps locate a TemplateVersion.
|
5856
|
-
# Corresponds to the JSON property `tags`
|
5857
|
-
# @return [Array<String>]
|
5858
|
-
attr_accessor :tags
|
5859
|
-
|
5860
|
-
# Either LEGACY or FLEX. This should match with the type of artifact.
|
5861
|
-
# Corresponds to the JSON property `type`
|
5862
|
-
# @return [String]
|
5863
|
-
attr_accessor :type
|
5864
|
-
|
5865
|
-
# An auto generated version_id for TemplateVersion.
|
5866
|
-
# Corresponds to the JSON property `versionId`
|
5867
|
-
# @return [String]
|
5868
|
-
attr_accessor :version_id
|
5869
|
-
|
5870
|
-
def initialize(**args)
|
5871
|
-
update!(**args)
|
5872
|
-
end
|
5873
|
-
|
5874
|
-
# Update properties of this object
|
5875
|
-
def update!(**args)
|
5876
|
-
@artifact = args[:artifact] if args.key?(:artifact)
|
5877
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
5878
|
-
@description = args[:description] if args.key?(:description)
|
5879
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
5880
|
-
@labels = args[:labels] if args.key?(:labels)
|
5881
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
5882
|
-
@tags = args[:tags] if args.key?(:tags)
|
5883
|
-
@type = args[:type] if args.key?(:type)
|
5884
|
-
@version_id = args[:version_id] if args.key?(:version_id)
|
5885
|
-
end
|
5886
|
-
end
|
5887
|
-
|
5888
5641
|
# Global topology of the streaming Dataflow job, including all computations and
|
5889
5642
|
# their sharded locations.
|
5890
5643
|
class TopologyConfig
|
@@ -6399,7 +6152,7 @@ module Google
|
|
6399
6152
|
class WorkerHealthReport
|
6400
6153
|
include Google::Apis::Core::Hashable
|
6401
6154
|
|
6402
|
-
#
|
6155
|
+
# Message describing any unusual health reports.
|
6403
6156
|
# Corresponds to the JSON property `msg`
|
6404
6157
|
# @return [String]
|
6405
6158
|
attr_accessor :msg
|
@@ -6418,6 +6171,12 @@ module Google
|
|
6418
6171
|
# @return [String]
|
6419
6172
|
attr_accessor :report_interval
|
6420
6173
|
|
6174
|
+
# Code to describe a specific reason, if known, that a VM has reported broken
|
6175
|
+
# state.
|
6176
|
+
# Corresponds to the JSON property `vmBrokenCode`
|
6177
|
+
# @return [String]
|
6178
|
+
attr_accessor :vm_broken_code
|
6179
|
+
|
6421
6180
|
# Whether the VM is in a permanently broken state. Broken VMs should be
|
6422
6181
|
# abandoned or deleted ASAP to avoid assigning or completing any work.
|
6423
6182
|
# Corresponds to the JSON property `vmIsBroken`
|
@@ -6445,6 +6204,7 @@ module Google
|
|
6445
6204
|
@msg = args[:msg] if args.key?(:msg)
|
6446
6205
|
@pods = args[:pods] if args.key?(:pods)
|
6447
6206
|
@report_interval = args[:report_interval] if args.key?(:report_interval)
|
6207
|
+
@vm_broken_code = args[:vm_broken_code] if args.key?(:vm_broken_code)
|
6448
6208
|
@vm_is_broken = args[:vm_is_broken] if args.key?(:vm_is_broken)
|
6449
6209
|
@vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy)
|
6450
6210
|
@vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time)
|
@@ -6593,9 +6353,9 @@ module Google
|
|
6593
6353
|
# The code is a string intended for consumption by a machine that identifies the
|
6594
6354
|
# type of message being sent. Examples: 1. "HARNESS_STARTED" might be used to
|
6595
6355
|
# indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used
|
6596
|
-
# to indicate an error downloading a
|
6597
|
-
# of the worker containers. This is a string and not an enum to
|
6598
|
-
# add new codes without waiting for an API change.
|
6356
|
+
# to indicate an error downloading a Cloud Storage file as part of the boot
|
6357
|
+
# process of one of the worker containers. This is a string and not an enum to
|
6358
|
+
# make it easy to add new codes without waiting for an API change.
|
6599
6359
|
# Corresponds to the JSON property `code`
|
6600
6360
|
# @return [String]
|
6601
6361
|
attr_accessor :code
|
@@ -6604,13 +6364,14 @@ module Google
|
|
6604
6364
|
# allow parameters of different types. Examples: 1. For a "HARNESS_STARTED"
|
6605
6365
|
# message parameters might provide the name of the worker and additional data
|
6606
6366
|
# like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might
|
6607
|
-
# contain fields listing the
|
6608
|
-
# errors. In general complex data structures should be avoided. If a
|
6609
|
-
# needs to send a specific and complicated data structure then please
|
6610
|
-
# defining a new proto and adding it to the data oneof in
|
6611
|
-
# Conventions: Parameters should only be used for
|
6612
|
-
# typically passed as a label. hostname and other worker
|
6613
|
-
# almost always be passed as labels since they will be
|
6367
|
+
# contain fields listing the Cloud Storage objects being downloaded and fields
|
6368
|
+
# containing errors. In general complex data structures should be avoided. If a
|
6369
|
+
# worker needs to send a specific and complicated data structure then please
|
6370
|
+
# consider defining a new proto and adding it to the data oneof in
|
6371
|
+
# WorkerMessageResponse. Conventions: Parameters should only be used for
|
6372
|
+
# information that isn't typically passed as a label. hostname and other worker
|
6373
|
+
# identifiers should almost always be passed as labels since they will be
|
6374
|
+
# included on most messages.
|
6614
6375
|
# Corresponds to the JSON property `parameters`
|
6615
6376
|
# @return [Hash<String,Object>]
|
6616
6377
|
attr_accessor :parameters
|