Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::BackupPlanAssociation (v1.2.0)

Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::BackupPlanAssociation.

A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#backup_plan

def backup_plan() -> ::String
Returns
  • (::String) — Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}

#backup_plan=

def backup_plan=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
Returns
  • (::String) — Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}

#backup_plan_revision_id

def backup_plan_revision_id() -> ::String
Returns
  • (::String) — Output only. The user friendly revision ID of the BackupPlanRevision.

    Example: v0, v1, v2, etc.

#backup_plan_revision_name

def backup_plan_revision_name() -> ::String
Returns
  • (::String) — Output only. The resource id of the BackupPlanRevision.

    Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}

#cloud_sql_instance_backup_plan_association_properties

def cloud_sql_instance_backup_plan_association_properties() -> ::Google::Cloud::BackupDR::V1::CloudSqlInstanceBackupPlanAssociationProperties
Returns

#create_time

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

#data_source

def data_source() -> ::String
Returns
  • (::String) — Output only. Resource name of data source which will be used as storage location for backups taken. Format : projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}

#name

def name() -> ::String
Returns
  • (::String) — Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

#resource

def resource() -> ::String
Returns
  • (::String) — Required. Immutable. Resource name of workload on which the backup plan is applied.

    The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance").

#resource=

def resource=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. Resource name of workload on which the backup plan is applied.

    The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance").

Returns
  • (::String) — Required. Immutable. Resource name of workload on which the backup plan is applied.

    The format can either be the resource name (e.g., "projects/my-project/zones/us-central1-a/instances/my-instance") or the full resource URI (e.g., "https://www.googleapis.com/compute/v1/projects/my-project/zones/us-central1-a/instances/my-instance").

#resource_type

def resource_type() -> ::String
Returns
  • (::String) — Required. Immutable. Resource type of workload on which backupplan is applied

#resource_type=

def resource_type=(value) -> ::String
Parameter
  • value (::String) — Required. Immutable. Resource type of workload on which backupplan is applied
Returns
  • (::String) — Required. Immutable. Resource type of workload on which backupplan is applied

#rules_config_info

def rules_config_info() -> ::Array<::Google::Cloud::BackupDR::V1::RuleConfigInfo>
Returns

#state

def state() -> ::Google::Cloud::BackupDR::V1::BackupPlanAssociation::State
Returns

#update_time

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