Class: Google::Cloud::ArtifactRegistry::V1::File

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/file.rb

Overview

Files store content that is potentially associated with Packages or Versions.

Instance Attribute Summary collapse

Instance Attribute Details

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

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

Returns:



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

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

Returns Output only. The time when the last attempt to refresh the file's data was made. Only set when the repository is remote.

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The time when the last attempt to refresh the file's data was made. Only set when the repository is remote.



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#hashes::Array<::Google::Cloud::ArtifactRegistry::V1::Hash>

Returns The hashes of the file content.

Returns:



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

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.

Returns:

  • (::String)

    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.



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

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.

Returns:

  • (::String)

    The name of the Package or Version that owns this file, if any.



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#size_bytes::Integer

Returns The size of the File in bytes.

Returns:

  • (::Integer)

    The size of the File in bytes.



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

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

Returns Output only. The time when the File was last updated.

Returns:



73
74
75
76
# File 'proto_docs/google/devtools/artifactregistry/v1/file.rb', line 73

class File
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end