Class: Google::Cloud::Filestore::V1::Snapshot

Inherits:
Object
  • Object
show all
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, TagsEntry

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Output only. The time when the snapshot was created.

Returns:



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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.

Returns:

  • (::String)

    A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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.

Returns:

  • (::Integer)

    Output only. The amount of bytes needed to allocate a full copy of the snapshot content



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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.

Returns:

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

    Resource labels to represent user provided metadata.



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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}.

Returns:

  • (::String)

    Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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.

Returns:



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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

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

Returns Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information:

Returns:



731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'proto_docs/google/cloud/filestore/v1/cloud_filestore_service.rb', line 731

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class TagsEntry
    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