Class: Google::Cloud::NetApp::V1::Snapshot
- Inherits:
-
Object
- Object
- Google::Cloud::NetApp::V1::Snapshot
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/netapp/v1/snapshot.rb
Overview
Snapshot is a point-in-time version of a Volume's content.
Defined Under Namespace
Modules: State Classes: LabelsEntry
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
A description of the snapshot with 2048 characters or less.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Resource labels to represent user provided metadata.
-
#name ⇒ ::String
Identifier.
-
#state ⇒ ::Google::Cloud::NetApp::V1::Snapshot::State
readonly
Output only.
-
#state_details ⇒ ::String
readonly
Output only.
-
#used_bytes ⇒ ::Float
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the snapshot was created.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |
#description ⇒ ::String
Returns A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Resource labels to represent user provided metadata.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |
#name ⇒ ::String
Returns Identifier. The resource name of the snapshot.
Format:
projects/{project_id}/locations/{location}/volumes/{volume_id}/snapshots/{snapshot_id}
.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |
#state ⇒ ::Google::Cloud::NetApp::V1::Snapshot::State (readonly)
Returns Output only. The snapshot state.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |
#state_details ⇒ ::String (readonly)
Returns Output only. State details of the storage pool.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |
#used_bytes ⇒ ::Float (readonly)
Returns Output only. Current storage usage for the snapshot in bytes.
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'proto_docs/google/cloud/netapp/v1/snapshot.rb', line 141 class Snapshot 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 # The Snapshot States module State # Unspecified Snapshot State STATE_UNSPECIFIED = 0 # Snapshot State is Ready READY = 1 # Snapshot State is Creating CREATING = 2 # Snapshot State is Deleting DELETING = 3 # Snapshot State is Updating UPDATING = 4 # Snapshot State is Disabled DISABLED = 5 # Snapshot State is Error ERROR = 6 end end |