Class: Google::Apis::CloudtasksV2beta2::AttemptStatus
- Inherits:
-
Object
- Object
- Google::Apis::CloudtasksV2beta2::AttemptStatus
- Defined in:
- generated/google/apis/cloudtasks_v2beta2/classes.rb,
generated/google/apis/cloudtasks_v2beta2/representations.rb,
generated/google/apis/cloudtasks_v2beta2/representations.rb
Overview
The status of a task attempt.
Instance Attribute Summary collapse
-
#dispatch_time ⇒ String
Output only.
-
#response_status ⇒ Google::Apis::CloudtasksV2beta2::Status
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#response_time ⇒ String
Output only.
-
#schedule_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AttemptStatus
constructor
A new instance of AttemptStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AttemptStatus
Returns a new instance of AttemptStatus
427 428 429 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 427 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dispatch_time ⇒ String
Output only. The time that this attempt was dispatched.
dispatch_time
will be truncated to the nearest microsecond.
Corresponds to the JSON property dispatchTime
403 404 405 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 403 def dispatch_time @dispatch_time end |
#response_status ⇒ Google::Apis::CloudtasksV2beta2::Status
The Status
type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by gRPC. Each Status
message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the
API Design Guide.
Corresponds to the JSON property responseStatus
413 414 415 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 413 def response_status @response_status end |
#response_time ⇒ String
Output only. The time that this attempt response was received.
response_time
will be truncated to the nearest microsecond.
Corresponds to the JSON property responseTime
419 420 421 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 419 def response_time @response_time end |
#schedule_time ⇒ String
Output only. The time that this attempt was scheduled.
schedule_time
will be truncated to the nearest microsecond.
Corresponds to the JSON property scheduleTime
425 426 427 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 425 def schedule_time @schedule_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
432 433 434 435 436 437 |
# File 'generated/google/apis/cloudtasks_v2beta2/classes.rb', line 432 def update!(**args) @dispatch_time = args[:dispatch_time] if args.key?(:dispatch_time) @response_status = args[:response_status] if args.key?(:response_status) @response_time = args[:response_time] if args.key?(:response_time) @schedule_time = args[:schedule_time] if args.key?(:schedule_time) end |