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
- (::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
- value (::String) — Required. Resource name of backup plan which needs to be applied on workload. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
- (::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
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was created.
#data_source
def data_source() -> ::String
-
(::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
- (::String) — Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}
#resource
def resource() -> ::String
- (::String) — Required. Immutable. Resource name of workload on which backupplan is applied
#resource=
def resource=(value) -> ::String
- value (::String) — Required. Immutable. Resource name of workload on which backupplan is applied
- (::String) — Required. Immutable. Resource name of workload on which backupplan is applied
#resource_type
def resource_type() -> ::String
- (::String) — Optional. Resource type of workload on which backupplan is applied
#resource_type=
def resource_type=(value) -> ::String
- value (::String) — Optional. Resource type of workload on which backupplan is applied
- (::String) — Optional. Resource type of workload on which backupplan is applied
#rules_config_info
def rules_config_info() -> ::Array<::Google::Cloud::BackupDR::V1::RuleConfigInfo>
- (::Array<::Google::Cloud::BackupDR::V1::RuleConfigInfo>) — Output only. The config info related to backup rules.
#state
def state() -> ::Google::Cloud::BackupDR::V1::BackupPlanAssociation::State
- (::Google::Cloud::BackupDR::V1::BackupPlanAssociation::State) — Output only. The BackupPlanAssociation resource state.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was updated.