# Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::BackupRunInfo (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::BackupRunInfo.

Metadata about latest backup run state for a database resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #end_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Protobuf-Timestamp)) --- The time the backup operation completed.

### #end_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Protobuf-Timestamp)) --- The time the backup operation completed.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Protobuf-Timestamp)) --- The time the backup operation completed.

### #error_message

    def error_message() -> ::String

**Returns**

- (::String) --- Additional information about the error encountered.

### #error_message=

    def error_message=(value) -> ::String

**Parameter**

- **value** (::String) --- Additional information about the error encountered.
**Returns**

- (::String) --- Additional information about the error encountered.

### #operation_error_type

    def operation_error_type() -> ::Google::Cloud::DatabaseCenter::V1beta::OperationErrorType

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::OperationErrorType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-OperationErrorType)) --- Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.

### #operation_error_type=

    def operation_error_type=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::OperationErrorType

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::OperationErrorType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-OperationErrorType)) --- Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::OperationErrorType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-OperationErrorType)) --- Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.

### #start_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Protobuf-Timestamp)) --- The time the backup operation started.

### #start_time=

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

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Protobuf-Timestamp)) --- The time the backup operation started.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Protobuf-Timestamp)) --- The time the backup operation started.

### #state

    def state() -> ::Google::Cloud::DatabaseCenter::V1beta::BackupRunInfo::State

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::BackupRunInfo::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-BackupRunInfo-State)) --- Output only. The state of this run.

### #sub_resource

    def sub_resource() -> ::Google::Cloud::DatabaseCenter::V1beta::SubResource

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::SubResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-SubResource)) --- Optional. Sub resource details associated with the backup run.

### #sub_resource=

    def sub_resource=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::SubResource

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::SubResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-SubResource)) --- Optional. Sub resource details associated with the backup run.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::SubResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-SubResource)) --- Optional. Sub resource details associated with the backup run.