Represents an ArtifactRegistry
Inheritance
$protobuf.rpc.Service > protos.google.devtools.artifactregistry.v1.ArtifactRegistryPackage
@google-cloud/artifact-registryConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ArtifactRegistry service.
Name | Description |
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
getRepository(request)
public getRepository(request: google.devtools.artifactregistry.v1.IGetRepositoryRequest): Promise<google.devtools.artifactregistry.v1.Repository>;
Calls GetRepository.
Name | Description |
request |
IGetRepositoryRequest
GetRepositoryRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
listDockerImages(request)
public listDockerImages(request: google.devtools.artifactregistry.v1.IListDockerImagesRequest): Promise<google.devtools.artifactregistry.v1.ListDockerImagesResponse>;
Calls ListDockerImages.
Name | Description |
request |
IListDockerImagesRequest
ListDockerImagesRequest message or plain object |
Type | Description |
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.
Name | 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 |
Type | Description |
void |
listRepositories(request)
public listRepositories(request: google.devtools.artifactregistry.v1.IListRepositoriesRequest): Promise<google.devtools.artifactregistry.v1.ListRepositoriesResponse>;
Calls ListRepositories.
Name | Description |
request |
google.devtools.artifactregistry.v1.IListRepositoriesRequest
ListRepositoriesRequest message or plain object |
Type | Description |
Promise<google.devtools.artifactregistry.v1.ListRepositoriesResponse> | Promise |