Represents a CatalogService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.retail.v2beta.CatalogServicePackage
@google-cloud/retailConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new CatalogService service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
addCatalogAttribute(request, callback)
public addCatalogAttribute(request: google.cloud.retail.v2beta.IAddCatalogAttributeRequest, callback: google.cloud.retail.v2beta.CatalogService.AddCatalogAttributeCallback): void;
Calls AddCatalogAttribute.
Name | Description |
request |
google.cloud.retail.v2beta.IAddCatalogAttributeRequest
AddCatalogAttributeRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.AddCatalogAttributeCallback
Node-style callback called with the error, if any, and AttributesConfig |
Type | Description |
void |
addCatalogAttribute(request)
public addCatalogAttribute(request: google.cloud.retail.v2beta.IAddCatalogAttributeRequest): Promise<google.cloud.retail.v2beta.AttributesConfig>;
Calls AddCatalogAttribute.
Name | Description |
request |
google.cloud.retail.v2beta.IAddCatalogAttributeRequest
AddCatalogAttributeRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.AttributesConfig> | Promise |
batchRemoveCatalogAttributes(request, callback)
public batchRemoveCatalogAttributes(request: google.cloud.retail.v2beta.IBatchRemoveCatalogAttributesRequest, callback: google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributesCallback): void;
Calls BatchRemoveCatalogAttributes.
Name | Description |
request |
IBatchRemoveCatalogAttributesRequest
BatchRemoveCatalogAttributesRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.BatchRemoveCatalogAttributesCallback
Node-style callback called with the error, if any, and BatchRemoveCatalogAttributesResponse |
Type | Description |
void |
batchRemoveCatalogAttributes(request)
public batchRemoveCatalogAttributes(request: google.cloud.retail.v2beta.IBatchRemoveCatalogAttributesRequest): Promise<google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse>;
Calls BatchRemoveCatalogAttributes.
Name | Description |
request |
IBatchRemoveCatalogAttributesRequest
BatchRemoveCatalogAttributesRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.BatchRemoveCatalogAttributesResponse> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): CatalogService;
Creates new CatalogService 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 |
CatalogService | RPC service. Useful where requests and/or responses are streamed. |
getAttributesConfig(request, callback)
public getAttributesConfig(request: google.cloud.retail.v2beta.IGetAttributesConfigRequest, callback: google.cloud.retail.v2beta.CatalogService.GetAttributesConfigCallback): void;
Calls GetAttributesConfig.
Name | Description |
request |
google.cloud.retail.v2beta.IGetAttributesConfigRequest
GetAttributesConfigRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.GetAttributesConfigCallback
Node-style callback called with the error, if any, and AttributesConfig |
Type | Description |
void |
getAttributesConfig(request)
public getAttributesConfig(request: google.cloud.retail.v2beta.IGetAttributesConfigRequest): Promise<google.cloud.retail.v2beta.AttributesConfig>;
Calls GetAttributesConfig.
Name | Description |
request |
google.cloud.retail.v2beta.IGetAttributesConfigRequest
GetAttributesConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.AttributesConfig> | Promise |
getCompletionConfig(request, callback)
public getCompletionConfig(request: google.cloud.retail.v2beta.IGetCompletionConfigRequest, callback: google.cloud.retail.v2beta.CatalogService.GetCompletionConfigCallback): void;
Calls GetCompletionConfig.
Name | Description |
request |
google.cloud.retail.v2beta.IGetCompletionConfigRequest
GetCompletionConfigRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.GetCompletionConfigCallback
Node-style callback called with the error, if any, and CompletionConfig |
Type | Description |
void |
getCompletionConfig(request)
public getCompletionConfig(request: google.cloud.retail.v2beta.IGetCompletionConfigRequest): Promise<google.cloud.retail.v2beta.CompletionConfig>;
Calls GetCompletionConfig.
Name | Description |
request |
google.cloud.retail.v2beta.IGetCompletionConfigRequest
GetCompletionConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.CompletionConfig> | Promise |
getDefaultBranch(request, callback)
public getDefaultBranch(request: google.cloud.retail.v2beta.IGetDefaultBranchRequest, callback: google.cloud.retail.v2beta.CatalogService.GetDefaultBranchCallback): void;
Calls GetDefaultBranch.
Name | Description |
request |
IGetDefaultBranchRequest
GetDefaultBranchRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.GetDefaultBranchCallback
Node-style callback called with the error, if any, and GetDefaultBranchResponse |
Type | Description |
void |
getDefaultBranch(request)
public getDefaultBranch(request: google.cloud.retail.v2beta.IGetDefaultBranchRequest): Promise<google.cloud.retail.v2beta.GetDefaultBranchResponse>;
Calls GetDefaultBranch.
Name | Description |
request |
IGetDefaultBranchRequest
GetDefaultBranchRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.GetDefaultBranchResponse> | Promise |
listCatalogs(request, callback)
public listCatalogs(request: google.cloud.retail.v2beta.IListCatalogsRequest, callback: google.cloud.retail.v2beta.CatalogService.ListCatalogsCallback): void;
Calls ListCatalogs.
Name | Description |
request |
IListCatalogsRequest
ListCatalogsRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.ListCatalogsCallback
Node-style callback called with the error, if any, and ListCatalogsResponse |
Type | Description |
void |
listCatalogs(request)
public listCatalogs(request: google.cloud.retail.v2beta.IListCatalogsRequest): Promise<google.cloud.retail.v2beta.ListCatalogsResponse>;
Calls ListCatalogs.
Name | Description |
request |
IListCatalogsRequest
ListCatalogsRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.ListCatalogsResponse> | Promise |
removeCatalogAttribute(request, callback)
public removeCatalogAttribute(request: google.cloud.retail.v2beta.IRemoveCatalogAttributeRequest, callback: google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttributeCallback): void;
Calls RemoveCatalogAttribute.
Name | Description |
request |
IRemoveCatalogAttributeRequest
RemoveCatalogAttributeRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.RemoveCatalogAttributeCallback
Node-style callback called with the error, if any, and AttributesConfig |
Type | Description |
void |
removeCatalogAttribute(request)
public removeCatalogAttribute(request: google.cloud.retail.v2beta.IRemoveCatalogAttributeRequest): Promise<google.cloud.retail.v2beta.AttributesConfig>;
Calls RemoveCatalogAttribute.
Name | Description |
request |
IRemoveCatalogAttributeRequest
RemoveCatalogAttributeRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.AttributesConfig> | Promise |
replaceCatalogAttribute(request, callback)
public replaceCatalogAttribute(request: google.cloud.retail.v2beta.IReplaceCatalogAttributeRequest, callback: google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttributeCallback): void;
Calls ReplaceCatalogAttribute.
Name | Description |
request |
google.cloud.retail.v2beta.IReplaceCatalogAttributeRequest
ReplaceCatalogAttributeRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.ReplaceCatalogAttributeCallback
Node-style callback called with the error, if any, and AttributesConfig |
Type | Description |
void |
replaceCatalogAttribute(request)
public replaceCatalogAttribute(request: google.cloud.retail.v2beta.IReplaceCatalogAttributeRequest): Promise<google.cloud.retail.v2beta.AttributesConfig>;
Calls ReplaceCatalogAttribute.
Name | Description |
request |
google.cloud.retail.v2beta.IReplaceCatalogAttributeRequest
ReplaceCatalogAttributeRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.AttributesConfig> | Promise |
setDefaultBranch(request, callback)
public setDefaultBranch(request: google.cloud.retail.v2beta.ISetDefaultBranchRequest, callback: google.cloud.retail.v2beta.CatalogService.SetDefaultBranchCallback): void;
Calls SetDefaultBranch.
Name | Description |
request |
ISetDefaultBranchRequest
SetDefaultBranchRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.SetDefaultBranchCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
setDefaultBranch(request)
public setDefaultBranch(request: google.cloud.retail.v2beta.ISetDefaultBranchRequest): Promise<google.protobuf.Empty>;
Calls SetDefaultBranch.
Name | Description |
request |
ISetDefaultBranchRequest
SetDefaultBranchRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
updateAttributesConfig(request, callback)
public updateAttributesConfig(request: google.cloud.retail.v2beta.IUpdateAttributesConfigRequest, callback: google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfigCallback): void;
Calls UpdateAttributesConfig.
Name | Description |
request |
IUpdateAttributesConfigRequest
UpdateAttributesConfigRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.UpdateAttributesConfigCallback
Node-style callback called with the error, if any, and AttributesConfig |
Type | Description |
void |
updateAttributesConfig(request)
public updateAttributesConfig(request: google.cloud.retail.v2beta.IUpdateAttributesConfigRequest): Promise<google.cloud.retail.v2beta.AttributesConfig>;
Calls UpdateAttributesConfig.
Name | Description |
request |
IUpdateAttributesConfigRequest
UpdateAttributesConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.AttributesConfig> | Promise |
updateCatalog(request, callback)
public updateCatalog(request: google.cloud.retail.v2beta.IUpdateCatalogRequest, callback: google.cloud.retail.v2beta.CatalogService.UpdateCatalogCallback): void;
Calls UpdateCatalog.
Name | Description |
request |
google.cloud.retail.v2beta.IUpdateCatalogRequest
UpdateCatalogRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.UpdateCatalogCallback
Node-style callback called with the error, if any, and Catalog |
Type | Description |
void |
updateCatalog(request)
public updateCatalog(request: google.cloud.retail.v2beta.IUpdateCatalogRequest): Promise<google.cloud.retail.v2beta.Catalog>;
Calls UpdateCatalog.
Name | Description |
request |
google.cloud.retail.v2beta.IUpdateCatalogRequest
UpdateCatalogRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.Catalog> | Promise |
updateCompletionConfig(request, callback)
public updateCompletionConfig(request: google.cloud.retail.v2beta.IUpdateCompletionConfigRequest, callback: google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfigCallback): void;
Calls UpdateCompletionConfig.
Name | Description |
request |
google.cloud.retail.v2beta.IUpdateCompletionConfigRequest
UpdateCompletionConfigRequest message or plain object |
callback |
google.cloud.retail.v2beta.CatalogService.UpdateCompletionConfigCallback
Node-style callback called with the error, if any, and CompletionConfig |
Type | Description |
void |
updateCompletionConfig(request)
public updateCompletionConfig(request: google.cloud.retail.v2beta.IUpdateCompletionConfigRequest): Promise<google.cloud.retail.v2beta.CompletionConfig>;
Calls UpdateCompletionConfig.
Name | Description |
request |
google.cloud.retail.v2beta.IUpdateCompletionConfigRequest
UpdateCompletionConfigRequest message or plain object |
Type | Description |
Promise<google.cloud.retail.v2beta.CompletionConfig> | Promise |