Class protos.google.devtools.artifactregistry.v1.ArtifactRegistry (3.1.1)

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

batchDeleteVersions(request, callback)

public batchDeleteVersions(request: google.devtools.artifactregistry.v1.IBatchDeleteVersionsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.BatchDeleteVersionsCallback): void;

Calls BatchDeleteVersions.

Parameters
NameDescription
request IBatchDeleteVersionsRequest

BatchDeleteVersionsRequest message or plain object

callback BatchDeleteVersionsCallback

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

Returns
TypeDescription
void

batchDeleteVersions(request)

public batchDeleteVersions(request: google.devtools.artifactregistry.v1.IBatchDeleteVersionsRequest): Promise<google.longrunning.Operation>;

Calls BatchDeleteVersions.

Parameter
NameDescription
request IBatchDeleteVersionsRequest

BatchDeleteVersionsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

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.

createRepository(request, callback)

public createRepository(request: google.devtools.artifactregistry.v1.ICreateRepositoryRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.CreateRepositoryCallback): void;

Calls CreateRepository.

Parameters
NameDescription
request ICreateRepositoryRequest

CreateRepositoryRequest message or plain object

callback CreateRepositoryCallback

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

Returns
TypeDescription
void

createRepository(request)

public createRepository(request: google.devtools.artifactregistry.v1.ICreateRepositoryRequest): Promise<google.longrunning.Operation>;

Calls CreateRepository.

Parameter
NameDescription
request ICreateRepositoryRequest

CreateRepositoryRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createTag(request, callback)

public createTag(request: google.devtools.artifactregistry.v1.ICreateTagRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.CreateTagCallback): void;

Calls CreateTag.

Parameters
NameDescription
request ICreateTagRequest

CreateTagRequest message or plain object

callback CreateTagCallback

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

Returns
TypeDescription
void

createTag(request)

public createTag(request: google.devtools.artifactregistry.v1.ICreateTagRequest): Promise<google.devtools.artifactregistry.v1.Tag>;

Calls CreateTag.

Parameter
NameDescription
request ICreateTagRequest

CreateTagRequest message or plain object

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

Promise

deletePackage(request, callback)

public deletePackage(request: google.devtools.artifactregistry.v1.IDeletePackageRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.DeletePackageCallback): void;

Calls DeletePackage.

Parameters
NameDescription
request IDeletePackageRequest

DeletePackageRequest message or plain object

callback DeletePackageCallback

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

Returns
TypeDescription
void

deletePackage(request)

public deletePackage(request: google.devtools.artifactregistry.v1.IDeletePackageRequest): Promise<google.longrunning.Operation>;

Calls DeletePackage.

Parameter
NameDescription
request IDeletePackageRequest

DeletePackageRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteRepository(request, callback)

public deleteRepository(request: google.devtools.artifactregistry.v1.IDeleteRepositoryRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteRepositoryCallback): void;

Calls DeleteRepository.

Parameters
NameDescription
request IDeleteRepositoryRequest

DeleteRepositoryRequest message or plain object

callback DeleteRepositoryCallback

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

Returns
TypeDescription
void

deleteRepository(request)

public deleteRepository(request: google.devtools.artifactregistry.v1.IDeleteRepositoryRequest): Promise<google.longrunning.Operation>;

Calls DeleteRepository.

Parameter
NameDescription
request IDeleteRepositoryRequest

DeleteRepositoryRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteTag(request, callback)

public deleteTag(request: google.devtools.artifactregistry.v1.IDeleteTagRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteTagCallback): void;

Calls DeleteTag.

Parameters
NameDescription
request IDeleteTagRequest

DeleteTagRequest message or plain object

callback DeleteTagCallback

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

Returns
TypeDescription
void

deleteTag(request)

public deleteTag(request: google.devtools.artifactregistry.v1.IDeleteTagRequest): Promise<google.protobuf.Empty>;

Calls DeleteTag.

Parameter
NameDescription
request IDeleteTagRequest

DeleteTagRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteVersion(request, callback)

public deleteVersion(request: google.devtools.artifactregistry.v1.IDeleteVersionRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.DeleteVersionCallback): void;

Calls DeleteVersion.

Parameters
NameDescription
request IDeleteVersionRequest

DeleteVersionRequest message or plain object

callback DeleteVersionCallback

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

Returns
TypeDescription
void

deleteVersion(request)

public deleteVersion(request: google.devtools.artifactregistry.v1.IDeleteVersionRequest): Promise<google.longrunning.Operation>;

Calls DeleteVersion.

Parameter
NameDescription
request IDeleteVersionRequest

DeleteVersionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getDockerImage(request, callback)

public getDockerImage(request: google.devtools.artifactregistry.v1.IGetDockerImageRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetDockerImageCallback): void;

Calls GetDockerImage.

Parameters
NameDescription
request IGetDockerImageRequest

GetDockerImageRequest message or plain object

callback GetDockerImageCallback

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

Returns
TypeDescription
void

getDockerImage(request)

public getDockerImage(request: google.devtools.artifactregistry.v1.IGetDockerImageRequest): Promise<google.devtools.artifactregistry.v1.DockerImage>;

Calls GetDockerImage.

Parameter
NameDescription
request IGetDockerImageRequest

GetDockerImageRequest message or plain object

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

Promise

getFile(request, callback)

public getFile(request: google.devtools.artifactregistry.v1.IGetFileRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetFileCallback): void;

Calls GetFile.

Parameters
NameDescription
request IGetFileRequest

GetFileRequest message or plain object

callback GetFileCallback

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

Returns
TypeDescription
void

getFile(request)

public getFile(request: google.devtools.artifactregistry.v1.IGetFileRequest): Promise<google.devtools.artifactregistry.v1.File>;

Calls GetFile.

Parameter
NameDescription
request IGetFileRequest

GetFileRequest message or plain object

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

Promise

getIamPolicy(request, callback)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetIamPolicyCallback): void;

Calls GetIamPolicy.

Parameters
NameDescription
request IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback GetIamPolicyCallback

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

Returns
TypeDescription
void

getIamPolicy(request)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;

Calls GetIamPolicy.

Parameter
NameDescription
request IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.Policy>

Promise

getMavenArtifact(request, callback)

public getMavenArtifact(request: google.devtools.artifactregistry.v1.IGetMavenArtifactRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetMavenArtifactCallback): void;

Calls GetMavenArtifact.

Parameters
NameDescription
request IGetMavenArtifactRequest

GetMavenArtifactRequest message or plain object

callback GetMavenArtifactCallback

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

Returns
TypeDescription
void

getMavenArtifact(request)

public getMavenArtifact(request: google.devtools.artifactregistry.v1.IGetMavenArtifactRequest): Promise<google.devtools.artifactregistry.v1.MavenArtifact>;

Calls GetMavenArtifact.

Parameter
NameDescription
request IGetMavenArtifactRequest

GetMavenArtifactRequest message or plain object

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

Promise

getNpmPackage(request, callback)

public getNpmPackage(request: google.devtools.artifactregistry.v1.IGetNpmPackageRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetNpmPackageCallback): void;

Calls GetNpmPackage.

Parameters
NameDescription
request IGetNpmPackageRequest

GetNpmPackageRequest message or plain object

callback GetNpmPackageCallback

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

Returns
TypeDescription
void

getNpmPackage(request)

public getNpmPackage(request: google.devtools.artifactregistry.v1.IGetNpmPackageRequest): Promise<google.devtools.artifactregistry.v1.NpmPackage>;

Calls GetNpmPackage.

Parameter
NameDescription
request IGetNpmPackageRequest

GetNpmPackageRequest message or plain object

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

Promise

getPackage(request, callback)

public getPackage(request: google.devtools.artifactregistry.v1.IGetPackageRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetPackageCallback): void;

Calls GetPackage.

Parameters
NameDescription
request IGetPackageRequest

GetPackageRequest message or plain object

callback GetPackageCallback

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

Returns
TypeDescription
void

getPackage(request)

public getPackage(request: google.devtools.artifactregistry.v1.IGetPackageRequest): Promise<google.devtools.artifactregistry.v1.Package>;

Calls GetPackage.

Parameter
NameDescription
request IGetPackageRequest

GetPackageRequest message or plain object

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

Promise

getProjectSettings(request, callback)

public getProjectSettings(request: google.devtools.artifactregistry.v1.IGetProjectSettingsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetProjectSettingsCallback): void;

Calls GetProjectSettings.

Parameters
NameDescription
request IGetProjectSettingsRequest

GetProjectSettingsRequest message or plain object

callback GetProjectSettingsCallback

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

Returns
TypeDescription
void

getProjectSettings(request)

public getProjectSettings(request: google.devtools.artifactregistry.v1.IGetProjectSettingsRequest): Promise<google.devtools.artifactregistry.v1.ProjectSettings>;

Calls GetProjectSettings.

Parameter
NameDescription
request IGetProjectSettingsRequest

GetProjectSettingsRequest message or plain object

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

Promise

getPythonPackage(request, callback)

public getPythonPackage(request: google.devtools.artifactregistry.v1.IGetPythonPackageRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetPythonPackageCallback): void;

Calls GetPythonPackage.

Parameters
NameDescription
request IGetPythonPackageRequest

GetPythonPackageRequest message or plain object

callback GetPythonPackageCallback

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

Returns
TypeDescription
void

getPythonPackage(request)

public getPythonPackage(request: google.devtools.artifactregistry.v1.IGetPythonPackageRequest): Promise<google.devtools.artifactregistry.v1.PythonPackage>;

Calls GetPythonPackage.

Parameter
NameDescription
request IGetPythonPackageRequest

GetPythonPackageRequest message or plain object

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

Promise

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 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

getTag(request, callback)

public getTag(request: google.devtools.artifactregistry.v1.IGetTagRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetTagCallback): void;

Calls GetTag.

Parameters
NameDescription
request IGetTagRequest

GetTagRequest message or plain object

callback GetTagCallback

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

Returns
TypeDescription
void

getTag(request)

public getTag(request: google.devtools.artifactregistry.v1.IGetTagRequest): Promise<google.devtools.artifactregistry.v1.Tag>;

Calls GetTag.

Parameter
NameDescription
request IGetTagRequest

GetTagRequest message or plain object

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

Promise

getVersion(request, callback)

public getVersion(request: google.devtools.artifactregistry.v1.IGetVersionRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetVersionCallback): void;

Calls GetVersion.

Parameters
NameDescription
request IGetVersionRequest

GetVersionRequest message or plain object

callback GetVersionCallback

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

Returns
TypeDescription
void

getVersion(request)

public getVersion(request: google.devtools.artifactregistry.v1.IGetVersionRequest): Promise<google.devtools.artifactregistry.v1.Version>;

Calls GetVersion.

Parameter
NameDescription
request IGetVersionRequest

GetVersionRequest message or plain object

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

Promise

getVPCSCConfig(request, callback)

public getVPCSCConfig(request: google.devtools.artifactregistry.v1.IGetVPCSCConfigRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.GetVPCSCConfigCallback): void;

Calls GetVPCSCConfig.

Parameters
NameDescription
request IGetVPCSCConfigRequest

GetVPCSCConfigRequest message or plain object

callback GetVPCSCConfigCallback

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

Returns
TypeDescription
void

getVPCSCConfig(request)

public getVPCSCConfig(request: google.devtools.artifactregistry.v1.IGetVPCSCConfigRequest): Promise<google.devtools.artifactregistry.v1.VPCSCConfig>;

Calls GetVPCSCConfig.

Parameter
NameDescription
request IGetVPCSCConfigRequest

GetVPCSCConfigRequest message or plain object

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

Promise

importAptArtifacts(request, callback)

public importAptArtifacts(request: google.devtools.artifactregistry.v1.IImportAptArtifactsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ImportAptArtifactsCallback): void;

Calls ImportAptArtifacts.

Parameters
NameDescription
request IImportAptArtifactsRequest

ImportAptArtifactsRequest message or plain object

callback ImportAptArtifactsCallback

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

Returns
TypeDescription
void

importAptArtifacts(request)

public importAptArtifacts(request: google.devtools.artifactregistry.v1.IImportAptArtifactsRequest): Promise<google.longrunning.Operation>;

Calls ImportAptArtifacts.

Parameter
NameDescription
request IImportAptArtifactsRequest

ImportAptArtifactsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

importYumArtifacts(request, callback)

public importYumArtifacts(request: google.devtools.artifactregistry.v1.IImportYumArtifactsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ImportYumArtifactsCallback): void;

Calls ImportYumArtifacts.

Parameters
NameDescription
request IImportYumArtifactsRequest

ImportYumArtifactsRequest message or plain object

callback ImportYumArtifactsCallback

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

Returns
TypeDescription
void

importYumArtifacts(request)

public importYumArtifacts(request: google.devtools.artifactregistry.v1.IImportYumArtifactsRequest): Promise<google.longrunning.Operation>;

Calls ImportYumArtifacts.

Parameter
NameDescription
request IImportYumArtifactsRequest

ImportYumArtifactsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

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 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

listFiles(request, callback)

public listFiles(request: google.devtools.artifactregistry.v1.IListFilesRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListFilesCallback): void;

Calls ListFiles.

Parameters
NameDescription
request IListFilesRequest

ListFilesRequest message or plain object

callback ListFilesCallback

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

Returns
TypeDescription
void

listFiles(request)

public listFiles(request: google.devtools.artifactregistry.v1.IListFilesRequest): Promise<google.devtools.artifactregistry.v1.ListFilesResponse>;

Calls ListFiles.

Parameter
NameDescription
request IListFilesRequest

ListFilesRequest message or plain object

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

Promise

listMavenArtifacts(request, callback)

public listMavenArtifacts(request: google.devtools.artifactregistry.v1.IListMavenArtifactsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListMavenArtifactsCallback): void;

Calls ListMavenArtifacts.

Parameters
NameDescription
request IListMavenArtifactsRequest

ListMavenArtifactsRequest message or plain object

callback ListMavenArtifactsCallback

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

Returns
TypeDescription
void

listMavenArtifacts(request)

public listMavenArtifacts(request: google.devtools.artifactregistry.v1.IListMavenArtifactsRequest): Promise<google.devtools.artifactregistry.v1.ListMavenArtifactsResponse>;

Calls ListMavenArtifacts.

Parameter
NameDescription
request IListMavenArtifactsRequest

ListMavenArtifactsRequest message or plain object

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

Promise

listNpmPackages(request, callback)

public listNpmPackages(request: google.devtools.artifactregistry.v1.IListNpmPackagesRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListNpmPackagesCallback): void;

Calls ListNpmPackages.

Parameters
NameDescription
request IListNpmPackagesRequest

ListNpmPackagesRequest message or plain object

callback ListNpmPackagesCallback

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

Returns
TypeDescription
void

listNpmPackages(request)

public listNpmPackages(request: google.devtools.artifactregistry.v1.IListNpmPackagesRequest): Promise<google.devtools.artifactregistry.v1.ListNpmPackagesResponse>;

Calls ListNpmPackages.

Parameter
NameDescription
request IListNpmPackagesRequest

ListNpmPackagesRequest message or plain object

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

Promise

listPackages(request, callback)

public listPackages(request: google.devtools.artifactregistry.v1.IListPackagesRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListPackagesCallback): void;

Calls ListPackages.

Parameters
NameDescription
request IListPackagesRequest

ListPackagesRequest message or plain object

callback ListPackagesCallback

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

Returns
TypeDescription
void

listPackages(request)

public listPackages(request: google.devtools.artifactregistry.v1.IListPackagesRequest): Promise<google.devtools.artifactregistry.v1.ListPackagesResponse>;

Calls ListPackages.

Parameter
NameDescription
request IListPackagesRequest

ListPackagesRequest message or plain object

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

Promise

listPythonPackages(request, callback)

public listPythonPackages(request: google.devtools.artifactregistry.v1.IListPythonPackagesRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListPythonPackagesCallback): void;

Calls ListPythonPackages.

Parameters
NameDescription
request IListPythonPackagesRequest

ListPythonPackagesRequest message or plain object

callback ListPythonPackagesCallback

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

Returns
TypeDescription
void

listPythonPackages(request)

public listPythonPackages(request: google.devtools.artifactregistry.v1.IListPythonPackagesRequest): Promise<google.devtools.artifactregistry.v1.ListPythonPackagesResponse>;

Calls ListPythonPackages.

Parameter
NameDescription
request IListPythonPackagesRequest

ListPythonPackagesRequest message or plain object

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

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 IListRepositoriesRequest

ListRepositoriesRequest message or plain object

callback 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 IListRepositoriesRequest

ListRepositoriesRequest message or plain object

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

Promise

listTags(request, callback)

public listTags(request: google.devtools.artifactregistry.v1.IListTagsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListTagsCallback): void;

Calls ListTags.

Parameters
NameDescription
request IListTagsRequest

ListTagsRequest message or plain object

callback ListTagsCallback

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

Returns
TypeDescription
void

listTags(request)

public listTags(request: google.devtools.artifactregistry.v1.IListTagsRequest): Promise<google.devtools.artifactregistry.v1.ListTagsResponse>;

Calls ListTags.

Parameter
NameDescription
request IListTagsRequest

ListTagsRequest message or plain object

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

Promise

listVersions(request, callback)

public listVersions(request: google.devtools.artifactregistry.v1.IListVersionsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.ListVersionsCallback): void;

Calls ListVersions.

Parameters
NameDescription
request IListVersionsRequest

ListVersionsRequest message or plain object

callback ListVersionsCallback

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

Returns
TypeDescription
void

listVersions(request)

public listVersions(request: google.devtools.artifactregistry.v1.IListVersionsRequest): Promise<google.devtools.artifactregistry.v1.ListVersionsResponse>;

Calls ListVersions.

Parameter
NameDescription
request IListVersionsRequest

ListVersionsRequest message or plain object

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

Promise

setIamPolicy(request, callback)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.SetIamPolicyCallback): void;

Calls SetIamPolicy.

Parameters
NameDescription
request ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback SetIamPolicyCallback

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

Returns
TypeDescription
void

setIamPolicy(request)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;

Calls SetIamPolicy.

Parameter
NameDescription
request ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.Policy>

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
NameDescription
request ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback TestIamPermissionsCallback

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

Returns
TypeDescription
void

testIamPermissions(request)

public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;

Calls TestIamPermissions.

Parameter
NameDescription
request ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.TestIamPermissionsResponse>

Promise

updateProjectSettings(request, callback)

public updateProjectSettings(request: google.devtools.artifactregistry.v1.IUpdateProjectSettingsRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateProjectSettingsCallback): void;

Calls UpdateProjectSettings.

Parameters
NameDescription
request IUpdateProjectSettingsRequest

UpdateProjectSettingsRequest message or plain object

callback UpdateProjectSettingsCallback

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

Returns
TypeDescription
void

updateProjectSettings(request)

public updateProjectSettings(request: google.devtools.artifactregistry.v1.IUpdateProjectSettingsRequest): Promise<google.devtools.artifactregistry.v1.ProjectSettings>;

Calls UpdateProjectSettings.

Parameter
NameDescription
request IUpdateProjectSettingsRequest

UpdateProjectSettingsRequest message or plain object

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

Promise

updateRepository(request, callback)

public updateRepository(request: google.devtools.artifactregistry.v1.IUpdateRepositoryRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateRepositoryCallback): void;

Calls UpdateRepository.

Parameters
NameDescription
request IUpdateRepositoryRequest

UpdateRepositoryRequest message or plain object

callback UpdateRepositoryCallback

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

Returns
TypeDescription
void

updateRepository(request)

public updateRepository(request: google.devtools.artifactregistry.v1.IUpdateRepositoryRequest): Promise<google.devtools.artifactregistry.v1.Repository>;

Calls UpdateRepository.

Parameter
NameDescription
request IUpdateRepositoryRequest

UpdateRepositoryRequest message or plain object

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

Promise

updateTag(request, callback)

public updateTag(request: google.devtools.artifactregistry.v1.IUpdateTagRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateTagCallback): void;

Calls UpdateTag.

Parameters
NameDescription
request IUpdateTagRequest

UpdateTagRequest message or plain object

callback UpdateTagCallback

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

Returns
TypeDescription
void

updateTag(request)

public updateTag(request: google.devtools.artifactregistry.v1.IUpdateTagRequest): Promise<google.devtools.artifactregistry.v1.Tag>;

Calls UpdateTag.

Parameter
NameDescription
request IUpdateTagRequest

UpdateTagRequest message or plain object

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

Promise

updateVPCSCConfig(request, callback)

public updateVPCSCConfig(request: google.devtools.artifactregistry.v1.IUpdateVPCSCConfigRequest, callback: google.devtools.artifactregistry.v1.ArtifactRegistry.UpdateVPCSCConfigCallback): void;

Calls UpdateVPCSCConfig.

Parameters
NameDescription
request IUpdateVPCSCConfigRequest

UpdateVPCSCConfigRequest message or plain object

callback UpdateVPCSCConfigCallback

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

Returns
TypeDescription
void

updateVPCSCConfig(request)

public updateVPCSCConfig(request: google.devtools.artifactregistry.v1.IUpdateVPCSCConfigRequest): Promise<google.devtools.artifactregistry.v1.VPCSCConfig>;

Calls UpdateVPCSCConfig.

Parameter
NameDescription
request IUpdateVPCSCConfigRequest

UpdateVPCSCConfigRequest message or plain object

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

Promise