Backup and DR Service V1 API - Class Google::Cloud::BackupDR::V1::BackupPlanAssociation (v0.3.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}

#create_time

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

#data_source

def data_source() -> ::String
Returns
  • (::String) — Output only. 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 backupplan is applied

#resource=

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

#resource_type

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

#resource_type=

def resource_type=(value) -> ::String
Parameter
  • value (::String) — Optional. Resource type of workload on which backupplan is applied
Returns
  • (::String) — Optional. 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