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}
#backup_plan_revision_id
def backup_plan_revision_id() -> ::String
-
(::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
-
(::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
- (::Google::Cloud::BackupDR::V1::CloudSqlInstanceBackupPlanAssociationProperties) — Output only. Cloud SQL instance's backup plan association properties.
#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. 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 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
-
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").
-
(::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
- (::String) — Required. Immutable. Resource type of workload on which backupplan is applied
#resource_type=
def resource_type=(value) -> ::String
- value (::String) — Required. Immutable. Resource type of workload on which backupplan is applied
- (::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>
- (::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.