Class: Google::Cloud::NetApp::V1::BackupPolicy

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

Overview

Backup Policy.

Defined Under Namespace

Modules: State Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#assigned_volume_count::Integer (readonly)

Returns Output only. The total number of volumes assigned by this backup policy.

Returns:

  • (::Integer)

    Output only. The total number of volumes assigned by this backup policy.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

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

Returns Output only. The time when the backup policy was created.

Returns:



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#daily_backup_limit::Integer

Returns Number of daily backups to keep. Note that the minimum daily backup limit is 2.

Returns:

  • (::Integer)

    Number of daily backups to keep. Note that the minimum daily backup limit is 2.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#description::String

Returns Description of the backup policy.

Returns:

  • (::String)

    Description of the backup policy.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#enabled::Boolean

Returns If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true.

Returns:

  • (::Boolean)

    If enabled, make backups automatically according to the schedules. This will be applied to all volumes that have this policy attached and enforced on volume level. If not specified, default is true.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Resource labels to represent user provided metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Resource labels to represent user provided metadata.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#monthly_backup_limit::Integer

Returns Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.

Returns:

  • (::Integer)

    Number of monthly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#name::String

Returns Identifier. The resource name of the backup policy. Format: projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}.

Returns:

  • (::String)

    Identifier. The resource name of the backup policy. Format: projects/{project_id}/locations/{location}/backupPolicies/{backup_policy_id}.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#state::Google::Cloud::NetApp::V1::BackupPolicy::State (readonly)

Returns Output only. The backup policy state.

Returns:



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end

#weekly_backup_limit::Integer

Returns Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.

Returns:

  • (::Integer)

    Number of weekly backups to keep. Note that the sum of daily, weekly and monthly backups should be greater than 1.



62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/netapp/v1/backup_policy.rb', line 62

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  module State
    # State not set.
    STATE_UNSPECIFIED = 0

    # BackupPolicy is being created.
    CREATING = 1

    # BackupPolicy is available for use.
    READY = 2

    # BackupPolicy is being deleted.
    DELETING = 3

    # BackupPolicy is not valid and cannot be used.
    ERROR = 4

    # BackupPolicy is being updated.
    UPDATING = 5
  end
end