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.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ISearchCatalogsRequest
SearchCatalogsRequest message or plain object |
callback |
SearchCatalogsCallback
Node-style callback called with the error, if any, and SearchCatalogsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
searchCatalogs(request)
public searchCatalogs(request: google.cloud.privatecatalog.v1beta1.ISearchCatalogsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchCatalogsResponse>;Calls SearchCatalogs.
| Parameter | |
|---|---|
| Name | Description |
request |
ISearchCatalogsRequest
SearchCatalogsRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ISearchProductsRequest
SearchProductsRequest message or plain object |
callback |
SearchProductsCallback
Node-style callback called with the error, if any, and SearchProductsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
searchProducts(request)
public searchProducts(request: google.cloud.privatecatalog.v1beta1.ISearchProductsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchProductsResponse>;Calls SearchProducts.
| Parameter | |
|---|---|
| Name | Description |
request |
ISearchProductsRequest
SearchProductsRequest message or plain object |
| Returns | |
|---|---|
| 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ISearchVersionsRequest
SearchVersionsRequest message or plain object |
callback |
SearchVersionsCallback
Node-style callback called with the error, if any, and SearchVersionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
searchVersions(request)
public searchVersions(request: google.cloud.privatecatalog.v1beta1.ISearchVersionsRequest): Promise<google.cloud.privatecatalog.v1beta1.SearchVersionsResponse>;Calls SearchVersions.
| Parameter | |
|---|---|
| Name | Description |
request |
ISearchVersionsRequest
SearchVersionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.privatecatalog.v1beta1.SearchVersionsResponse> |
Promise |