# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::BackupPlanBinding (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::BackupPlanBinding.

A BackupPlanBinding binds a BackupPlan with a BackupChannel.
This resource is created automatically when a BackupPlan is created using a
BackupChannel. This also serves as a holder for cross-project fields
that need to be displayed in the current project.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_plan

    def backup_plan() -> ::String

**Returns**

- (::String) --- Output only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. `projects/*/locations/*/backupPlans/{backup_plan}`

### #backup_plan_details

    def backup_plan_details() -> ::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails

**Returns**

- ([::Google::Cloud::GkeBackup::V1::BackupPlanBinding::BackupPlanDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-BackupPlanBinding-BackupPlanDetails)) --- Output only. Contains details about the backup plan/backup.

### #cluster

    def cluster() -> ::String

**Returns**

- (::String) --- Output only. Immutable. The fully qualified name of the cluster that is
  being backed up Valid formats:

  - `projects/*/locations/*/clusters/*`
  - `projects/*/zones/*/clusters/*`

### #create_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when this binding was created.

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- Output only. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An `etag` is returned in the response to `GetBackupPlanBinding`, and systems are expected to put that etag in the request to `UpdateBackupPlanBinding` or `DeleteBackupPlanBinding` to ensure that their change will be applied to the same version of the resource.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The fully qualified name of the BackupPlanBinding. `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The fully qualified name of the BackupPlanBinding. `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`
**Returns**

- (::String) --- Identifier. The fully qualified name of the BackupPlanBinding. `projects/*/locations/*/backupChannels/*/backupPlanBindings/*`

### #uid

    def uid() -> ::String

**Returns**

- (::String) --- Output only. Server generated global unique identifier of [UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)

### #update_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The timestamp when this binding was created.