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.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 461 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.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 461 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.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 461 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.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 461 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}
.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 461 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.
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 461 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 |