Represents an AutofeedSettingsService
Inheritance
$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1beta.AutofeedSettingsServicePackage
@google-shopping/accountsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new AutofeedSettingsService 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): AutofeedSettingsService;
Creates new AutofeedSettingsService 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 |
AutofeedSettingsService |
RPC service. Useful where requests and/or responses are streamed. |
getAutofeedSettings(request, callback)
public getAutofeedSettings(request: google.shopping.merchant.accounts.v1beta.IGetAutofeedSettingsRequest, callback: google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.GetAutofeedSettingsCallback): void;
Calls GetAutofeedSettings.
Parameters | |
---|---|
Name | Description |
request |
IGetAutofeedSettingsRequest
GetAutofeedSettingsRequest message or plain object |
callback |
GetAutofeedSettingsCallback
Node-style callback called with the error, if any, and AutofeedSettings |
Returns | |
---|---|
Type | Description |
void |
getAutofeedSettings(request)
public getAutofeedSettings(request: google.shopping.merchant.accounts.v1beta.IGetAutofeedSettingsRequest): Promise<google.shopping.merchant.accounts.v1beta.AutofeedSettings>;
Calls GetAutofeedSettings.
Parameter | |
---|---|
Name | Description |
request |
IGetAutofeedSettingsRequest
GetAutofeedSettingsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.accounts.v1beta.AutofeedSettings> |
Promise |
updateAutofeedSettings(request, callback)
public updateAutofeedSettings(request: google.shopping.merchant.accounts.v1beta.IUpdateAutofeedSettingsRequest, callback: google.shopping.merchant.accounts.v1beta.AutofeedSettingsService.UpdateAutofeedSettingsCallback): void;
Calls UpdateAutofeedSettings.
Parameters | |
---|---|
Name | Description |
request |
IUpdateAutofeedSettingsRequest
UpdateAutofeedSettingsRequest message or plain object |
callback |
UpdateAutofeedSettingsCallback
Node-style callback called with the error, if any, and AutofeedSettings |
Returns | |
---|---|
Type | Description |
void |
updateAutofeedSettings(request)
public updateAutofeedSettings(request: google.shopping.merchant.accounts.v1beta.IUpdateAutofeedSettingsRequest): Promise<google.shopping.merchant.accounts.v1beta.AutofeedSettings>;
Calls UpdateAutofeedSettings.
Parameter | |
---|---|
Name | Description |
request |
IUpdateAutofeedSettingsRequest
UpdateAutofeedSettingsRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.accounts.v1beta.AutofeedSettings> |
Promise |