google-apis-dataflow_v1b3 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b9fcebd5e911c5400d94744f6ef6d0079fda992afcda141690a3306d98b327d
4
- data.tar.gz: 4c951b53e8e1e3b7a997ea2e5645604d133d34fd9585ed720df7e851cfbeda56
3
+ metadata.gz: 1f06afdf2e3ee98d08bd61eb47091acd71a67defb63da884b2c9837fa9684a9d
4
+ data.tar.gz: dd4fe1ebf3eeeec3d8a9734838b3f2a87d1775fef249108ce282c522e544d3c7
5
5
  SHA512:
6
- metadata.gz: 0011f1be10d715328c02e531bc171d424dbc1b0538a2bead89b792e9a618e8b26d7cbc8fc1276559fd47ec48c412fd7d80bff86c100501498340ac120d0b01e3
7
- data.tar.gz: d05fc0c0db9afbf3a7102f26f3caec958cd379b48208926d936d53e88ab802212cfd4c769e89a162debc339771cb25c13204d69db97f295d6d0b37dbd673de8b
6
+ metadata.gz: 1ae0fcaabf07e6a6090f604d77d51a8c7060d2279edf650b00b688b269107a673a7b398092cab534d10745107860e82e5287ec4ccca8280e99a07f31dc70c821
7
+ data.tar.gz: 1cad19683c2c44058cb45d2b890a2f57c75438d99d87f7a6d4436e2b2fc7d09cfe71da7199f0aef0b34b6db57f2e586f887c0e092fa9102753ba921822e6d12c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dataflow_v1b3
2
2
 
3
+ ### v0.6.0 (2021-04-29)
4
+
5
+ * Regenerated from discovery document revision 20210420
6
+
3
7
  ### v0.5.0 (2021-03-11)
4
8
 
5
9
  * 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
- # View and manage your data across Google Cloud Platform services
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
- # View your email address
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
@@ -1233,23 +1150,6 @@ module Google
1233
1150
  end
1234
1151
  end
1235
1152
 
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
1153
  # Describes the environment in which a Dataflow Job runs.
1254
1154
  class Environment
1255
1155
  include Google::Apis::Core::Hashable
@@ -1451,7 +1351,7 @@ module Google
1451
1351
  # @return [Array<Google::Apis::DataflowV1b3::StageSource>]
1452
1352
  attr_accessor :input_source
1453
1353
 
1454
- # Type of tranform this stage is executing.
1354
+ # Type of transform this stage is executing.
1455
1355
  # Corresponds to the JSON property `kind`
1456
1356
  # @return [String]
1457
1357
  attr_accessor :kind
@@ -1616,6 +1516,12 @@ module Google
1616
1516
  # @return [String]
1617
1517
  attr_accessor :service_account_email
1618
1518
 
1519
+ # The Cloud Storage path for staging local files. Must be a valid Cloud Storage
1520
+ # URL, beginning with `gs://`.
1521
+ # Corresponds to the JSON property `stagingLocation`
1522
+ # @return [String]
1523
+ attr_accessor :staging_location
1524
+
1619
1525
  # Subnetwork to which VMs will be assigned, if desired. You can specify a
1620
1526
  # subnetwork using either a complete URL or an abbreviated path. Expected to be
1621
1527
  # of the form "https://www.googleapis.com/compute/v1/projects/HOST_PROJECT_ID/
@@ -1674,6 +1580,7 @@ module Google
1674
1580
  @network = args[:network] if args.key?(:network)
1675
1581
  @num_workers = args[:num_workers] if args.key?(:num_workers)
1676
1582
  @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
1583
+ @staging_location = args[:staging_location] if args.key?(:staging_location)
1677
1584
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
1678
1585
  @temp_location = args[:temp_location] if args.key?(:temp_location)
1679
1586
  @worker_region = args[:worker_region] if args.key?(:worker_region)
@@ -2190,7 +2097,7 @@ module Google
2190
2097
  # @return [Array<Google::Apis::DataflowV1b3::Step>]
2191
2098
  attr_accessor :steps
2192
2099
 
2193
- # The GCS location where the steps are stored.
2100
+ # The Cloud Storage location where the steps are stored.
2194
2101
  # Corresponds to the JSON property `stepsLocation`
2195
2102
  # @return [String]
2196
2103
  attr_accessor :steps_location
@@ -2358,7 +2265,7 @@ module Google
2358
2265
  class JobMetadata
2359
2266
  include Google::Apis::Core::Hashable
2360
2267
 
2361
- # Identification of a BigTable source used in the Dataflow job.
2268
+ # Identification of a Cloud BigTable source used in the Dataflow job.
2362
2269
  # Corresponds to the JSON property `bigTableDetails`
2363
2270
  # @return [Array<Google::Apis::DataflowV1b3::BigTableIoDetails>]
2364
2271
  attr_accessor :big_table_details
@@ -2531,7 +2438,7 @@ module Google
2531
2438
  # @return [Google::Apis::DataflowV1b3::ContainerSpec]
2532
2439
  attr_accessor :container_spec
2533
2440
 
2534
- # Gcs path to a file with json serialized ContainerSpec as content.
2441
+ # Cloud Storage path to a file with json serialized ContainerSpec as content.
2535
2442
  # Corresponds to the JSON property `containerSpecGcsPath`
2536
2443
  # @return [String]
2537
2444
  attr_accessor :container_spec_gcs_path
@@ -2866,32 +2773,6 @@ module Google
2866
2773
  end
2867
2774
  end
2868
2775
 
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
2776
  # MapTask consists of an ordered set of instructions, each of which describes
2896
2777
  # one particular low-level operation for the worker to perform in order to
2897
2778
  # accomplish the MapTask's WorkItem. Each instruction must appear in the list
@@ -3131,105 +3012,6 @@ module Google
3131
3012
  end
3132
3013
  end
3133
3014
 
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
3015
  # Describes mounted data disk.
3234
3016
  class MountedDataDisk
3235
3017
  include Google::Apis::Core::Hashable
@@ -3469,6 +3251,11 @@ module Google
3469
3251
  class ParameterMetadata
3470
3252
  include Google::Apis::Core::Hashable
3471
3253
 
3254
+ # Optional. Additional metadata for describing this parameter.
3255
+ # Corresponds to the JSON property `customMetadata`
3256
+ # @return [Hash<String,String>]
3257
+ attr_accessor :custom_metadata
3258
+
3472
3259
  # Required. The help text to display for the parameter.
3473
3260
  # Corresponds to the JSON property `helpText`
3474
3261
  # @return [String]
@@ -3506,6 +3293,7 @@ module Google
3506
3293
 
3507
3294
  # Update properties of this object
3508
3295
  def update!(**args)
3296
+ @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
3509
3297
  @help_text = args[:help_text] if args.key?(:help_text)
3510
3298
  @is_optional = args[:is_optional] if args.key?(:is_optional)
3511
3299
  @label = args[:label] if args.key?(:label)
@@ -3705,7 +3493,7 @@ module Google
3705
3493
  end
3706
3494
  end
3707
3495
 
3708
- # Metadata for a PubSub connector used by the job.
3496
+ # Metadata for a Pub/Sub connector used by the job.
3709
3497
  class PubSubIoDetails
3710
3498
  include Google::Apis::Core::Hashable
3711
3499
 
@@ -4555,6 +4343,11 @@ module Google
4555
4343
  # @return [Array<Google::Apis::DataflowV1b3::PubsubSnapshotMetadata>]
4556
4344
  attr_accessor :pubsub_metadata
4557
4345
 
4346
+ # Cloud region where this snapshot lives in, e.g., "us-central1".
4347
+ # Corresponds to the JSON property `region`
4348
+ # @return [String]
4349
+ attr_accessor :region
4350
+
4558
4351
  # The job this snapshot was created from.
4559
4352
  # Corresponds to the JSON property `sourceJobId`
4560
4353
  # @return [String]
@@ -4582,6 +4375,7 @@ module Google
4582
4375
  @id = args[:id] if args.key?(:id)
4583
4376
  @project_id = args[:project_id] if args.key?(:project_id)
4584
4377
  @pubsub_metadata = args[:pubsub_metadata] if args.key?(:pubsub_metadata)
4378
+ @region = args[:region] if args.key?(:region)
4585
4379
  @source_job_id = args[:source_job_id] if args.key?(:source_job_id)
4586
4380
  @state = args[:state] if args.key?(:state)
4587
4381
  @ttl = args[:ttl] if args.key?(:ttl)
@@ -5838,80 +5632,6 @@ module Google
5838
5632
  end
5839
5633
  end
5840
5634
 
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
5635
  # Global topology of the streaming Dataflow job, including all computations and
5916
5636
  # their sharded locations.
5917
5637
  class TopologyConfig
@@ -6426,7 +6146,7 @@ module Google
6426
6146
  class WorkerHealthReport
6427
6147
  include Google::Apis::Core::Hashable
6428
6148
 
6429
- # A message describing any unusual health reports.
6149
+ # Message describing any unusual health reports.
6430
6150
  # Corresponds to the JSON property `msg`
6431
6151
  # @return [String]
6432
6152
  attr_accessor :msg
@@ -6445,6 +6165,12 @@ module Google
6445
6165
  # @return [String]
6446
6166
  attr_accessor :report_interval
6447
6167
 
6168
+ # Code to describe a specific reason, if known, that a VM has reported broken
6169
+ # state.
6170
+ # Corresponds to the JSON property `vmBrokenCode`
6171
+ # @return [String]
6172
+ attr_accessor :vm_broken_code
6173
+
6448
6174
  # Whether the VM is in a permanently broken state. Broken VMs should be
6449
6175
  # abandoned or deleted ASAP to avoid assigning or completing any work.
6450
6176
  # Corresponds to the JSON property `vmIsBroken`
@@ -6472,6 +6198,7 @@ module Google
6472
6198
  @msg = args[:msg] if args.key?(:msg)
6473
6199
  @pods = args[:pods] if args.key?(:pods)
6474
6200
  @report_interval = args[:report_interval] if args.key?(:report_interval)
6201
+ @vm_broken_code = args[:vm_broken_code] if args.key?(:vm_broken_code)
6475
6202
  @vm_is_broken = args[:vm_is_broken] if args.key?(:vm_is_broken)
6476
6203
  @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy)
6477
6204
  @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time)
@@ -6620,9 +6347,9 @@ module Google
6620
6347
  # The code is a string intended for consumption by a machine that identifies the
6621
6348
  # type of message being sent. Examples: 1. "HARNESS_STARTED" might be used to
6622
6349
  # indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used
6623
- # to indicate an error downloading a GCS file as part of the boot process of one
6624
- # of the worker containers. This is a string and not an enum to make it easy to
6625
- # add new codes without waiting for an API change.
6350
+ # to indicate an error downloading a Cloud Storage file as part of the boot
6351
+ # process of one of the worker containers. This is a string and not an enum to
6352
+ # make it easy to add new codes without waiting for an API change.
6626
6353
  # Corresponds to the JSON property `code`
6627
6354
  # @return [String]
6628
6355
  attr_accessor :code
@@ -6631,13 +6358,14 @@ module Google
6631
6358
  # allow parameters of different types. Examples: 1. For a "HARNESS_STARTED"
6632
6359
  # message parameters might provide the name of the worker and additional data
6633
6360
  # like timing information. 2. For a "GCS_DOWNLOAD_ERROR" parameters might
6634
- # contain fields listing the GCS objects being downloaded and fields containing
6635
- # errors. In general complex data structures should be avoided. If a worker
6636
- # needs to send a specific and complicated data structure then please consider
6637
- # defining a new proto and adding it to the data oneof in WorkerMessageResponse.
6638
- # Conventions: Parameters should only be used for information that isn't
6639
- # typically passed as a label. hostname and other worker identifiers should
6640
- # almost always be passed as labels since they will be included on most messages.
6361
+ # contain fields listing the Cloud Storage objects being downloaded and fields
6362
+ # containing errors. In general complex data structures should be avoided. If a
6363
+ # worker needs to send a specific and complicated data structure then please
6364
+ # consider defining a new proto and adding it to the data oneof in
6365
+ # WorkerMessageResponse. Conventions: Parameters should only be used for
6366
+ # information that isn't typically passed as a label. hostname and other worker
6367
+ # identifiers should almost always be passed as labels since they will be
6368
+ # included on most messages.
6641
6369
  # Corresponds to the JSON property `parameters`
6642
6370
  # @return [Hash<String,Object>]
6643
6371
  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.5.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210301"
25
+ REVISION = "20210420"
26
26
  end
27
27
  end
28
28
  end
@@ -40,12 +40,6 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class Artifact
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
43
  class AutoscalingEvent
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
@@ -76,12 +70,6 @@ module Google
76
70
  include Google::Apis::Core::JsonObjectSupport
77
71
  end
78
72
 
79
- class CommitTemplateVersionRequest
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
73
  class ComponentSource
86
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
75
 
@@ -142,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
@@ -1485,6 +1392,7 @@ module Google
1485
1392
  property :network, as: 'network'
1486
1393
  property :num_workers, as: 'numWorkers'
1487
1394
  property :service_account_email, as: 'serviceAccountEmail'
1395
+ property :staging_location, as: 'stagingLocation'
1488
1396
  property :subnetwork, as: 'subnetwork'
1489
1397
  property :temp_location, as: 'tempLocation'
1490
1398
  property :worker_region, as: 'workerRegion'
@@ -1827,15 +1735,6 @@ module Google
1827
1735
  end
1828
1736
  end
1829
1737
 
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
1738
  class MapTask
1840
1739
  # @private
1841
1740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1892,37 +1791,6 @@ module Google
1892
1791
  end
1893
1792
  end
1894
1793
 
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
1794
  class MountedDataDisk
1927
1795
  # @private
1928
1796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1999,6 +1867,7 @@ module Google
1999
1867
  class ParameterMetadata
2000
1868
  # @private
2001
1869
  class Representation < Google::Apis::Core::JsonRepresentation
1870
+ hash :custom_metadata, as: 'customMetadata'
2002
1871
  property :help_text, as: 'helpText'
2003
1872
  property :is_optional, as: 'isOptional'
2004
1873
  property :label, as: 'label'
@@ -2306,6 +2175,7 @@ module Google
2306
2175
  property :project_id, as: 'projectId'
2307
2176
  collection :pubsub_metadata, as: 'pubsubMetadata', class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata, decorator: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata::Representation
2308
2177
 
2178
+ property :region, as: 'region'
2309
2179
  property :source_job_id, as: 'sourceJobId'
2310
2180
  property :state, as: 'state'
2311
2181
  property :ttl, as: 'ttl'
@@ -2660,22 +2530,6 @@ module Google
2660
2530
  end
2661
2531
  end
2662
2532
 
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
2533
  class TopologyConfig
2680
2534
  # @private
2681
2535
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2821,6 +2675,7 @@ module Google
2821
2675
  property :msg, as: 'msg'
2822
2676
  collection :pods, as: 'pods'
2823
2677
  property :report_interval, as: 'reportInterval'
2678
+ property :vm_broken_code, as: 'vmBrokenCode'
2824
2679
  property :vm_is_broken, as: 'vmIsBroken'
2825
2680
  property :vm_is_healthy, as: 'vmIsHealthy'
2826
2681
  property :vm_startup_time, as: 'vmStartupTime'
@@ -118,221 +118,6 @@ module Google
118
118
  execute_or_queue_command(command, &block)
119
119
  end
120
120
 
121
- # Creates a new TemplateVersion (Important: not new Template) entry in the
122
- # spanner table. Requires project_id and display_name (template).
123
- # @param [String] name
124
- # The location of the template, name includes project_id and display_name.
125
- # Commit using project_id(pid1) and display_name(tid1). Format: projects/`pid1`/
126
- # catalogTemplates/`tid1`
127
- # @param [Google::Apis::DataflowV1b3::CommitTemplateVersionRequest] commit_template_version_request_object
128
- # @param [String] fields
129
- # Selector specifying which fields to include in a partial response.
130
- # @param [String] quota_user
131
- # Available to use for quota purposes for server-side applications. Can be any
132
- # arbitrary string assigned to a user, but should not exceed 40 characters.
133
- # @param [Google::Apis::RequestOptions] options
134
- # Request-specific options
135
- #
136
- # @yield [result, err] Result & error if block supplied
137
- # @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
138
- # @yieldparam err [StandardError] error object if request failed
139
- #
140
- # @return [Google::Apis::DataflowV1b3::TemplateVersion]
141
- #
142
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
- # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def commit_catalog_template_template_version(name, commit_template_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:post, 'v1b3/{+name}:commit', options)
147
- command.request_representation = Google::Apis::DataflowV1b3::CommitTemplateVersionRequest::Representation
148
- command.request_object = commit_template_version_request_object
149
- command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
150
- command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
151
- command.params['name'] = name unless name.nil?
152
- command.query['fields'] = fields unless fields.nil?
153
- command.query['quotaUser'] = quota_user unless quota_user.nil?
154
- execute_or_queue_command(command, &block)
155
- end
156
-
157
- # Deletes an existing Template. Do nothing if Template does not exist.
158
- # @param [String] name
159
- # name includes project_id and display_name. Delete by project_id(pid1) and
160
- # display_name(tid1). Format: projects/`pid1`/catalogTemplates/`tid1`
161
- # @param [String] fields
162
- # Selector specifying which fields to include in a partial response.
163
- # @param [String] quota_user
164
- # Available to use for quota purposes for server-side applications. Can be any
165
- # arbitrary string assigned to a user, but should not exceed 40 characters.
166
- # @param [Google::Apis::RequestOptions] options
167
- # Request-specific options
168
- #
169
- # @yield [result, err] Result & error if block supplied
170
- # @yieldparam result [Google::Apis::DataflowV1b3::Empty] parsed result object
171
- # @yieldparam err [StandardError] error object if request failed
172
- #
173
- # @return [Google::Apis::DataflowV1b3::Empty]
174
- #
175
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
176
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
177
- # @raise [Google::Apis::AuthorizationError] Authorization is required
178
- def delete_project_catalog_template(name, fields: nil, quota_user: nil, options: nil, &block)
179
- command = make_simple_command(:delete, 'v1b3/{+name}', options)
180
- command.response_representation = Google::Apis::DataflowV1b3::Empty::Representation
181
- command.response_class = Google::Apis::DataflowV1b3::Empty
182
- command.params['name'] = name unless name.nil?
183
- command.query['fields'] = fields unless fields.nil?
184
- command.query['quotaUser'] = quota_user unless quota_user.nil?
185
- execute_or_queue_command(command, &block)
186
- end
187
-
188
- # Get TemplateVersion using project_id and display_name with an optional
189
- # version_id field. Get latest (has tag "latest") TemplateVersion if version_id
190
- # not set.
191
- # @param [String] name
192
- # Resource name includes project_id and display_name. version_id is optional.
193
- # Get the latest TemplateVersion if version_id not set. Get by project_id(pid1)
194
- # and display_name(tid1): Format: projects/`pid1`/catalogTemplates/`tid1` Get by
195
- # project_id(pid1), display_name(tid1), and version_id(vid1): Format: projects/`
196
- # pid1`/catalogTemplates/`tid1@vid`
197
- # @param [String] fields
198
- # Selector specifying which fields to include in a partial response.
199
- # @param [String] quota_user
200
- # Available to use for quota purposes for server-side applications. Can be any
201
- # arbitrary string assigned to a user, but should not exceed 40 characters.
202
- # @param [Google::Apis::RequestOptions] options
203
- # Request-specific options
204
- #
205
- # @yield [result, err] Result & error if block supplied
206
- # @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
207
- # @yieldparam err [StandardError] error object if request failed
208
- #
209
- # @return [Google::Apis::DataflowV1b3::TemplateVersion]
210
- #
211
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
- # @raise [Google::Apis::AuthorizationError] Authorization is required
214
- def get_project_catalog_template(name, fields: nil, quota_user: nil, options: nil, &block)
215
- command = make_simple_command(:get, 'v1b3/{+name}', options)
216
- command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
217
- command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
218
- command.params['name'] = name unless name.nil?
219
- command.query['fields'] = fields unless fields.nil?
220
- command.query['quotaUser'] = quota_user unless quota_user.nil?
221
- execute_or_queue_command(command, &block)
222
- end
223
-
224
- # Updates the label of the TemplateVersion. Label can be duplicated in Template,
225
- # so either add or remove the label in the TemplateVersion.
226
- # @param [String] name
227
- # Resource name includes project_id, display_name, and version_id. Updates by
228
- # project_id(pid1), display_name(tid1), and version_id(vid1): Format: projects/`
229
- # pid1`/catalogTemplates/`tid1@vid`
230
- # @param [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest] modify_template_version_label_request_object
231
- # @param [String] fields
232
- # Selector specifying which fields to include in a partial response.
233
- # @param [String] quota_user
234
- # Available to use for quota purposes for server-side applications. Can be any
235
- # arbitrary string assigned to a user, but should not exceed 40 characters.
236
- # @param [Google::Apis::RequestOptions] options
237
- # Request-specific options
238
- #
239
- # @yield [result, err] Result & error if block supplied
240
- # @yieldparam result [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse] parsed result object
241
- # @yieldparam err [StandardError] error object if request failed
242
- #
243
- # @return [Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse]
244
- #
245
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
246
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
247
- # @raise [Google::Apis::AuthorizationError] Authorization is required
248
- def label_project_catalog_template(name, modify_template_version_label_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
249
- command = make_simple_command(:post, 'v1b3/{+name}:label', options)
250
- command.request_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelRequest::Representation
251
- command.request_object = modify_template_version_label_request_object
252
- command.response_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse::Representation
253
- command.response_class = Google::Apis::DataflowV1b3::ModifyTemplateVersionLabelResponse
254
- command.params['name'] = name unless name.nil?
255
- command.query['fields'] = fields unless fields.nil?
256
- command.query['quotaUser'] = quota_user unless quota_user.nil?
257
- execute_or_queue_command(command, &block)
258
- end
259
-
260
- # Updates the tag of the TemplateVersion, and tag is unique in Template. If tag
261
- # exists in another TemplateVersion in the Template, updates the tag to this
262
- # TemplateVersion will remove it from the old TemplateVersion and add it to this
263
- # TemplateVersion. If request is remove_only (remove_only = true), remove the
264
- # tag from this TemplateVersion.
265
- # @param [String] name
266
- # Resource name includes project_id, display_name, and version_id. Updates by
267
- # project_id(pid1), display_name(tid1), and version_id(vid1): Format: projects/`
268
- # pid1`/catalogTemplates/`tid1@vid`
269
- # @param [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest] modify_template_version_tag_request_object
270
- # @param [String] fields
271
- # Selector specifying which fields to include in a partial response.
272
- # @param [String] quota_user
273
- # Available to use for quota purposes for server-side applications. Can be any
274
- # arbitrary string assigned to a user, but should not exceed 40 characters.
275
- # @param [Google::Apis::RequestOptions] options
276
- # Request-specific options
277
- #
278
- # @yield [result, err] Result & error if block supplied
279
- # @yieldparam result [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse] parsed result object
280
- # @yieldparam err [StandardError] error object if request failed
281
- #
282
- # @return [Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse]
283
- #
284
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
- # @raise [Google::Apis::AuthorizationError] Authorization is required
287
- def tag_project_catalog_template(name, modify_template_version_tag_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
288
- command = make_simple_command(:post, 'v1b3/{+name}:tag', options)
289
- command.request_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagRequest::Representation
290
- command.request_object = modify_template_version_tag_request_object
291
- command.response_representation = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse::Representation
292
- command.response_class = Google::Apis::DataflowV1b3::ModifyTemplateVersionTagResponse
293
- command.params['name'] = name unless name.nil?
294
- command.query['fields'] = fields unless fields.nil?
295
- command.query['quotaUser'] = quota_user unless quota_user.nil?
296
- execute_or_queue_command(command, &block)
297
- end
298
-
299
- # Creates a new Template with TemplateVersion. Requires project_id(projects) and
300
- # template display_name(catalogTemplates). The template display_name is set by
301
- # the user.
302
- # @param [String] parent
303
- # The parent project and template that the TemplateVersion will be created under.
304
- # Create using project_id(pid1) and display_name(tid1). Format: projects/`pid1`/
305
- # catalogTemplates/`tid1`
306
- # @param [Google::Apis::DataflowV1b3::CreateTemplateVersionRequest] create_template_version_request_object
307
- # @param [String] fields
308
- # Selector specifying which fields to include in a partial response.
309
- # @param [String] quota_user
310
- # Available to use for quota purposes for server-side applications. Can be any
311
- # arbitrary string assigned to a user, but should not exceed 40 characters.
312
- # @param [Google::Apis::RequestOptions] options
313
- # Request-specific options
314
- #
315
- # @yield [result, err] Result & error if block supplied
316
- # @yieldparam result [Google::Apis::DataflowV1b3::TemplateVersion] parsed result object
317
- # @yieldparam err [StandardError] error object if request failed
318
- #
319
- # @return [Google::Apis::DataflowV1b3::TemplateVersion]
320
- #
321
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
322
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
323
- # @raise [Google::Apis::AuthorizationError] Authorization is required
324
- def create_template_version(parent, create_template_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
325
- command = make_simple_command(:post, 'v1b3/{+parent}/templateVersions', options)
326
- command.request_representation = Google::Apis::DataflowV1b3::CreateTemplateVersionRequest::Representation
327
- command.request_object = create_template_version_request_object
328
- command.response_representation = Google::Apis::DataflowV1b3::TemplateVersion::Representation
329
- command.response_class = Google::Apis::DataflowV1b3::TemplateVersion
330
- command.params['parent'] = parent unless parent.nil?
331
- command.query['fields'] = fields unless fields.nil?
332
- command.query['quotaUser'] = quota_user unless quota_user.nil?
333
- execute_or_queue_command(command, &block)
334
- end
335
-
336
121
  # List the jobs of a project across all regions.
337
122
  # @param [String] project_id
338
123
  # The project which owns the jobs.
@@ -1799,8 +1584,8 @@ module Google
1799
1584
  # regional-endpoints) to which to direct the request.
1800
1585
  # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
1801
1586
  # @param [String] dynamic_template_gcs_path
1802
- # Path to dynamic template spec file on GCS. The file must be a Json serialized
1803
- # DynamicTemplateFieSpec object.
1587
+ # Path to dynamic template spec file on Cloud Storage. The file must be a Json
1588
+ # serialized DynamicTemplateFieSpec object.
1804
1589
  # @param [String] dynamic_template_staging_location
1805
1590
  # Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL,
1806
1591
  # beginning with `gs://`.
@@ -1915,47 +1700,6 @@ module Google
1915
1700
  execute_or_queue_command(command, &block)
1916
1701
  end
1917
1702
 
1918
- # List TemplateVersions using project_id and an optional display_name field.
1919
- # List all the TemplateVersions in the Template if display set. List all the
1920
- # TemplateVersions in the Project if display_name not set.
1921
- # @param [String] parent
1922
- # parent includes project_id, and display_name is optional. List by project_id(
1923
- # pid1) and display_name(tid1). Format: projects/`pid1`/catalogTemplates/`tid1`
1924
- # List by project_id(pid1). Format: projects/`pid1`
1925
- # @param [Fixnum] page_size
1926
- # The maximum number of TemplateVersions to return per page.
1927
- # @param [String] page_token
1928
- # The page token, received from a previous ListTemplateVersions call. Provide
1929
- # this to retrieve the subsequent page.
1930
- # @param [String] fields
1931
- # Selector specifying which fields to include in a partial response.
1932
- # @param [String] quota_user
1933
- # Available to use for quota purposes for server-side applications. Can be any
1934
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1935
- # @param [Google::Apis::RequestOptions] options
1936
- # Request-specific options
1937
- #
1938
- # @yield [result, err] Result & error if block supplied
1939
- # @yieldparam result [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse] parsed result object
1940
- # @yieldparam err [StandardError] error object if request failed
1941
- #
1942
- # @return [Google::Apis::DataflowV1b3::ListTemplateVersionsResponse]
1943
- #
1944
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1945
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1946
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1947
- def list_project_template_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1948
- command = make_simple_command(:get, 'v1b3/{+parent}/templateVersions', options)
1949
- command.response_representation = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse::Representation
1950
- command.response_class = Google::Apis::DataflowV1b3::ListTemplateVersionsResponse
1951
- command.params['parent'] = parent unless parent.nil?
1952
- command.query['pageSize'] = page_size unless page_size.nil?
1953
- command.query['pageToken'] = page_token unless page_token.nil?
1954
- command.query['fields'] = fields unless fields.nil?
1955
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1956
- execute_or_queue_command(command, &block)
1957
- end
1958
-
1959
1703
  # Creates a Cloud Dataflow job from a template.
1960
1704
  # @param [String] project_id
1961
1705
  # Required. The ID of the Cloud Platform project that the job belongs to.
@@ -2035,8 +1779,8 @@ module Google
2035
1779
  # Required. The ID of the Cloud Platform project that the job belongs to.
2036
1780
  # @param [Google::Apis::DataflowV1b3::LaunchTemplateParameters] launch_template_parameters_object
2037
1781
  # @param [String] dynamic_template_gcs_path
2038
- # Path to dynamic template spec file on GCS. The file must be a Json serialized
2039
- # DynamicTemplateFieSpec object.
1782
+ # Path to dynamic template spec file on Cloud Storage. The file must be a Json
1783
+ # serialized DynamicTemplateFieSpec object.
2040
1784
  # @param [String] dynamic_template_staging_location
2041
1785
  # Cloud Storage path for staging dependencies. Must be a valid Cloud Storage URL,
2042
1786
  # beginning with `gs://`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dataflow_v1b3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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-03-15 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  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.5.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dataflow_v1b3/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dataflow_v1b3
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Dataflow API V1b3