Class: Google::Cloud::ArtifactRegistry::V1beta2::File
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1beta2::File
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1beta2/file.rb
Overview
Files store content that is potentially associated with Packages or Versions.
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
The time when the File was created.
-
#hashes ⇒ ::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Hash>
The hashes of the file content.
-
#name ⇒ ::String
The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
-
#owner ⇒ ::String
The name of the Package or Version that owns this file, if any.
-
#size_bytes ⇒ ::Integer
The size of the File in bytes.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
The time when the File was last updated.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the File was created.
69 70 71 72 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/file.rb', line 69 class File include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#hashes ⇒ ::Array<::Google::Cloud::ArtifactRegistry::V1beta2::Hash>
Returns The hashes of the file content.
69 70 71 72 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/file.rb', line 69 class File include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of the file, for example: "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt". If the file ID part contains slashes, they are escaped.
69 70 71 72 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/file.rb', line 69 class File include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#owner ⇒ ::String
Returns The name of the Package or Version that owns this file, if any.
69 70 71 72 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/file.rb', line 69 class File include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |