Class protos.google.devtools.artifactregistry.v1.ArtifactRegistry

Represents an ArtifactRegistry

Inheritance

$protobuf.rpc.Service > protos.google.devtools.artifactregistry.v1.ArtifactRegistry

Package

@google-cloud/artifact-registry

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new ArtifactRegistry service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ArtifactRegistry;

Creates new ArtifactRegistry service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
ArtifactRegistry

RPC service. Useful where requests and/or responses are streamed.

getRepository(request, callback)

public getRepository(request: google.devtools.artifactregistry.v1.IGetRepositoryRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetRepositoryCallback): void;

Calls GetRepository.

Parameters
NameDescription
request IGetRepositoryRequest

GetRepositoryRequest message or plain object

callback google.devtools.artifactregistry.v1.ArtifactRegistry.GetRepositoryCallback

Node-style callback called with the error, if any, and Repository

Returns
TypeDescription
void

getRepository(request)

public getRepository(request: google.devtools.artifactregistry.v1.IGetRepositoryRequest): Promise<google.devtools.artifactregistry.v1.Repository>;

Calls GetRepository.

Parameter
NameDescription
request IGetRepositoryRequest

GetRepositoryRequest message or plain object

Returns
TypeDescription
Promise<google.devtools.artifactregistry.v1.Repository>

Promise

listDockerImages(request, callback)

public listDockerImages(request: google.devtools.artifactregistry.v1.IListDockerImagesRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListDockerImagesCallback): void;

Calls ListDockerImages.

Parameters
NameDescription
request IListDockerImagesRequest

ListDockerImagesRequest message or plain object

callback google.devtools.artifactregistry.v1.ArtifactRegistry.ListDockerImagesCallback

Node-style callback called with the error, if any, and ListDockerImagesResponse

Returns
TypeDescription
void

listDockerImages(request)

public listDockerImages(request: google.devtools.artifactregistry.v1.IListDockerImagesRequest): Promise<google.devtools.artifactregistry.v1.ListDockerImagesResponse>;

Calls ListDockerImages.

Parameter
NameDescription
request IListDockerImagesRequest

ListDockerImagesRequest message or plain object

Returns
TypeDescription
Promise<google.devtools.artifactregistry.v1.ListDockerImagesResponse>

Promise

listRepositories(request, callback)

public listRepositories(request: google.devtools.artifactregistry.v1.IListRepositoriesRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListRepositoriesCallback): void;

Calls ListRepositories.

Parameters
NameDescription
request google.devtools.artifactregistry.v1.IListRepositoriesRequest

ListRepositoriesRequest message or plain object

callback google.devtools.artifactregistry.v1.ArtifactRegistry.ListRepositoriesCallback

Node-style callback called with the error, if any, and ListRepositoriesResponse

Returns
TypeDescription
void

listRepositories(request)

public listRepositories(request: google.devtools.artifactregistry.v1.IListRepositoriesRequest): Promise<google.devtools.artifactregistry.v1.ListRepositoriesResponse>;

Calls ListRepositories.

Parameter
NameDescription
request google.devtools.artifactregistry.v1.IListRepositoriesRequest

ListRepositoriesRequest message or plain object

Returns
TypeDescription
Promise<google.devtools.artifactregistry.v1.ListRepositoriesResponse>

Promise