Class: Google::Cloud::BareMetalSolution::V2::VolumeSnapshot
- Inherits:
-
Object
- Object
- Google::Cloud::BareMetalSolution::V2::VolumeSnapshot
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb
Overview
A snapshot of a volume. Only boot volumes can have snapshots.
Defined Under Namespace
Modules: SnapshotType
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
The description of the snapshot.
-
#id ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
The name of the snapshot.
-
#storage_volume ⇒ ::String
readonly
Output only.
-
#type ⇒ ::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot::SnapshotType
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The creation time of the snapshot.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb', line 44 class VolumeSnapshot include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the type of a snapshot. module SnapshotType # Type is not specified. SNAPSHOT_TYPE_UNSPECIFIED = 0 # Snapshot was taken manually by user. AD_HOC = 1 # Snapshot was taken automatically as a part of a snapshot schedule. SCHEDULED = 2 end end |
#description ⇒ ::String
Returns The description of the snapshot.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb', line 44 class VolumeSnapshot include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the type of a snapshot. module SnapshotType # Type is not specified. SNAPSHOT_TYPE_UNSPECIFIED = 0 # Snapshot was taken manually by user. AD_HOC = 1 # Snapshot was taken automatically as a part of a snapshot schedule. SCHEDULED = 2 end end |
#id ⇒ ::String (readonly)
Returns Output only. An identifier for the snapshot, generated by the backend.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb', line 44 class VolumeSnapshot include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the type of a snapshot. module SnapshotType # Type is not specified. SNAPSHOT_TYPE_UNSPECIFIED = 0 # Snapshot was taken manually by user. AD_HOC = 1 # Snapshot was taken automatically as a part of a snapshot schedule. SCHEDULED = 2 end end |
#name ⇒ ::String
Returns The name of the snapshot.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb', line 44 class VolumeSnapshot include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the type of a snapshot. module SnapshotType # Type is not specified. SNAPSHOT_TYPE_UNSPECIFIED = 0 # Snapshot was taken manually by user. AD_HOC = 1 # Snapshot was taken automatically as a part of a snapshot schedule. SCHEDULED = 2 end end |
#storage_volume ⇒ ::String (readonly)
Returns Output only. The name of the volume which this snapshot belongs to.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb', line 44 class VolumeSnapshot include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the type of a snapshot. module SnapshotType # Type is not specified. SNAPSHOT_TYPE_UNSPECIFIED = 0 # Snapshot was taken manually by user. AD_HOC = 1 # Snapshot was taken automatically as a part of a snapshot schedule. SCHEDULED = 2 end end |
#type ⇒ ::Google::Cloud::BareMetalSolution::V2::VolumeSnapshot::SnapshotType (readonly)
Returns Output only. The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/volume_snapshot.rb', line 44 class VolumeSnapshot include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Represents the type of a snapshot. module SnapshotType # Type is not specified. SNAPSHOT_TYPE_UNSPECIFIED = 0 # Snapshot was taken manually by user. AD_HOC = 1 # Snapshot was taken automatically as a part of a snapshot schedule. SCHEDULED = 2 end end |