ArtifactRegistry

google.devtools.artifactregistry.v1. ArtifactRegistry

Represents an ArtifactRegistry

Constructor

new ArtifactRegistry(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new ArtifactRegistry service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {ArtifactRegistry}

Creates new ArtifactRegistry service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
ArtifactRegistry

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

getRepository(request, callback) → {undefined}

Calls GetRepository.

Parameters:
Name Type Description
request google.devtools.artifactregistry.v1.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:
Type Description
undefined

getRepository(request) → {Promise.<google.devtools.artifactregistry.v1.Repository>}

Calls GetRepository.

Parameters:
Name Type Description
request google.devtools.artifactregistry.v1.IGetRepositoryRequest

GetRepositoryRequest message or plain object

Returns:
Type Description
Promise.<google.devtools.artifactregistry.v1.Repository>

Promise

listDockerImages(request, callback) → {undefined}

Calls ListDockerImages.

Parameters:
Name Type Description
request google.devtools.artifactregistry.v1.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:
Type Description
undefined

listDockerImages(request) → {Promise.<google.devtools.artifactregistry.v1.ListDockerImagesResponse>}

Calls ListDockerImages.

Parameters:
Name Type Description
request google.devtools.artifactregistry.v1.IListDockerImagesRequest

ListDockerImagesRequest message or plain object

Returns:
Type Description
Promise.<google.devtools.artifactregistry.v1.ListDockerImagesResponse>

Promise

listRepositories(request, callback) → {undefined}

Calls ListRepositories.

Parameters:
Name Type Description
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:
Type Description
undefined

listRepositories(request) → {Promise.<google.devtools.artifactregistry.v1.ListRepositoriesResponse>}

Calls ListRepositories.

Parameters:
Name Type Description
request google.devtools.artifactregistry.v1.IListRepositoriesRequest

ListRepositoriesRequest message or plain object

Returns:
Type Description
Promise.<google.devtools.artifactregistry.v1.ListRepositoriesResponse>

Promise

Type Definitions

GetRepositoryCallback(error, responseopt)

Callback as used by google.devtools.artifactregistry.v1.ArtifactRegistry#getRepository.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.devtools.artifactregistry.v1.Repository <optional>

Repository

ListDockerImagesCallback(error, responseopt)

Callback as used by google.devtools.artifactregistry.v1.ArtifactRegistry#listDockerImages.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.devtools.artifactregistry.v1.ListDockerImagesResponse <optional>

ListDockerImagesResponse

ListRepositoriesCallback(error, responseopt)

Callback as used by google.devtools.artifactregistry.v1.ArtifactRegistry#listRepositories.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.devtools.artifactregistry.v1.ListRepositoriesResponse <optional>

ListRepositoriesResponse