Interface BackupPlanDetailOrBuilder (0.58.0)

public interface BackupPlanDetailOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPlan()

public abstract String getBackupPlan()

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}

string backup_plan = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The backupPlan.

getBackupPlanBytes()

public abstract ByteString getBackupPlanBytes()

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}

string backup_plan = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for backupPlan.

getResourceType()

public abstract String getResourceType()

Required. The type of resource that this policy will automatically protect. For MVP, compute.googleapis.com/Instance and compute.googleapis.com/Disk are supported.

string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resourceType.

getResourceTypeBytes()

public abstract ByteString getResourceTypeBytes()

Required. The type of resource that this policy will automatically protect. For MVP, compute.googleapis.com/Instance and compute.googleapis.com/Disk are supported.

string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resourceType.