# Cloud Tasks V2beta2 API - Class Google::Cloud::Tasks::V2beta2::AttemptStatus (v0.18.0)

0.18.0 (latest) 0.17.0 0.16.1 0.15.0 0.14.1 0.13.0 0.12.1 0.11.3 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Tasks V2beta2 API class Google::Cloud::Tasks::V2beta2::AttemptStatus.

The status of a task attempt.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dispatch_time

    def dispatch_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt was dispatched.


  `dispatch_time` will be truncated to the nearest microsecond.

### #dispatch_time=

    def dispatch_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt was dispatched.


  `dispatch_time` will be truncated to the nearest microsecond.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt was dispatched.


  `dispatch_time` will be truncated to the nearest microsecond.

### #response_status

    def response_status() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Rpc-Status)) --- Output only. The response from the target for this attempt.


  If the task has not been attempted or the task is currently running
  then the response status is unset.

### #response_status=

    def response_status=(value) -> ::Google::Rpc::Status

**Parameter**

- **value** ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Rpc-Status)) --- Output only. The response from the target for this attempt.


  If the task has not been attempted or the task is currently running
  then the response status is unset.
**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Rpc-Status)) --- Output only. The response from the target for this attempt.


  If the task has not been attempted or the task is currently running
  then the response status is unset.

### #response_time

    def response_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt response was received.


  `response_time` will be truncated to the nearest microsecond.

### #response_time=

    def response_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt response was received.


  `response_time` will be truncated to the nearest microsecond.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt response was received.


  `response_time` will be truncated to the nearest microsecond.

### #schedule_time

    def schedule_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt was scheduled.


  `schedule_time` will be truncated to the nearest microsecond.

### #schedule_time=

    def schedule_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt was scheduled.


  `schedule_time` will be truncated to the nearest microsecond.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta2/latest/Google-Protobuf-Timestamp)) --- Output only. The time that this attempt was scheduled.


  `schedule_time` will be truncated to the nearest microsecond.