Class: Google::Cloud::Filestore::V1::Snapshot
- Inherits:
-
Object
- Object
- Google::Cloud::Filestore::V1::Snapshot
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb
Overview
A Filestore snapshot.
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.
-
#filesystem_used_bytes ⇒ ::Integer
readonly
Output only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Resource labels to represent user provided metadata.
-
#name ⇒ ::String
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Filestore::V1::Snapshot::State
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time when the snapshot was created.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 495 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 state. module State # State not set. STATE_UNSPECIFIED = 0 # Snapshot is being created. CREATING = 1 # Snapshot is available for use. READY = 2 # Snapshot is being deleted. DELETING = 3 end end |
#description ⇒ ::String
Returns A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 495 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 state. module State # State not set. STATE_UNSPECIFIED = 0 # Snapshot is being created. CREATING = 1 # Snapshot is available for use. READY = 2 # Snapshot is being deleted. DELETING = 3 end end |
#filesystem_used_bytes ⇒ ::Integer (readonly)
Returns Output only. The amount of bytes needed to allocate a full copy of the snapshot content.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 495 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 state. module State # State not set. STATE_UNSPECIFIED = 0 # Snapshot is being created. CREATING = 1 # Snapshot is available for use. READY = 2 # Snapshot is being deleted. DELETING = 3 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Resource labels to represent user provided metadata.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 495 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 state. module State # State not set. STATE_UNSPECIFIED = 0 # Snapshot is being created. CREATING = 1 # Snapshot is available for use. READY = 2 # Snapshot is being deleted. DELETING = 3 end end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of the snapshot, in the format
projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}
.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 495 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 state. module State # State not set. STATE_UNSPECIFIED = 0 # Snapshot is being created. CREATING = 1 # Snapshot is available for use. READY = 2 # Snapshot is being deleted. DELETING = 3 end end |
#state ⇒ ::Google::Cloud::Filestore::V1::Snapshot::State (readonly)
Returns Output only. The snapshot state.
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 495 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 state. module State # State not set. STATE_UNSPECIFIED = 0 # Snapshot is being created. CREATING = 1 # Snapshot is available for use. READY = 2 # Snapshot is being deleted. DELETING = 3 end end |