Class protos.google.cloud.privatecatalog.v1beta1.PrivateCatalog (1.0.4)

Represents a PrivateCatalog

Inheritance

$protobuf.rpc.Service > protos.google.cloud.privatecatalog.v1beta1.PrivateCatalog

Package

@google-cloud/private-catalog!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

searchCatalogs(request, callback)

public searchCatalogs(request: google.cloud.privatecatalog.v1beta1.ISearchCatalogsRequest, callback: google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogsCallback): void;

Calls SearchCatalogs.

Parameters
NameDescription
request ISearchCatalogsRequest

SearchCatalogsRequest message or plain object

callback google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchCatalogsCallback

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

Returns
TypeDescription
void

searchCatalogs(request)

public searchCatalogs(request: google.cloud.privatecatalog.v1beta1.ISearchCatalogsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse>;

Calls SearchCatalogs.

Parameter
NameDescription
request ISearchCatalogsRequest

SearchCatalogsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse>

Promise

searchProducts(request, callback)

public searchProducts(request: google.cloud.privatecatalog.v1beta1.ISearchProductsRequest, callback: google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProductsCallback): void;

Calls SearchProducts.

Parameters
NameDescription
request ISearchProductsRequest

SearchProductsRequest message or plain object

callback google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchProductsCallback

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

Returns
TypeDescription
void

searchProducts(request)

public searchProducts(request: google.cloud.privatecatalog.v1beta1.ISearchProductsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchProductsResponse>;

Calls SearchProducts.

Parameter
NameDescription
request ISearchProductsRequest

SearchProductsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.privatecatalog.v1beta1.SearchProductsResponse>

Promise

searchVersions(request, callback)

public searchVersions(request: google.cloud.privatecatalog.v1beta1.ISearchVersionsRequest, callback: google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersionsCallback): void;

Calls SearchVersions.

Parameters
NameDescription
request ISearchVersionsRequest

SearchVersionsRequest message or plain object

callback google.cloud.privatecatalog.v1beta1.PrivateCatalog.SearchVersionsCallback

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

Returns
TypeDescription
void

searchVersions(request)

public searchVersions(request: google.cloud.privatecatalog.v1beta1.ISearchVersionsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchVersionsResponse>;

Calls SearchVersions.

Parameter
NameDescription
request ISearchVersionsRequest

SearchVersionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.privatecatalog.v1beta1.SearchVersionsResponse>

Promise