Represents a PrivateCatalog
Inheritance
$protobuf.rpc.Service > protos.google.cloud.privatecatalog.v1beta1.PrivateCatalogPackage
@google-cloud/private-catalogConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new PrivateCatalog 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): PrivateCatalog;
Creates new PrivateCatalog 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 |
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.
Name | Description |
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 |
Type | Description |
void |
searchCatalogs(request)
public searchCatalogs(request: google.cloud.privatecatalog.v1beta1.ISearchCatalogsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse>;
Calls SearchCatalogs.
Name | Description |
request |
ISearchCatalogsRequest
SearchCatalogsRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
searchProducts(request)
public searchProducts(request: google.cloud.privatecatalog.v1beta1.ISearchProductsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchProductsResponse>;
Calls SearchProducts.
Name | Description |
request |
ISearchProductsRequest
SearchProductsRequest message or plain object |
Type | Description |
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.
Name | Description |
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 |
Type | Description |
void |
searchVersions(request)
public searchVersions(request: google.cloud.privatecatalog.v1beta1.ISearchVersionsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchVersionsResponse>;
Calls SearchVersions.
Name | Description |
request |
ISearchVersionsRequest
SearchVersionsRequest message or plain object |
Type | Description |
Promise<google.cloud.privatecatalog.v1beta1.SearchVersionsResponse> | Promise |