Represents a ListFilesRequest.
Package
@google-cloud/artifact-registryConstructors
(constructor)(properties)
constructor(properties?: google.devtools.artifactregistry.v1.IListFilesRequest);Constructs a new ListFilesRequest.
| Name | Description |
properties |
google.devtools.artifactregistry.v1.IListFilesRequest
Properties to set |
Properties
filter
public filter: string;ListFilesRequest filter.
orderBy
public orderBy: string;ListFilesRequest orderBy.
pageSize
public pageSize: number;ListFilesRequest pageSize.
pageToken
public pageToken: string;ListFilesRequest pageToken.
parent
public parent: string;ListFilesRequest parent.
Methods
create(properties)
public static create(properties?: google.devtools.artifactregistry.v1.IListFilesRequest): google.devtools.artifactregistry.v1.ListFilesRequest;Creates a new ListFilesRequest instance using the specified properties.
| Name | Description |
properties |
google.devtools.artifactregistry.v1.IListFilesRequest
Properties to set |
| Type | Description |
google.devtools.artifactregistry.v1.ListFilesRequest |
ListFilesRequest instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.devtools.artifactregistry.v1.ListFilesRequest;Decodes a ListFilesRequest message from the specified reader or buffer.
| Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Type | Description |
google.devtools.artifactregistry.v1.ListFilesRequest |
ListFilesRequest |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.devtools.artifactregistry.v1.ListFilesRequest;Decodes a ListFilesRequest message from the specified reader or buffer, length delimited.
| Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
| Type | Description |
google.devtools.artifactregistry.v1.ListFilesRequest |
ListFilesRequest |
encode(message, writer)
public static encode(message: google.devtools.artifactregistry.v1.IListFilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ListFilesRequest message. Does not implicitly messages.
| Name | Description |
message |
google.devtools.artifactregistry.v1.IListFilesRequest
ListFilesRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.devtools.artifactregistry.v1.IListFilesRequest, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified ListFilesRequest message, length delimited. Does not implicitly messages.
| Name | Description |
message |
google.devtools.artifactregistry.v1.IListFilesRequest
ListFilesRequest message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.devtools.artifactregistry.v1.ListFilesRequest;Creates a ListFilesRequest message from a plain object. Also converts values to their respective internal types.
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Type | Description |
google.devtools.artifactregistry.v1.ListFilesRequest |
ListFilesRequest |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for ListFilesRequest
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this ListFilesRequest to JSON.
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.devtools.artifactregistry.v1.ListFilesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from a ListFilesRequest message. Also converts values to other types if specified.
| Name | Description |
message |
google.devtools.artifactregistry.v1.ListFilesRequest
ListFilesRequest |
options |
$protobuf.IConversionOptions
Conversion options |
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies a ListFilesRequest message.
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Type | Description |
(string|null) |
|