google-api-client 0.19.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +8 -2
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +10 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  8. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  9. data/generated/google/apis/androidpublisher_v2/classes.rb +7 -6
  10. data/generated/google/apis/appengine_v1.rb +1 -1
  11. data/generated/google/apis/appengine_v1/classes.rb +66 -4
  12. data/generated/google/apis/appengine_v1/representations.rb +31 -0
  13. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  14. data/generated/google/apis/appengine_v1alpha/classes.rb +56 -0
  15. data/generated/google/apis/appengine_v1alpha/representations.rb +30 -0
  16. data/generated/google/apis/appengine_v1beta.rb +1 -1
  17. data/generated/google/apis/appengine_v1beta/classes.rb +104 -4
  18. data/generated/google/apis/appengine_v1beta/representations.rb +47 -0
  19. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  20. data/generated/google/apis/appengine_v1beta4/classes.rb +56 -0
  21. data/generated/google/apis/appengine_v1beta4/representations.rb +30 -0
  22. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta5/classes.rb +56 -0
  24. data/generated/google/apis/appengine_v1beta5/representations.rb +30 -0
  25. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  26. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +119 -0
  29. data/generated/google/apis/books_v1/representations.rb +62 -0
  30. data/generated/google/apis/books_v1/service.rb +115 -0
  31. data/generated/google/apis/classroom_v1.rb +1 -1
  32. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1/classes.rb +5 -6
  34. data/generated/google/apis/cloudiot_v1.rb +1 -1
  35. data/generated/google/apis/cloudiot_v1/classes.rb +3 -3
  36. data/generated/google/apis/cloudiot_v1beta1.rb +1 -1
  37. data/generated/google/apis/cloudiot_v1beta1/classes.rb +3 -3
  38. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  39. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +3 -3
  40. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -1
  41. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  43. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -0
  44. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +3 -3
  46. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  48. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -113
  49. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -30
  50. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -60
  51. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  52. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -0
  53. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
  54. data/generated/google/apis/dataproc_v1.rb +1 -1
  55. data/generated/google/apis/dataproc_v1/classes.rb +33 -33
  56. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  57. data/generated/google/apis/dataproc_v1beta2/classes.rb +42 -42
  58. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  59. data/generated/google/apis/dlp_v2beta1/classes.rb +11 -8
  60. data/generated/google/apis/dlp_v2beta2.rb +1 -1
  61. data/generated/google/apis/dlp_v2beta2/classes.rb +11 -8
  62. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  63. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +7 -0
  64. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  65. data/generated/google/apis/iam_v1.rb +1 -1
  66. data/generated/google/apis/iam_v1/classes.rb +3 -3
  67. data/generated/google/apis/plus_domains_v1.rb +1 -1
  68. data/generated/google/apis/plus_domains_v1/service.rb +1 -1
  69. data/generated/google/apis/plus_v1.rb +1 -1
  70. data/generated/google/apis/plus_v1/service.rb +1 -1
  71. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  72. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  73. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -3
  74. data/generated/google/apis/storage_v1beta1.rb +1 -1
  75. data/generated/google/apis/storage_v1beta2.rb +1 -1
  76. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  77. data/generated/google/apis/vision_v1.rb +1 -1
  78. data/generated/google/apis/vision_v1/classes.rb +25 -21
  79. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  80. data/generated/google/apis/vision_v1p1beta1/classes.rb +25 -21
  81. data/lib/google/apis/version.rb +1 -1
  82. metadata +2 -2
@@ -142,18 +142,6 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class PullTasksRequest
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
147
-
148
- include Google::Apis::Core::JsonObjectSupport
149
- end
150
-
151
- class PullTasksResponse
152
- class Representation < Google::Apis::Core::JsonRepresentation; end
153
-
154
- include Google::Apis::Core::JsonObjectSupport
155
- end
156
-
157
145
  class PurgeQueueRequest
158
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
147
 
@@ -402,24 +390,6 @@ module Google
402
390
  end
403
391
  end
404
392
 
405
- class PullTasksRequest
406
- # @private
407
- class Representation < Google::Apis::Core::JsonRepresentation
408
- property :filter, as: 'filter'
409
- property :lease_duration, as: 'leaseDuration'
410
- property :max_tasks, as: 'maxTasks'
411
- property :response_view, as: 'responseView'
412
- end
413
- end
414
-
415
- class PullTasksResponse
416
- # @private
417
- class Representation < Google::Apis::Core::JsonRepresentation
418
- collection :tasks, as: 'tasks', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation
419
-
420
- end
421
- end
422
-
423
393
  class PurgeQueueRequest
424
394
  # @private
425
395
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -601,14 +601,14 @@ module Google
601
601
  end
602
602
 
603
603
  # Acknowledges a pull task.
604
- # The pull worker, that is, the entity that received this task in
605
- # a PullTasksResponse, must call this method to indicate that
604
+ # The worker, that is, the entity that received this task in
605
+ # a LeaseTasksResponse, must call this method to indicate that
606
606
  # the work associated with the task has finished.
607
- # The pull worker must acknowledge a task within the
608
- # PullTasksRequest.lease_duration or the lease will expire and
607
+ # The worker must acknowledge a task within the
608
+ # LeaseTasksRequest.lease_duration or the lease will expire and
609
609
  # the task will become ready to be returned in a different
610
- # PullTasksResponse. After the task is acknowledged, it will
611
- # not be returned by a later CloudTasks.PullTasks,
610
+ # LeaseTasksResponse. After the task is acknowledged, it will
611
+ # not be returned by a later CloudTasks.LeaseTasks,
612
612
  # CloudTasks.GetTask, or CloudTasks.ListTasks.
613
613
  # To acknowledge multiple tasks at the same time, use
614
614
  # [HTTP batching](/storage/docs/json_api/v1/how-tos/batch)
@@ -649,9 +649,9 @@ module Google
649
649
  end
650
650
 
651
651
  # Cancel a pull task's lease.
652
- # The pull worker can use this method to cancel a task's lease
652
+ # The worker can use this method to cancel a task's lease
653
653
  # by setting Task.schedule_time to now. This will make the task
654
- # available to be leased to the next caller of CloudTasks.PullTasks.
654
+ # available to be leased to the next caller of CloudTasks.LeaseTasks.
655
655
  # @param [String] name
656
656
  # Required.
657
657
  # The task name. For example:
@@ -811,11 +811,11 @@ module Google
811
811
  end
812
812
 
813
813
  # Leases tasks from a pull queue for LeaseTasksRequest.lease_duration.
814
- # This method is invoked by the pull worker to obtain a
815
- # lease. The pull worker must acknowledge the task via
814
+ # This method is invoked by the worker to obtain a
815
+ # lease. The worker must acknowledge the task via
816
816
  # CloudTasks.AcknowledgeTask after they have performed the work
817
817
  # associated with the task.
818
- # The payload is intended to store data that the pull worker needs
818
+ # The payload is intended to store data that the worker needs
819
819
  # to perform the work associated with the task. To return the
820
820
  # payloads in the LeaseTasksResponse, set
821
821
  # LeaseTasksRequest.response_view to Task.View.FULL.
@@ -927,56 +927,8 @@ module Google
927
927
  execute_or_queue_command(command, &block)
928
928
  end
929
929
 
930
- # Pulls tasks from a pull queue and acquires a lease on them for a
931
- # specified PullTasksRequest.lease_duration.
932
- # This method is invoked by the pull worker to obtain the
933
- # lease. The pull worker must acknowledge the task via
934
- # CloudTasks.AcknowledgeTask after they have performed the work
935
- # associated with the task.
936
- # The payload is intended to store data that the pull worker needs
937
- # to perform the work associated with the task. To return the
938
- # payloads in the PullTasksResponse, set
939
- # PullTasksRequest.response_view to Task.View.FULL.
940
- # A maximum of 10 qps of CloudTasks.PullTasks requests are allowed per
941
- # queue. google.rpc.Code.RESOURCE_EXHAUSTED is returned when this limit
942
- # is exceeded. google.rpc.Code.RESOURCE_EXHAUSTED is also returned when
943
- # RateLimits.max_tasks_dispatched_per_second is exceeded.
944
- # @param [String] name
945
- # Required.
946
- # The queue name. For example:
947
- # `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
948
- # @param [Google::Apis::CloudtasksV2beta2::PullTasksRequest] pull_tasks_request_object
949
- # @param [String] fields
950
- # Selector specifying which fields to include in a partial response.
951
- # @param [String] quota_user
952
- # Available to use for quota purposes for server-side applications. Can be any
953
- # arbitrary string assigned to a user, but should not exceed 40 characters.
954
- # @param [Google::Apis::RequestOptions] options
955
- # Request-specific options
956
- #
957
- # @yield [result, err] Result & error if block supplied
958
- # @yieldparam result [Google::Apis::CloudtasksV2beta2::PullTasksResponse] parsed result object
959
- # @yieldparam err [StandardError] error object if request failed
960
- #
961
- # @return [Google::Apis::CloudtasksV2beta2::PullTasksResponse]
962
- #
963
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
964
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
965
- # @raise [Google::Apis::AuthorizationError] Authorization is required
966
- def pull_tasks(name, pull_tasks_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
967
- command = make_simple_command(:post, 'v2beta2/{+name}/tasks:pull', options)
968
- command.request_representation = Google::Apis::CloudtasksV2beta2::PullTasksRequest::Representation
969
- command.request_object = pull_tasks_request_object
970
- command.response_representation = Google::Apis::CloudtasksV2beta2::PullTasksResponse::Representation
971
- command.response_class = Google::Apis::CloudtasksV2beta2::PullTasksResponse
972
- command.params['name'] = name unless name.nil?
973
- command.query['fields'] = fields unless fields.nil?
974
- command.query['quotaUser'] = quota_user unless quota_user.nil?
975
- execute_or_queue_command(command, &block)
976
- end
977
-
978
930
  # Renew the current lease of a pull task.
979
- # The pull worker can use this method to extend the lease by a new
931
+ # The worker can use this method to extend the lease by a new
980
932
  # duration, starting from now. The new task lease will be
981
933
  # returned in Task.schedule_time.
982
934
  # @param [String] name
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20171031'
28
+ REVISION = '20171222'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2937,6 +2937,11 @@ module Google
2937
2937
  class RuntimeEnvironment
2938
2938
  include Google::Apis::Core::Hashable
2939
2939
 
2940
+ # Additional experiment flags for the job.
2941
+ # Corresponds to the JSON property `additionalExperiments`
2942
+ # @return [Array<String>]
2943
+ attr_accessor :additional_experiments
2944
+
2940
2945
  # Whether to bypass the safety checks for the job's temporary directory.
2941
2946
  # Use with caution.
2942
2947
  # Corresponds to the JSON property `bypassTempDirValidation`
@@ -2980,6 +2985,7 @@ module Google
2980
2985
 
2981
2986
  # Update properties of this object
2982
2987
  def update!(**args)
2988
+ @additional_experiments = args[:additional_experiments] if args.key?(:additional_experiments)
2983
2989
  @bypass_temp_dir_validation = args[:bypass_temp_dir_validation] if args.key?(:bypass_temp_dir_validation)
2984
2990
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2985
2991
  @max_workers = args[:max_workers] if args.key?(:max_workers)
@@ -1554,6 +1554,7 @@ module Google
1554
1554
  class RuntimeEnvironment
1555
1555
  # @private
1556
1556
  class Representation < Google::Apis::Core::JsonRepresentation
1557
+ collection :additional_experiments, as: 'additionalExperiments'
1557
1558
  property :bypass_temp_dir_validation, as: 'bypassTempDirValidation'
1558
1559
  property :machine_type, as: 'machineType'
1559
1560
  property :max_workers, as: 'maxWorkers'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171207'
28
+ REVISION = '20180102'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -77,7 +77,7 @@ module Google
77
77
  # @return [String]
78
78
  attr_accessor :cluster_name
79
79
 
80
- # Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
80
+ # Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
81
81
  # generates this value when it creates the cluster.
82
82
  # Corresponds to the JSON property `clusterUuid`
83
83
  # @return [String]
@@ -114,7 +114,7 @@ module Google
114
114
  # @return [Google::Apis::DataprocV1::ClusterStatus]
115
115
  attr_accessor :status
116
116
 
117
- # Output-only. The previous cluster status.
117
+ # Output only. The previous cluster status.
118
118
  # Corresponds to the JSON property `statusHistory`
119
119
  # @return [Array<Google::Apis::DataprocV1::ClusterStatus>]
120
120
  attr_accessor :status_history
@@ -241,27 +241,27 @@ module Google
241
241
  class ClusterOperationMetadata
242
242
  include Google::Apis::Core::Hashable
243
243
 
244
- # Output-only. Name of the cluster for the operation.
244
+ # Output only. Name of the cluster for the operation.
245
245
  # Corresponds to the JSON property `clusterName`
246
246
  # @return [String]
247
247
  attr_accessor :cluster_name
248
248
 
249
- # Output-only. Cluster UUID for the operation.
249
+ # Output only. Cluster UUID for the operation.
250
250
  # Corresponds to the JSON property `clusterUuid`
251
251
  # @return [String]
252
252
  attr_accessor :cluster_uuid
253
253
 
254
- # Output-only. Short description of operation.
254
+ # Output only. Short description of operation.
255
255
  # Corresponds to the JSON property `description`
256
256
  # @return [String]
257
257
  attr_accessor :description
258
258
 
259
- # Output-only. Labels associated with the operation
259
+ # Output only. Labels associated with the operation
260
260
  # Corresponds to the JSON property `labels`
261
261
  # @return [Hash<String,String>]
262
262
  attr_accessor :labels
263
263
 
264
- # Output-only. The operation type.
264
+ # Output only. The operation type.
265
265
  # Corresponds to the JSON property `operationType`
266
266
  # @return [String]
267
267
  attr_accessor :operation_type
@@ -271,12 +271,12 @@ module Google
271
271
  # @return [Google::Apis::DataprocV1::ClusterOperationStatus]
272
272
  attr_accessor :status
273
273
 
274
- # Output-only. The previous operation status.
274
+ # Output only. The previous operation status.
275
275
  # Corresponds to the JSON property `statusHistory`
276
276
  # @return [Array<Google::Apis::DataprocV1::ClusterOperationStatus>]
277
277
  attr_accessor :status_history
278
278
 
279
- # Output-only. Errors encountered during operation execution.
279
+ # Output only. Errors encountered during operation execution.
280
280
  # Corresponds to the JSON property `warnings`
281
281
  # @return [Array<String>]
282
282
  attr_accessor :warnings
@@ -302,22 +302,22 @@ module Google
302
302
  class ClusterOperationStatus
303
303
  include Google::Apis::Core::Hashable
304
304
 
305
- # Output-only.A message containing any operation metadata details.
305
+ # Output only. A message containing any operation metadata details.
306
306
  # Corresponds to the JSON property `details`
307
307
  # @return [String]
308
308
  attr_accessor :details
309
309
 
310
- # Output-only. A message containing the detailed operation state.
310
+ # Output only. A message containing the detailed operation state.
311
311
  # Corresponds to the JSON property `innerState`
312
312
  # @return [String]
313
313
  attr_accessor :inner_state
314
314
 
315
- # Output-only. A message containing the operation state.
315
+ # Output only. A message containing the operation state.
316
316
  # Corresponds to the JSON property `state`
317
317
  # @return [String]
318
318
  attr_accessor :state
319
319
 
320
- # Output-only. The time this state was entered.
320
+ # Output only. The time this state was entered.
321
321
  # Corresponds to the JSON property `stateStartTime`
322
322
  # @return [String]
323
323
  attr_accessor :state_start_time
@@ -339,22 +339,22 @@ module Google
339
339
  class ClusterStatus
340
340
  include Google::Apis::Core::Hashable
341
341
 
342
- # Output-only. Optional details of cluster's state.
342
+ # Output only. Optional details of cluster's state.
343
343
  # Corresponds to the JSON property `detail`
344
344
  # @return [String]
345
345
  attr_accessor :detail
346
346
 
347
- # Output-only. The cluster's state.
347
+ # Output only. The cluster's state.
348
348
  # Corresponds to the JSON property `state`
349
349
  # @return [String]
350
350
  attr_accessor :state
351
351
 
352
- # Output-only. Time when this state was entered.
352
+ # Output only. Time when this state was entered.
353
353
  # Corresponds to the JSON property `stateStartTime`
354
354
  # @return [String]
355
355
  attr_accessor :state_start_time
356
356
 
357
- # Output-only. Additional state information that includes status reported by the
357
+ # Output only. Additional state information that includes status reported by the
358
358
  # agent.
359
359
  # Corresponds to the JSON property `substate`
360
360
  # @return [String]
@@ -390,7 +390,7 @@ module Google
390
390
  class DiagnoseClusterResults
391
391
  include Google::Apis::Core::Hashable
392
392
 
393
- # Output-only. The Google Cloud Storage URI of the diagnostic output. The output
393
+ # Output only. The Google Cloud Storage URI of the diagnostic output. The output
394
394
  # report is a plain text file with a summary of collected diagnostics.
395
395
  # Corresponds to the JSON property `outputUri`
396
396
  # @return [String]
@@ -714,7 +714,7 @@ module Google
714
714
  # @return [Google::Apis::DataprocV1::DiskConfig]
715
715
  attr_accessor :disk_config
716
716
 
717
- # Output-only. The Google Compute Engine image resource used for cluster
717
+ # Output only. The Google Compute Engine image resource used for cluster
718
718
  # instances. Inferred from SoftwareConfig.image_version.
719
719
  # Corresponds to the JSON property `imageUri`
720
720
  # @return [String]
@@ -775,14 +775,14 @@ module Google
775
775
  class Job
776
776
  include Google::Apis::Core::Hashable
777
777
 
778
- # Output-only. If present, the location of miscellaneous control files which may
778
+ # Output only. If present, the location of miscellaneous control files which may
779
779
  # be used as part of job setup and handling. If not present, control files may
780
780
  # be placed in the same location as driver_output_uri.
781
781
  # Corresponds to the JSON property `driverControlFilesUri`
782
782
  # @return [String]
783
783
  attr_accessor :driver_control_files_uri
784
784
 
785
- # Output-only. A URI pointing to the location of the stdout of the job's driver
785
+ # Output only. A URI pointing to the location of the stdout of the job's driver
786
786
  # program.
787
787
  # Corresponds to the JSON property `driverOutputResourceUri`
788
788
  # @return [String]
@@ -855,12 +855,12 @@ module Google
855
855
  # @return [Google::Apis::DataprocV1::JobStatus]
856
856
  attr_accessor :status
857
857
 
858
- # Output-only. The previous job status.
858
+ # Output only. The previous job status.
859
859
  # Corresponds to the JSON property `statusHistory`
860
860
  # @return [Array<Google::Apis::DataprocV1::JobStatus>]
861
861
  attr_accessor :status_history
862
862
 
863
- # Output-only. The collection of YARN applications spun up by this job.Beta
863
+ # Output only. The collection of YARN applications spun up by this job.Beta
864
864
  # Feature: This report is available for testing purposes only. It may be changed
865
865
  # before final release.
866
866
  # Corresponds to the JSON property `yarnApplications`
@@ -900,7 +900,7 @@ module Google
900
900
  # @return [String]
901
901
  attr_accessor :cluster_name
902
902
 
903
- # Output-only. A cluster UUID generated by the Cloud Dataproc service when the
903
+ # Output only. A cluster UUID generated by the Cloud Dataproc service when the
904
904
  # job is submitted.
905
905
  # Corresponds to the JSON property `clusterUuid`
906
906
  # @return [String]
@@ -972,23 +972,23 @@ module Google
972
972
  class JobStatus
973
973
  include Google::Apis::Core::Hashable
974
974
 
975
- # Output-only. Optional job state details, such as an error description if the
975
+ # Output only. Optional job state details, such as an error description if the
976
976
  # state is <code>ERROR</code>.
977
977
  # Corresponds to the JSON property `details`
978
978
  # @return [String]
979
979
  attr_accessor :details
980
980
 
981
- # Output-only. A state message specifying the overall job state.
981
+ # Output only. A state message specifying the overall job state.
982
982
  # Corresponds to the JSON property `state`
983
983
  # @return [String]
984
984
  attr_accessor :state
985
985
 
986
- # Output-only. The time when this state was entered.
986
+ # Output only. The time when this state was entered.
987
987
  # Corresponds to the JSON property `stateStartTime`
988
988
  # @return [String]
989
989
  attr_accessor :state_start_time
990
990
 
991
- # Output-only. Additional state information, which includes status reported by
991
+ # Output only. Additional state information, which includes status reported by
992
992
  # the agent.
993
993
  # Corresponds to the JSON property `substate`
994
994
  # @return [String]
@@ -1011,12 +1011,12 @@ module Google
1011
1011
  class ListClustersResponse
1012
1012
  include Google::Apis::Core::Hashable
1013
1013
 
1014
- # Output-only. The clusters in the project.
1014
+ # Output only. The clusters in the project.
1015
1015
  # Corresponds to the JSON property `clusters`
1016
1016
  # @return [Array<Google::Apis::DataprocV1::Cluster>]
1017
1017
  attr_accessor :clusters
1018
1018
 
1019
- # Output-only. This token is included in the response if there are more results
1019
+ # Output only. This token is included in the response if there are more results
1020
1020
  # to fetch. To fetch additional results, provide this value as the page_token in
1021
1021
  # a subsequent ListClustersRequest.
1022
1022
  # Corresponds to the JSON property `nextPageToken`
@@ -1038,7 +1038,7 @@ module Google
1038
1038
  class ListJobsResponse
1039
1039
  include Google::Apis::Core::Hashable
1040
1040
 
1041
- # Output-only. Jobs list.
1041
+ # Output only. Jobs list.
1042
1042
  # Corresponds to the JSON property `jobs`
1043
1043
  # @return [Array<Google::Apis::DataprocV1::Job>]
1044
1044
  attr_accessor :jobs
@@ -1111,12 +1111,12 @@ module Google
1111
1111
  class ManagedGroupConfig
1112
1112
  include Google::Apis::Core::Hashable
1113
1113
 
1114
- # Output-only. The name of the Instance Group Manager for this group.
1114
+ # Output only. The name of the Instance Group Manager for this group.
1115
1115
  # Corresponds to the JSON property `instanceGroupManagerName`
1116
1116
  # @return [String]
1117
1117
  attr_accessor :instance_group_manager_name
1118
1118
 
1119
- # Output-only. The name of the Instance Template used for the Managed Instance
1119
+ # Output only. The name of the Instance Template used for the Managed Instance
1120
1120
  # Group.
1121
1121
  # Corresponds to the JSON property `instanceTemplateName`
1122
1122
  # @return [String]
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20171207'
28
+ REVISION = '20180102'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [String]
117
117
  attr_accessor :cluster_name
118
118
 
119
- # Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
119
+ # Output only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc
120
120
  # generates this value when it creates the cluster.
121
121
  # Corresponds to the JSON property `clusterUuid`
122
122
  # @return [String]
@@ -153,7 +153,7 @@ module Google
153
153
  # @return [Google::Apis::DataprocV1beta2::ClusterStatus]
154
154
  attr_accessor :status
155
155
 
156
- # Output-only. The previous cluster status.
156
+ # Output only. The previous cluster status.
157
157
  # Corresponds to the JSON property `statusHistory`
158
158
  # @return [Array<Google::Apis::DataprocV1beta2::ClusterStatus>]
159
159
  attr_accessor :status_history
@@ -282,7 +282,7 @@ module Google
282
282
  end
283
283
  end
284
284
 
285
- #
285
+ # The cluster operation triggered by a workflow.
286
286
  class ClusterOperation
287
287
  include Google::Apis::Core::Hashable
288
288
 
@@ -318,27 +318,27 @@ module Google
318
318
  class ClusterOperationMetadata
319
319
  include Google::Apis::Core::Hashable
320
320
 
321
- # Output-only. Name of the cluster for the operation.
321
+ # Output only. Name of the cluster for the operation.
322
322
  # Corresponds to the JSON property `clusterName`
323
323
  # @return [String]
324
324
  attr_accessor :cluster_name
325
325
 
326
- # Output-only. Cluster UUID for the operation.
326
+ # Output only. Cluster UUID for the operation.
327
327
  # Corresponds to the JSON property `clusterUuid`
328
328
  # @return [String]
329
329
  attr_accessor :cluster_uuid
330
330
 
331
- # Output-only. Short description of operation.
331
+ # Output only. Short description of operation.
332
332
  # Corresponds to the JSON property `description`
333
333
  # @return [String]
334
334
  attr_accessor :description
335
335
 
336
- # Output-only. Labels associated with the operation
336
+ # Output only. Labels associated with the operation
337
337
  # Corresponds to the JSON property `labels`
338
338
  # @return [Hash<String,String>]
339
339
  attr_accessor :labels
340
340
 
341
- # Output-only. The operation type.
341
+ # Output only. The operation type.
342
342
  # Corresponds to the JSON property `operationType`
343
343
  # @return [String]
344
344
  attr_accessor :operation_type
@@ -348,12 +348,12 @@ module Google
348
348
  # @return [Google::Apis::DataprocV1beta2::ClusterOperationStatus]
349
349
  attr_accessor :status
350
350
 
351
- # Output-only. The previous operation status.
351
+ # Output only. The previous operation status.
352
352
  # Corresponds to the JSON property `statusHistory`
353
353
  # @return [Array<Google::Apis::DataprocV1beta2::ClusterOperationStatus>]
354
354
  attr_accessor :status_history
355
355
 
356
- # Output-only. Errors encountered during operation execution.
356
+ # Output only. Errors encountered during operation execution.
357
357
  # Corresponds to the JSON property `warnings`
358
358
  # @return [Array<String>]
359
359
  attr_accessor :warnings
@@ -379,22 +379,22 @@ module Google
379
379
  class ClusterOperationStatus
380
380
  include Google::Apis::Core::Hashable
381
381
 
382
- # Output-only.A message containing any operation metadata details.
382
+ # Output only. A message containing any operation metadata details.
383
383
  # Corresponds to the JSON property `details`
384
384
  # @return [String]
385
385
  attr_accessor :details
386
386
 
387
- # Output-only. A message containing the detailed operation state.
387
+ # Output only. A message containing the detailed operation state.
388
388
  # Corresponds to the JSON property `innerState`
389
389
  # @return [String]
390
390
  attr_accessor :inner_state
391
391
 
392
- # Output-only. A message containing the operation state.
392
+ # Output only. A message containing the operation state.
393
393
  # Corresponds to the JSON property `state`
394
394
  # @return [String]
395
395
  attr_accessor :state
396
396
 
397
- # Output-only. The time this state was entered.
397
+ # Output only. The time this state was entered.
398
398
  # Corresponds to the JSON property `stateStartTime`
399
399
  # @return [String]
400
400
  attr_accessor :state_start_time
@@ -443,22 +443,22 @@ module Google
443
443
  class ClusterStatus
444
444
  include Google::Apis::Core::Hashable
445
445
 
446
- # Output-only. Optional details of cluster's state.
446
+ # Output only. Optional details of cluster's state.
447
447
  # Corresponds to the JSON property `detail`
448
448
  # @return [String]
449
449
  attr_accessor :detail
450
450
 
451
- # Output-only. The cluster's state.
451
+ # Output only. The cluster's state.
452
452
  # Corresponds to the JSON property `state`
453
453
  # @return [String]
454
454
  attr_accessor :state
455
455
 
456
- # Output-only. Time when this state was entered.
456
+ # Output only. Time when this state was entered.
457
457
  # Corresponds to the JSON property `stateStartTime`
458
458
  # @return [String]
459
459
  attr_accessor :state_start_time
460
460
 
461
- # Output-only. Additional state information that includes status reported by the
461
+ # Output only. Additional state information that includes status reported by the
462
462
  # agent.
463
463
  # Corresponds to the JSON property `substate`
464
464
  # @return [String]
@@ -494,7 +494,7 @@ module Google
494
494
  class DiagnoseClusterResults
495
495
  include Google::Apis::Core::Hashable
496
496
 
497
- # Output-only. The Google Cloud Storage URI of the diagnostic output. The output
497
+ # Output only. The Google Cloud Storage URI of the diagnostic output. The output
498
498
  # report is a plain text file with a summary of collected diagnostics.
499
499
  # Corresponds to the JSON property `outputUri`
500
500
  # @return [String]
@@ -825,7 +825,7 @@ module Google
825
825
  # @return [Google::Apis::DataprocV1beta2::DiskConfig]
826
826
  attr_accessor :disk_config
827
827
 
828
- # Output-only. The Google Compute Engine image resource used for cluster
828
+ # Output only. The Google Compute Engine image resource used for cluster
829
829
  # instances. Inferred from SoftwareConfig.image_version.
830
830
  # Corresponds to the JSON property `imageUri`
831
831
  # @return [String]
@@ -859,8 +859,8 @@ module Google
859
859
  # @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig]
860
860
  attr_accessor :managed_group_config
861
861
 
862
- # Optional. Specifies the minimum cpu platform for the Instance Group. Examples:
863
- # * https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform
862
+ # Optional. Specifies the minimum cpu platform for the Instance Group. See Cloud
863
+ # Dataproc&rarr;Minimum CPU Platform.
864
864
  # Corresponds to the JSON property `minCpuPlatform`
865
865
  # @return [String]
866
866
  attr_accessor :min_cpu_platform
@@ -926,14 +926,14 @@ module Google
926
926
  class Job
927
927
  include Google::Apis::Core::Hashable
928
928
 
929
- # Output-only. If present, the location of miscellaneous control files which may
929
+ # Output only. If present, the location of miscellaneous control files which may
930
930
  # be used as part of job setup and handling. If not present, control files may
931
931
  # be placed in the same location as driver_output_uri.
932
932
  # Corresponds to the JSON property `driverControlFilesUri`
933
933
  # @return [String]
934
934
  attr_accessor :driver_control_files_uri
935
935
 
936
- # Output-only. A URI pointing to the location of the stdout of the job's driver
936
+ # Output only. A URI pointing to the location of the stdout of the job's driver
937
937
  # program.
938
938
  # Corresponds to the JSON property `driverOutputResourceUri`
939
939
  # @return [String]
@@ -1006,12 +1006,12 @@ module Google
1006
1006
  # @return [Google::Apis::DataprocV1beta2::JobStatus]
1007
1007
  attr_accessor :status
1008
1008
 
1009
- # Output-only. The previous job status.
1009
+ # Output only. The previous job status.
1010
1010
  # Corresponds to the JSON property `statusHistory`
1011
1011
  # @return [Array<Google::Apis::DataprocV1beta2::JobStatus>]
1012
1012
  attr_accessor :status_history
1013
1013
 
1014
- # Output-only. The collection of YARN applications spun up by this job.Beta
1014
+ # Output only. The collection of YARN applications spun up by this job.Beta
1015
1015
  # Feature: This report is available for testing purposes only. It may be changed
1016
1016
  # before final release.
1017
1017
  # Corresponds to the JSON property `yarnApplications`
@@ -1051,7 +1051,7 @@ module Google
1051
1051
  # @return [String]
1052
1052
  attr_accessor :cluster_name
1053
1053
 
1054
- # Output-only. A cluster UUID generated by the Cloud Dataproc service when the
1054
+ # Output only. A cluster UUID generated by the Cloud Dataproc service when the
1055
1055
  # job is submitted.
1056
1056
  # Corresponds to the JSON property `clusterUuid`
1057
1057
  # @return [String]
@@ -1123,23 +1123,23 @@ module Google
1123
1123
  class JobStatus
1124
1124
  include Google::Apis::Core::Hashable
1125
1125
 
1126
- # Output-only. Optional job state details, such as an error description if the
1126
+ # Output only. Optional job state details, such as an error description if the
1127
1127
  # state is <code>ERROR</code>.
1128
1128
  # Corresponds to the JSON property `details`
1129
1129
  # @return [String]
1130
1130
  attr_accessor :details
1131
1131
 
1132
- # Output-only. A state message specifying the overall job state.
1132
+ # Output only. A state message specifying the overall job state.
1133
1133
  # Corresponds to the JSON property `state`
1134
1134
  # @return [String]
1135
1135
  attr_accessor :state
1136
1136
 
1137
- # Output-only. The time when this state was entered.
1137
+ # Output only. The time when this state was entered.
1138
1138
  # Corresponds to the JSON property `stateStartTime`
1139
1139
  # @return [String]
1140
1140
  attr_accessor :state_start_time
1141
1141
 
1142
- # Output-only. Additional state information, which includes status reported by
1142
+ # Output only. Additional state information, which includes status reported by
1143
1143
  # the agent.
1144
1144
  # Corresponds to the JSON property `substate`
1145
1145
  # @return [String]
@@ -1195,12 +1195,12 @@ module Google
1195
1195
  class ListClustersResponse
1196
1196
  include Google::Apis::Core::Hashable
1197
1197
 
1198
- # Output-only. The clusters in the project.
1198
+ # Output only. The clusters in the project.
1199
1199
  # Corresponds to the JSON property `clusters`
1200
1200
  # @return [Array<Google::Apis::DataprocV1beta2::Cluster>]
1201
1201
  attr_accessor :clusters
1202
1202
 
1203
- # Output-only. This token is included in the response if there are more results
1203
+ # Output only. This token is included in the response if there are more results
1204
1204
  # to fetch. To fetch additional results, provide this value as the page_token in
1205
1205
  # a subsequent <code>ListClustersRequest</code>.
1206
1206
  # Corresponds to the JSON property `nextPageToken`
@@ -1222,7 +1222,7 @@ module Google
1222
1222
  class ListJobsResponse
1223
1223
  include Google::Apis::Core::Hashable
1224
1224
 
1225
- # Output-only. Jobs list.
1225
+ # Output only. Jobs list.
1226
1226
  # Corresponds to the JSON property `jobs`
1227
1227
  # @return [Array<Google::Apis::DataprocV1beta2::Job>]
1228
1228
  attr_accessor :jobs
@@ -1358,12 +1358,12 @@ module Google
1358
1358
  class ManagedGroupConfig
1359
1359
  include Google::Apis::Core::Hashable
1360
1360
 
1361
- # Output-only. The name of the Instance Group Manager for this group.
1361
+ # Output only. The name of the Instance Group Manager for this group.
1362
1362
  # Corresponds to the JSON property `instanceGroupManagerName`
1363
1363
  # @return [String]
1364
1364
  attr_accessor :instance_group_manager_name
1365
1365
 
1366
- # Output-only. The name of the Instance Template used for the Managed Instance
1366
+ # Output only. The name of the Instance Template used for the Managed Instance
1367
1367
  # Group.
1368
1368
  # Corresponds to the JSON property `instanceTemplateName`
1369
1369
  # @return [String]
@@ -1499,7 +1499,7 @@ module Google
1499
1499
  end
1500
1500
  end
1501
1501
 
1502
- #
1502
+ # A job executed by the workflow.
1503
1503
  class OrderedJob
1504
1504
  include Google::Apis::Core::Hashable
1505
1505
 
@@ -1674,7 +1674,7 @@ module Google
1674
1674
  # ]
1675
1675
  # `
1676
1676
  # For a description of IAM and its features, see the IAM developer's guide (
1677
- # https://cloud.google.com/iam).
1677
+ # https://cloud.google.com/iam/docs).
1678
1678
  class Policy
1679
1679
  include Google::Apis::Core::Hashable
1680
1680
 
@@ -1697,7 +1697,7 @@ module Google
1697
1697
  # @return [String]
1698
1698
  attr_accessor :etag
1699
1699
 
1700
- # Version of the Policy. The default version is 0.
1700
+ # Deprecated.
1701
1701
  # Corresponds to the JSON property `version`
1702
1702
  # @return [Fixnum]
1703
1703
  attr_accessor :version
@@ -1844,7 +1844,7 @@ module Google
1844
1844
  # ]
1845
1845
  # `
1846
1846
  # For a description of IAM and its features, see the IAM developer's guide (
1847
- # https://cloud.google.com/iam).
1847
+ # https://cloud.google.com/iam/docs).
1848
1848
  # Corresponds to the JSON property `policy`
1849
1849
  # @return [Google::Apis::DataprocV1beta2::Policy]
1850
1850
  attr_accessor :policy
@@ -2176,12 +2176,12 @@ module Google
2176
2176
  # @return [String]
2177
2177
  attr_accessor :cluster_name
2178
2178
 
2179
- # Output only. The create cluster operation metadata.
2179
+ # The cluster operation triggered by a workflow.
2180
2180
  # Corresponds to the JSON property `createCluster`
2181
2181
  # @return [Google::Apis::DataprocV1beta2::ClusterOperation]
2182
2182
  attr_accessor :create_cluster
2183
2183
 
2184
- # Output only. The delete cluster operation metadata.
2184
+ # The cluster operation triggered by a workflow.
2185
2185
  # Corresponds to the JSON property `deleteCluster`
2186
2186
  # @return [Google::Apis::DataprocV1beta2::ClusterOperation]
2187
2187
  attr_accessor :delete_cluster