Reference documentation and code samples for the Backup and DR Service V1BETA API class Google::Cloud::BackupDR::V1beta::BackupPlanDetail.
BackupPlanDetail defines configuration of protection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_plan
def backup_plan() -> ::String
Returns
- (::String) — Required. The resource name of the BackupPlan to apply to resources that match the policy's criteria. This backup plan must be in the same location as AutoProtectionPolicy. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
#backup_plan=
def backup_plan=(value) -> ::String
Parameter
- value (::String) — Required. The resource name of the BackupPlan to apply to resources that match the policy's criteria. This backup plan must be in the same location as AutoProtectionPolicy. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
Returns
- (::String) — Required. The resource name of the BackupPlan to apply to resources that match the policy's criteria. This backup plan must be in the same location as AutoProtectionPolicy. Format: projects/{project}/locations/{location}/backupPlans/{backupPlanId}
#resource_type
def resource_type() -> ::String
Returns
-
(::String) — Required. The type of resource that this policy will automatically protect.
For MVP,
compute.googleapis.com/Instanceandcompute.googleapis.com/Diskare supported.
#resource_type=
def resource_type=(value) -> ::String
Parameter
-
value (::String) — Required. The type of resource that this policy will automatically protect.
For MVP,
compute.googleapis.com/Instanceandcompute.googleapis.com/Diskare supported.
Returns
-
(::String) — Required. The type of resource that this policy will automatically protect.
For MVP,
compute.googleapis.com/Instanceandcompute.googleapis.com/Diskare supported.