Represents an AutomaticImprovementsService
Inheritance
$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1beta.AutomaticImprovementsServicePackage
@google-shopping/accountsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new AutomaticImprovementsService 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): AutomaticImprovementsService;Creates new AutomaticImprovementsService 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 |
AutomaticImprovementsService |
RPC service. Useful where requests and/or responses are streamed. |
getAutomaticImprovements(request, callback)
public getAutomaticImprovements(request: google.shopping.merchant.accounts.v1beta.IGetAutomaticImprovementsRequest, callback: google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.GetAutomaticImprovementsCallback): void;Calls GetAutomaticImprovements.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetAutomaticImprovementsRequest
GetAutomaticImprovementsRequest message or plain object |
callback |
GetAutomaticImprovementsCallback
Node-style callback called with the error, if any, and AutomaticImprovements |
| Returns | |
|---|---|
| Type | Description |
void |
|
getAutomaticImprovements(request)
public getAutomaticImprovements(request: google.shopping.merchant.accounts.v1beta.IGetAutomaticImprovementsRequest): Promise<google.shopping.merchant.accounts.v1beta.AutomaticImprovements>;Calls GetAutomaticImprovements.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetAutomaticImprovementsRequest
GetAutomaticImprovementsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1beta.AutomaticImprovements> |
Promise |
updateAutomaticImprovements(request, callback)
public updateAutomaticImprovements(request: google.shopping.merchant.accounts.v1beta.IUpdateAutomaticImprovementsRequest, callback: google.shopping.merchant.accounts.v1beta.AutomaticImprovementsService.UpdateAutomaticImprovementsCallback): void;Calls UpdateAutomaticImprovements.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateAutomaticImprovementsRequest
UpdateAutomaticImprovementsRequest message or plain object |
callback |
UpdateAutomaticImprovementsCallback
Node-style callback called with the error, if any, and AutomaticImprovements |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateAutomaticImprovements(request)
public updateAutomaticImprovements(request: google.shopping.merchant.accounts.v1beta.IUpdateAutomaticImprovementsRequest): Promise<google.shopping.merchant.accounts.v1beta.AutomaticImprovements>;Calls UpdateAutomaticImprovements.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateAutomaticImprovementsRequest
UpdateAutomaticImprovementsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1beta.AutomaticImprovements> |
Promise |