NAME
Google::Devtools::Artifactregistry::V1beta2::File - Compiled Protocol Buffers messages for google/devtools/artifactregistry/v1beta2/file.proto
SYNOPSIS
use Google::Devtools::Artifactregistry::V1beta2::File;
my $msg = Google::Devtools::Artifactregistry::V1beta2::File::Hash->new({
type => $type,
value => $value,
});
# Read or update a field
my $val = $msg->type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Devtools::Artifactregistry::V1beta2::File::Hash->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/devtools/artifactregistry/v1beta2/file.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Devtools::Artifactregistry::V1beta2::File::Hash
A hash of file content.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Devtools::Artifactregistry::V1beta2::Hash::HashType)The algorithm used to compute the hash value.
$msg->value()/$msg->value($value)Type:
BytesThe hash value.
Enum: Hash::HashType
HASH_TYPE_UNSPECIFIED=>0SHA256=>1MD5=>2
Google::Devtools::Artifactregistry::V1beta2::File::File
Files store content that is potentially associated with Packages or Versions.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe 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.
$msg->size_bytes()/$msg->size_bytes($value)Type:
Int64The size of the File in bytes.
$msg->hashes()/$msg->hashes($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::File::Hash)The hashes of the file content.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the File was created.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time when the File was last updated.
$msg->owner()/$msg->owner($value)Type:
StringThe name of the Package or Version that owns this file, if any.
Google::Devtools::Artifactregistry::V1beta2::File::ListFilesRequest
The request to list files.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
$msg->filter()/$msg->filter($value)Type:
StringAn expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
* `name` * `owner` An example of using a filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of files to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value returned from a previous list request, if any.
Google::Devtools::Artifactregistry::V1beta2::File::ListFilesResponse
The response from listing files.
Inherits from Protobuf::Message.
Accessors
$msg->files()/$msg->files($value)Type:
Message(Google::Devtools::Artifactregistry::V1beta2::File::File)The files returned.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to retrieve the next page of files, or empty if there are no more files to return.
Google::Devtools::Artifactregistry::V1beta2::File::GetFileRequest
The request to retrieve a file.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the file to retrieve.
SEE ALSO
Protobuf, Protobuf::Message, Google::Devtools::Artifactregistry::V1beta2::File::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.