Class protos.google.cloud.apigeeregistry.v1.Registry (1.0.0)

Represents a Registry

Inheritance

$protobuf.rpc.Service > protos.google.cloud.apigeeregistry.v1.Registry

Package

@google-cloud/apigee-registry

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new Registry 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): Registry;

Creates new Registry 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
Registry

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

createApi(request, callback)

public createApi(request: google.cloud.apigeeregistry.v1.ICreateApiRequest, callback: google.cloud.apigeeregistry.v1.Registry.CreateApiCallback): void;

Calls CreateApi.

Parameters
NameDescription
request ICreateApiRequest

CreateApiRequest message or plain object

callback CreateApiCallback

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

Returns
TypeDescription
void

createApi(request)

public createApi(request: google.cloud.apigeeregistry.v1.ICreateApiRequest): Promise<google.cloud.apigeeregistry.v1.Api>;

Calls CreateApi.

Parameter
NameDescription
request ICreateApiRequest

CreateApiRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.Api>

Promise

createApiDeployment(request, callback)

public createApiDeployment(request: google.cloud.apigeeregistry.v1.ICreateApiDeploymentRequest, callback: google.cloud.apigeeregistry.v1.Registry.CreateApiDeploymentCallback): void;

Calls CreateApiDeployment.

Parameters
NameDescription
request ICreateApiDeploymentRequest

CreateApiDeploymentRequest message or plain object

callback CreateApiDeploymentCallback

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

Returns
TypeDescription
void

createApiDeployment(request)

public createApiDeployment(request: google.cloud.apigeeregistry.v1.ICreateApiDeploymentRequest): Promise<google.cloud.apigeeregistry.v1.ApiDeployment>;

Calls CreateApiDeployment.

Parameter
NameDescription
request ICreateApiDeploymentRequest

CreateApiDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiDeployment>

Promise

createApiSpec(request, callback)

public createApiSpec(request: google.cloud.apigeeregistry.v1.ICreateApiSpecRequest, callback: google.cloud.apigeeregistry.v1.Registry.CreateApiSpecCallback): void;

Calls CreateApiSpec.

Parameters
NameDescription
request ICreateApiSpecRequest

CreateApiSpecRequest message or plain object

callback CreateApiSpecCallback

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

Returns
TypeDescription
void

createApiSpec(request)

public createApiSpec(request: google.cloud.apigeeregistry.v1.ICreateApiSpecRequest): Promise<google.cloud.apigeeregistry.v1.ApiSpec>;

Calls CreateApiSpec.

Parameter
NameDescription
request ICreateApiSpecRequest

CreateApiSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiSpec>

Promise

createApiVersion(request, callback)

public createApiVersion(request: google.cloud.apigeeregistry.v1.ICreateApiVersionRequest, callback: google.cloud.apigeeregistry.v1.Registry.CreateApiVersionCallback): void;

Calls CreateApiVersion.

Parameters
NameDescription
request ICreateApiVersionRequest

CreateApiVersionRequest message or plain object

callback CreateApiVersionCallback

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

Returns
TypeDescription
void

createApiVersion(request)

public createApiVersion(request: google.cloud.apigeeregistry.v1.ICreateApiVersionRequest): Promise<google.cloud.apigeeregistry.v1.ApiVersion>;

Calls CreateApiVersion.

Parameter
NameDescription
request ICreateApiVersionRequest

CreateApiVersionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiVersion>

Promise

createArtifact(request, callback)

public createArtifact(request: google.cloud.apigeeregistry.v1.ICreateArtifactRequest, callback: google.cloud.apigeeregistry.v1.Registry.CreateArtifactCallback): void;

Calls CreateArtifact.

Parameters
NameDescription
request ICreateArtifactRequest

CreateArtifactRequest message or plain object

callback CreateArtifactCallback

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

Returns
TypeDescription
void

createArtifact(request)

public createArtifact(request: google.cloud.apigeeregistry.v1.ICreateArtifactRequest): Promise<google.cloud.apigeeregistry.v1.Artifact>;

Calls CreateArtifact.

Parameter
NameDescription
request ICreateArtifactRequest

CreateArtifactRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.Artifact>

Promise

deleteApi(request, callback)

public deleteApi(request: google.cloud.apigeeregistry.v1.IDeleteApiRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteApiCallback): void;

Calls DeleteApi.

Parameters
NameDescription
request IDeleteApiRequest

DeleteApiRequest message or plain object

callback DeleteApiCallback

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

Returns
TypeDescription
void

deleteApi(request)

public deleteApi(request: google.cloud.apigeeregistry.v1.IDeleteApiRequest): Promise<google.protobuf.Empty>;

Calls DeleteApi.

Parameter
NameDescription
request IDeleteApiRequest

DeleteApiRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteApiDeployment(request, callback)

public deleteApiDeployment(request: google.cloud.apigeeregistry.v1.IDeleteApiDeploymentRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentCallback): void;

Calls DeleteApiDeployment.

Parameters
NameDescription
request IDeleteApiDeploymentRequest

DeleteApiDeploymentRequest message or plain object

callback DeleteApiDeploymentCallback

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

Returns
TypeDescription
void

deleteApiDeployment(request)

public deleteApiDeployment(request: google.cloud.apigeeregistry.v1.IDeleteApiDeploymentRequest): Promise<google.protobuf.Empty>;

Calls DeleteApiDeployment.

Parameter
NameDescription
request IDeleteApiDeploymentRequest

DeleteApiDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteApiDeploymentRevision(request, callback)

public deleteApiDeploymentRevision(request: google.cloud.apigeeregistry.v1.IDeleteApiDeploymentRevisionRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteApiDeploymentRevisionCallback): void;

Calls DeleteApiDeploymentRevision.

Parameters
NameDescription
request IDeleteApiDeploymentRevisionRequest

DeleteApiDeploymentRevisionRequest message or plain object

callback DeleteApiDeploymentRevisionCallback

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

Returns
TypeDescription
void

deleteApiDeploymentRevision(request)

public deleteApiDeploymentRevision(request: google.cloud.apigeeregistry.v1.IDeleteApiDeploymentRevisionRequest): Promise<google.cloud.apigeeregistry.v1.ApiDeployment>;

Calls DeleteApiDeploymentRevision.

Parameter
NameDescription
request IDeleteApiDeploymentRevisionRequest

DeleteApiDeploymentRevisionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiDeployment>

Promise

deleteApiSpec(request, callback)

public deleteApiSpec(request: google.cloud.apigeeregistry.v1.IDeleteApiSpecRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecCallback): void;

Calls DeleteApiSpec.

Parameters
NameDescription
request IDeleteApiSpecRequest

DeleteApiSpecRequest message or plain object

callback DeleteApiSpecCallback

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

Returns
TypeDescription
void

deleteApiSpec(request)

public deleteApiSpec(request: google.cloud.apigeeregistry.v1.IDeleteApiSpecRequest): Promise<google.protobuf.Empty>;

Calls DeleteApiSpec.

Parameter
NameDescription
request IDeleteApiSpecRequest

DeleteApiSpecRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteApiSpecRevision(request, callback)

public deleteApiSpecRevision(request: google.cloud.apigeeregistry.v1.IDeleteApiSpecRevisionRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteApiSpecRevisionCallback): void;

Calls DeleteApiSpecRevision.

Parameters
NameDescription
request IDeleteApiSpecRevisionRequest

DeleteApiSpecRevisionRequest message or plain object

callback DeleteApiSpecRevisionCallback

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

Returns
TypeDescription
void

deleteApiSpecRevision(request)

public deleteApiSpecRevision(request: google.cloud.apigeeregistry.v1.IDeleteApiSpecRevisionRequest): Promise<google.cloud.apigeeregistry.v1.ApiSpec>;

Calls DeleteApiSpecRevision.

Parameter
NameDescription
request IDeleteApiSpecRevisionRequest

DeleteApiSpecRevisionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiSpec>

Promise

deleteApiVersion(request, callback)

public deleteApiVersion(request: google.cloud.apigeeregistry.v1.IDeleteApiVersionRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteApiVersionCallback): void;

Calls DeleteApiVersion.

Parameters
NameDescription
request IDeleteApiVersionRequest

DeleteApiVersionRequest message or plain object

callback DeleteApiVersionCallback

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

Returns
TypeDescription
void

deleteApiVersion(request)

public deleteApiVersion(request: google.cloud.apigeeregistry.v1.IDeleteApiVersionRequest): Promise<google.protobuf.Empty>;

Calls DeleteApiVersion.

Parameter
NameDescription
request IDeleteApiVersionRequest

DeleteApiVersionRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteArtifact(request, callback)

public deleteArtifact(request: google.cloud.apigeeregistry.v1.IDeleteArtifactRequest, callback: google.cloud.apigeeregistry.v1.Registry.DeleteArtifactCallback): void;

Calls DeleteArtifact.

Parameters
NameDescription
request IDeleteArtifactRequest

DeleteArtifactRequest message or plain object

callback DeleteArtifactCallback

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

Returns
TypeDescription
void

deleteArtifact(request)

public deleteArtifact(request: google.cloud.apigeeregistry.v1.IDeleteArtifactRequest): Promise<google.protobuf.Empty>;

Calls DeleteArtifact.

Parameter
NameDescription
request IDeleteArtifactRequest

DeleteArtifactRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getApi(request, callback)

public getApi(request: google.cloud.apigeeregistry.v1.IGetApiRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetApiCallback): void;

Calls GetApi.

Parameters
NameDescription
request IGetApiRequest

GetApiRequest message or plain object

callback GetApiCallback

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

Returns
TypeDescription
void

getApi(request)

public getApi(request: google.cloud.apigeeregistry.v1.IGetApiRequest): Promise<google.cloud.apigeeregistry.v1.Api>;

Calls GetApi.

Parameter
NameDescription
request IGetApiRequest

GetApiRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.Api>

Promise

getApiDeployment(request, callback)

public getApiDeployment(request: google.cloud.apigeeregistry.v1.IGetApiDeploymentRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetApiDeploymentCallback): void;

Calls GetApiDeployment.

Parameters
NameDescription
request IGetApiDeploymentRequest

GetApiDeploymentRequest message or plain object

callback GetApiDeploymentCallback

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

Returns
TypeDescription
void

getApiDeployment(request)

public getApiDeployment(request: google.cloud.apigeeregistry.v1.IGetApiDeploymentRequest): Promise<google.cloud.apigeeregistry.v1.ApiDeployment>;

Calls GetApiDeployment.

Parameter
NameDescription
request IGetApiDeploymentRequest

GetApiDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiDeployment>

Promise

getApiSpec(request, callback)

public getApiSpec(request: google.cloud.apigeeregistry.v1.IGetApiSpecRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetApiSpecCallback): void;

Calls GetApiSpec.

Parameters
NameDescription
request IGetApiSpecRequest

GetApiSpecRequest message or plain object

callback GetApiSpecCallback

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

Returns
TypeDescription
void

getApiSpec(request)

public getApiSpec(request: google.cloud.apigeeregistry.v1.IGetApiSpecRequest): Promise<google.cloud.apigeeregistry.v1.ApiSpec>;

Calls GetApiSpec.

Parameter
NameDescription
request IGetApiSpecRequest

GetApiSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiSpec>

Promise

getApiSpecContents(request, callback)

public getApiSpecContents(request: google.cloud.apigeeregistry.v1.IGetApiSpecContentsRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetApiSpecContentsCallback): void;

Calls GetApiSpecContents.

Parameters
NameDescription
request IGetApiSpecContentsRequest

GetApiSpecContentsRequest message or plain object

callback GetApiSpecContentsCallback

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

Returns
TypeDescription
void

getApiSpecContents(request)

public getApiSpecContents(request: google.cloud.apigeeregistry.v1.IGetApiSpecContentsRequest): Promise<google.api.HttpBody>;

Calls GetApiSpecContents.

Parameter
NameDescription
request IGetApiSpecContentsRequest

GetApiSpecContentsRequest message or plain object

Returns
TypeDescription
Promise<google.api.HttpBody>

Promise

getApiVersion(request, callback)

public getApiVersion(request: google.cloud.apigeeregistry.v1.IGetApiVersionRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetApiVersionCallback): void;

Calls GetApiVersion.

Parameters
NameDescription
request IGetApiVersionRequest

GetApiVersionRequest message or plain object

callback GetApiVersionCallback

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

Returns
TypeDescription
void

getApiVersion(request)

public getApiVersion(request: google.cloud.apigeeregistry.v1.IGetApiVersionRequest): Promise<google.cloud.apigeeregistry.v1.ApiVersion>;

Calls GetApiVersion.

Parameter
NameDescription
request IGetApiVersionRequest

GetApiVersionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiVersion>

Promise

getArtifact(request, callback)

public getArtifact(request: google.cloud.apigeeregistry.v1.IGetArtifactRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetArtifactCallback): void;

Calls GetArtifact.

Parameters
NameDescription
request IGetArtifactRequest

GetArtifactRequest message or plain object

callback GetArtifactCallback

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

Returns
TypeDescription
void

getArtifact(request)

public getArtifact(request: google.cloud.apigeeregistry.v1.IGetArtifactRequest): Promise<google.cloud.apigeeregistry.v1.Artifact>;

Calls GetArtifact.

Parameter
NameDescription
request IGetArtifactRequest

GetArtifactRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.Artifact>

Promise

getArtifactContents(request, callback)

public getArtifactContents(request: google.cloud.apigeeregistry.v1.IGetArtifactContentsRequest, callback: google.cloud.apigeeregistry.v1.Registry.GetArtifactContentsCallback): void;

Calls GetArtifactContents.

Parameters
NameDescription
request IGetArtifactContentsRequest

GetArtifactContentsRequest message or plain object

callback GetArtifactContentsCallback

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

Returns
TypeDescription
void

getArtifactContents(request)

public getArtifactContents(request: google.cloud.apigeeregistry.v1.IGetArtifactContentsRequest): Promise<google.api.HttpBody>;

Calls GetArtifactContents.

Parameter
NameDescription
request IGetArtifactContentsRequest

GetArtifactContentsRequest message or plain object

Returns
TypeDescription
Promise<google.api.HttpBody>

Promise

listApiDeploymentRevisions(request, callback)

public listApiDeploymentRevisions(request: google.cloud.apigeeregistry.v1.IListApiDeploymentRevisionsRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentRevisionsCallback): void;

Calls ListApiDeploymentRevisions.

Parameters
NameDescription
request IListApiDeploymentRevisionsRequest

ListApiDeploymentRevisionsRequest message or plain object

callback ListApiDeploymentRevisionsCallback

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

Returns
TypeDescription
void

listApiDeploymentRevisions(request)

public listApiDeploymentRevisions(request: google.cloud.apigeeregistry.v1.IListApiDeploymentRevisionsRequest): Promise<google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>;

Calls ListApiDeploymentRevisions.

Parameter
NameDescription
request IListApiDeploymentRevisionsRequest

ListApiDeploymentRevisionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse>

Promise

listApiDeployments(request, callback)

public listApiDeployments(request: google.cloud.apigeeregistry.v1.IListApiDeploymentsRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListApiDeploymentsCallback): void;

Calls ListApiDeployments.

Parameters
NameDescription
request IListApiDeploymentsRequest

ListApiDeploymentsRequest message or plain object

callback ListApiDeploymentsCallback

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

Returns
TypeDescription
void

listApiDeployments(request)

public listApiDeployments(request: google.cloud.apigeeregistry.v1.IListApiDeploymentsRequest): Promise<google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>;

Calls ListApiDeployments.

Parameter
NameDescription
request IListApiDeploymentsRequest

ListApiDeploymentsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse>

Promise

listApis(request, callback)

public listApis(request: google.cloud.apigeeregistry.v1.IListApisRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListApisCallback): void;

Calls ListApis.

Parameters
NameDescription
request IListApisRequest

ListApisRequest message or plain object

callback ListApisCallback

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

Returns
TypeDescription
void

listApis(request)

public listApis(request: google.cloud.apigeeregistry.v1.IListApisRequest): Promise<google.cloud.apigeeregistry.v1.ListApisResponse>;

Calls ListApis.

Parameter
NameDescription
request IListApisRequest

ListApisRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListApisResponse>

Promise

listApiSpecRevisions(request, callback)

public listApiSpecRevisions(request: google.cloud.apigeeregistry.v1.IListApiSpecRevisionsRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListApiSpecRevisionsCallback): void;

Calls ListApiSpecRevisions.

Parameters
NameDescription
request IListApiSpecRevisionsRequest

ListApiSpecRevisionsRequest message or plain object

callback ListApiSpecRevisionsCallback

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

Returns
TypeDescription
void

listApiSpecRevisions(request)

public listApiSpecRevisions(request: google.cloud.apigeeregistry.v1.IListApiSpecRevisionsRequest): Promise<google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>;

Calls ListApiSpecRevisions.

Parameter
NameDescription
request IListApiSpecRevisionsRequest

ListApiSpecRevisionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse>

Promise

listApiSpecs(request, callback)

public listApiSpecs(request: google.cloud.apigeeregistry.v1.IListApiSpecsRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListApiSpecsCallback): void;

Calls ListApiSpecs.

Parameters
NameDescription
request IListApiSpecsRequest

ListApiSpecsRequest message or plain object

callback ListApiSpecsCallback

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

Returns
TypeDescription
void

listApiSpecs(request)

public listApiSpecs(request: google.cloud.apigeeregistry.v1.IListApiSpecsRequest): Promise<google.cloud.apigeeregistry.v1.ListApiSpecsResponse>;

Calls ListApiSpecs.

Parameter
NameDescription
request IListApiSpecsRequest

ListApiSpecsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListApiSpecsResponse>

Promise

listApiVersions(request, callback)

public listApiVersions(request: google.cloud.apigeeregistry.v1.IListApiVersionsRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListApiVersionsCallback): void;

Calls ListApiVersions.

Parameters
NameDescription
request IListApiVersionsRequest

ListApiVersionsRequest message or plain object

callback ListApiVersionsCallback

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

Returns
TypeDescription
void

listApiVersions(request)

public listApiVersions(request: google.cloud.apigeeregistry.v1.IListApiVersionsRequest): Promise<google.cloud.apigeeregistry.v1.ListApiVersionsResponse>;

Calls ListApiVersions.

Parameter
NameDescription
request IListApiVersionsRequest

ListApiVersionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListApiVersionsResponse>

Promise

listArtifacts(request, callback)

public listArtifacts(request: google.cloud.apigeeregistry.v1.IListArtifactsRequest, callback: google.cloud.apigeeregistry.v1.Registry.ListArtifactsCallback): void;

Calls ListArtifacts.

Parameters
NameDescription
request IListArtifactsRequest

ListArtifactsRequest message or plain object

callback ListArtifactsCallback

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

Returns
TypeDescription
void

listArtifacts(request)

public listArtifacts(request: google.cloud.apigeeregistry.v1.IListArtifactsRequest): Promise<google.cloud.apigeeregistry.v1.ListArtifactsResponse>;

Calls ListArtifacts.

Parameter
NameDescription
request IListArtifactsRequest

ListArtifactsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ListArtifactsResponse>

Promise

replaceArtifact(request, callback)

public replaceArtifact(request: google.cloud.apigeeregistry.v1.IReplaceArtifactRequest, callback: google.cloud.apigeeregistry.v1.Registry.ReplaceArtifactCallback): void;

Calls ReplaceArtifact.

Parameters
NameDescription
request IReplaceArtifactRequest

ReplaceArtifactRequest message or plain object

callback ReplaceArtifactCallback

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

Returns
TypeDescription
void

replaceArtifact(request)

public replaceArtifact(request: google.cloud.apigeeregistry.v1.IReplaceArtifactRequest): Promise<google.cloud.apigeeregistry.v1.Artifact>;

Calls ReplaceArtifact.

Parameter
NameDescription
request IReplaceArtifactRequest

ReplaceArtifactRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.Artifact>

Promise

rollbackApiDeployment(request, callback)

public rollbackApiDeployment(request: google.cloud.apigeeregistry.v1.IRollbackApiDeploymentRequest, callback: google.cloud.apigeeregistry.v1.Registry.RollbackApiDeploymentCallback): void;

Calls RollbackApiDeployment.

Parameters
NameDescription
request IRollbackApiDeploymentRequest

RollbackApiDeploymentRequest message or plain object

callback RollbackApiDeploymentCallback

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

Returns
TypeDescription
void

rollbackApiDeployment(request)

public rollbackApiDeployment(request: google.cloud.apigeeregistry.v1.IRollbackApiDeploymentRequest): Promise<google.cloud.apigeeregistry.v1.ApiDeployment>;

Calls RollbackApiDeployment.

Parameter
NameDescription
request IRollbackApiDeploymentRequest

RollbackApiDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiDeployment>

Promise

rollbackApiSpec(request, callback)

public rollbackApiSpec(request: google.cloud.apigeeregistry.v1.IRollbackApiSpecRequest, callback: google.cloud.apigeeregistry.v1.Registry.RollbackApiSpecCallback): void;

Calls RollbackApiSpec.

Parameters
NameDescription
request IRollbackApiSpecRequest

RollbackApiSpecRequest message or plain object

callback RollbackApiSpecCallback

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

Returns
TypeDescription
void

rollbackApiSpec(request)

public rollbackApiSpec(request: google.cloud.apigeeregistry.v1.IRollbackApiSpecRequest): Promise<google.cloud.apigeeregistry.v1.ApiSpec>;

Calls RollbackApiSpec.

Parameter
NameDescription
request IRollbackApiSpecRequest

RollbackApiSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiSpec>

Promise

tagApiDeploymentRevision(request, callback)

public tagApiDeploymentRevision(request: google.cloud.apigeeregistry.v1.ITagApiDeploymentRevisionRequest, callback: google.cloud.apigeeregistry.v1.Registry.TagApiDeploymentRevisionCallback): void;

Calls TagApiDeploymentRevision.

Parameters
NameDescription
request ITagApiDeploymentRevisionRequest

TagApiDeploymentRevisionRequest message or plain object

callback TagApiDeploymentRevisionCallback

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

Returns
TypeDescription
void

tagApiDeploymentRevision(request)

public tagApiDeploymentRevision(request: google.cloud.apigeeregistry.v1.ITagApiDeploymentRevisionRequest): Promise<google.cloud.apigeeregistry.v1.ApiDeployment>;

Calls TagApiDeploymentRevision.

Parameter
NameDescription
request ITagApiDeploymentRevisionRequest

TagApiDeploymentRevisionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiDeployment>

Promise

tagApiSpecRevision(request, callback)

public tagApiSpecRevision(request: google.cloud.apigeeregistry.v1.ITagApiSpecRevisionRequest, callback: google.cloud.apigeeregistry.v1.Registry.TagApiSpecRevisionCallback): void;

Calls TagApiSpecRevision.

Parameters
NameDescription
request ITagApiSpecRevisionRequest

TagApiSpecRevisionRequest message or plain object

callback TagApiSpecRevisionCallback

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

Returns
TypeDescription
void

tagApiSpecRevision(request)

public tagApiSpecRevision(request: google.cloud.apigeeregistry.v1.ITagApiSpecRevisionRequest): Promise<google.cloud.apigeeregistry.v1.ApiSpec>;

Calls TagApiSpecRevision.

Parameter
NameDescription
request ITagApiSpecRevisionRequest

TagApiSpecRevisionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiSpec>

Promise

updateApi(request, callback)

public updateApi(request: google.cloud.apigeeregistry.v1.IUpdateApiRequest, callback: google.cloud.apigeeregistry.v1.Registry.UpdateApiCallback): void;

Calls UpdateApi.

Parameters
NameDescription
request IUpdateApiRequest

UpdateApiRequest message or plain object

callback UpdateApiCallback

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

Returns
TypeDescription
void

updateApi(request)

public updateApi(request: google.cloud.apigeeregistry.v1.IUpdateApiRequest): Promise<google.cloud.apigeeregistry.v1.Api>;

Calls UpdateApi.

Parameter
NameDescription
request IUpdateApiRequest

UpdateApiRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.Api>

Promise

updateApiDeployment(request, callback)

public updateApiDeployment(request: google.cloud.apigeeregistry.v1.IUpdateApiDeploymentRequest, callback: google.cloud.apigeeregistry.v1.Registry.UpdateApiDeploymentCallback): void;

Calls UpdateApiDeployment.

Parameters
NameDescription
request IUpdateApiDeploymentRequest

UpdateApiDeploymentRequest message or plain object

callback UpdateApiDeploymentCallback

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

Returns
TypeDescription
void

updateApiDeployment(request)

public updateApiDeployment(request: google.cloud.apigeeregistry.v1.IUpdateApiDeploymentRequest): Promise<google.cloud.apigeeregistry.v1.ApiDeployment>;

Calls UpdateApiDeployment.

Parameter
NameDescription
request IUpdateApiDeploymentRequest

UpdateApiDeploymentRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiDeployment>

Promise

updateApiSpec(request, callback)

public updateApiSpec(request: google.cloud.apigeeregistry.v1.IUpdateApiSpecRequest, callback: google.cloud.apigeeregistry.v1.Registry.UpdateApiSpecCallback): void;

Calls UpdateApiSpec.

Parameters
NameDescription
request IUpdateApiSpecRequest

UpdateApiSpecRequest message or plain object

callback UpdateApiSpecCallback

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

Returns
TypeDescription
void

updateApiSpec(request)

public updateApiSpec(request: google.cloud.apigeeregistry.v1.IUpdateApiSpecRequest): Promise<google.cloud.apigeeregistry.v1.ApiSpec>;

Calls UpdateApiSpec.

Parameter
NameDescription
request IUpdateApiSpecRequest

UpdateApiSpecRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiSpec>

Promise

updateApiVersion(request, callback)

public updateApiVersion(request: google.cloud.apigeeregistry.v1.IUpdateApiVersionRequest, callback: google.cloud.apigeeregistry.v1.Registry.UpdateApiVersionCallback): void;

Calls UpdateApiVersion.

Parameters
NameDescription
request IUpdateApiVersionRequest

UpdateApiVersionRequest message or plain object

callback UpdateApiVersionCallback

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

Returns
TypeDescription
void

updateApiVersion(request)

public updateApiVersion(request: google.cloud.apigeeregistry.v1.IUpdateApiVersionRequest): Promise<google.cloud.apigeeregistry.v1.ApiVersion>;

Calls UpdateApiVersion.

Parameter
NameDescription
request IUpdateApiVersionRequest

UpdateApiVersionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.apigeeregistry.v1.ApiVersion>

Promise