Class: Google::Cloud::BackupDR::V1::BackupPlanAssociation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb

Overview

A BackupPlanAssociation represents a single BackupPlanAssociation which contains details like workload, backup plan etc

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#backup_plan::String

Returns 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}



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#backup_plan_revision_id::String (readonly)

Returns Output only. The user friendly revision ID of the BackupPlanRevision.

Example: v0, v1, v2, etc.

Returns:

  • (::String)

    Output only. The user friendly revision ID of the BackupPlanRevision.

    Example: v0, v1, v2, etc.



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#backup_plan_revision_name::String (readonly)

Returns Output only. The resource id of the BackupPlanRevision.

Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}.

Returns:

  • (::String)

    Output only. The resource id of the BackupPlanRevision.

    Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/revisions/{revision_id}



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#cloud_sql_instance_backup_plan_association_properties::Google::Cloud::BackupDR::V1::CloudSqlInstanceBackupPlanAssociationProperties (readonly)

Returns Output only. Cloud SQL instance's backup plan association properties.

Returns:



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the instance was created.

Returns:



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#data_source::String (readonly)

Returns 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}.

Returns:

  • (::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}



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#name::String (readonly)

Returns Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}.

Returns:

  • (::String)

    Output only. Identifier. The resource name of BackupPlanAssociation in below format Format : projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#resource::String

Returns 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").

Returns:



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#resource_type::String

Returns Required. Immutable. Resource type of workload on which backupplan is applied.

Returns:

  • (::String)

    Required. Immutable. Resource type of workload on which backupplan is applied



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#rules_config_info::Array<::Google::Cloud::BackupDR::V1::RuleConfigInfo> (readonly)

Returns Output only. The config info related to backup rules.

Returns:



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#state::Google::Cloud::BackupDR::V1::BackupPlanAssociation::State (readonly)

Returns Output only. The BackupPlanAssociation resource state.

Returns:



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The time when the instance was updated.

Returns:



80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# File 'proto_docs/google/cloud/backupdr/v1/backupplanassociation.rb', line 80

class BackupPlanAssociation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Enum for State of BackupPlan Association
  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # The resource is being created.
    CREATING = 1

    # The resource has been created and is fully usable.
    ACTIVE = 2

    # The resource is being deleted.
    DELETING = 3

    # The resource has been created but is not usable.
    INACTIVE = 4

    # The resource is being updated.
    UPDATING = 5
  end
end