Batch V1 API - Class Google::Cloud::Batch::V1::Task (v0.1.0)

Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::Task.

A Cloud Batch task.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

  def 
  
 name 
 () 
  
 - 
>  
 :: 
 String 
 
Returns
  • (::String) — Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".

#name=

  def 
  
 name= 
 ( 
 value 
 ) 
  
 - 
>  
 :: 
 String 
 
Parameter
  • value(::String) — Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".
Returns
  • (::String) — Task name. The name is generated from the parent TaskGroup name and 'id' field. For example: "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01".

#status

  def 
  
 status 
 () 
  
 - 
>  
 :: 
 Google 
 :: 
 Cloud 
 :: 
 Batch 
 :: 
 V1 
 :: 
 TaskStatus 
 
Returns

#status=

  def 
  
 status= 
 ( 
 value 
 ) 
  
 - 
>  
 :: 
 Google 
 :: 
 Cloud 
 :: 
 Batch 
 :: 
 V1 
 :: 
 TaskStatus 
 
Parameter
Returns
Design a Mobile Site
View Site in Mobile | Classic
Share by: