Represents a ConversionSourcesService
Inheritance
$protobuf.rpc.Service > protos.google.shopping.merchant.conversions.v1beta.ConversionSourcesServicePackage
@google-shopping/conversionsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ConversionSourcesService 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): ConversionSourcesService;
Creates new ConversionSourcesService 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 |
ConversionSourcesService | RPC service. Useful where requests and/or responses are streamed. |
createConversionSource(request, callback)
public createConversionSource(request: google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest, callback: google.shopping.merchant.conversions.v1beta.ConversionSourcesService.CreateConversionSourceCallback): void;
Calls CreateConversionSource.
Parameters | |
---|---|
Name | Description |
request |
ICreateConversionSourceRequest
CreateConversionSourceRequest message or plain object |
callback |
CreateConversionSourceCallback
Node-style callback called with the error, if any, and ConversionSource |
Returns | |
---|---|
Type | Description |
void |
createConversionSource(request)
public createConversionSource(request: google.shopping.merchant.conversions.v1beta.ICreateConversionSourceRequest): Promise<google.shopping.merchant.conversions.v1beta.ConversionSource>;
Calls CreateConversionSource.
Parameter | |
---|---|
Name | Description |
request |
ICreateConversionSourceRequest
CreateConversionSourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.conversions.v1beta.ConversionSource> | Promise |
deleteConversionSource(request, callback)
public deleteConversionSource(request: google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest, callback: google.shopping.merchant.conversions.v1beta.ConversionSourcesService.DeleteConversionSourceCallback): void;
Calls DeleteConversionSource.
Parameters | |
---|---|
Name | Description |
request |
IDeleteConversionSourceRequest
DeleteConversionSourceRequest message or plain object |
callback |
DeleteConversionSourceCallback
Node-style callback called with the error, if any, and Empty |
Returns | |
---|---|
Type | Description |
void |
deleteConversionSource(request)
public deleteConversionSource(request: google.shopping.merchant.conversions.v1beta.IDeleteConversionSourceRequest): Promise<google.protobuf.Empty>;
Calls DeleteConversionSource.
Parameter | |
---|---|
Name | Description |
request |
IDeleteConversionSourceRequest
DeleteConversionSourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getConversionSource(request, callback)
public getConversionSource(request: google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest, callback: google.shopping.merchant.conversions.v1beta.ConversionSourcesService.GetConversionSourceCallback): void;
Calls GetConversionSource.
Parameters | |
---|---|
Name | Description |
request |
IGetConversionSourceRequest
GetConversionSourceRequest message or plain object |
callback |
GetConversionSourceCallback
Node-style callback called with the error, if any, and ConversionSource |
Returns | |
---|---|
Type | Description |
void |
getConversionSource(request)
public getConversionSource(request: google.shopping.merchant.conversions.v1beta.IGetConversionSourceRequest): Promise<google.shopping.merchant.conversions.v1beta.ConversionSource>;
Calls GetConversionSource.
Parameter | |
---|---|
Name | Description |
request |
IGetConversionSourceRequest
GetConversionSourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.conversions.v1beta.ConversionSource> | Promise |
listConversionSources(request, callback)
public listConversionSources(request: google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest, callback: google.shopping.merchant.conversions.v1beta.ConversionSourcesService.ListConversionSourcesCallback): void;
Calls ListConversionSources.
Parameters | |
---|---|
Name | Description |
request |
IListConversionSourcesRequest
ListConversionSourcesRequest message or plain object |
callback |
ListConversionSourcesCallback
Node-style callback called with the error, if any, and ListConversionSourcesResponse |
Returns | |
---|---|
Type | Description |
void |
listConversionSources(request)
public listConversionSources(request: google.shopping.merchant.conversions.v1beta.IListConversionSourcesRequest): Promise<google.shopping.merchant.conversions.v1beta.ListConversionSourcesResponse>;
Calls ListConversionSources.
Parameter | |
---|---|
Name | Description |
request |
IListConversionSourcesRequest
ListConversionSourcesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.conversions.v1beta.ListConversionSourcesResponse> | Promise |
undeleteConversionSource(request, callback)
public undeleteConversionSource(request: google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest, callback: google.shopping.merchant.conversions.v1beta.ConversionSourcesService.UndeleteConversionSourceCallback): void;
Calls UndeleteConversionSource.
Parameters | |
---|---|
Name | Description |
request |
IUndeleteConversionSourceRequest
UndeleteConversionSourceRequest message or plain object |
callback |
UndeleteConversionSourceCallback
Node-style callback called with the error, if any, and ConversionSource |
Returns | |
---|---|
Type | Description |
void |
undeleteConversionSource(request)
public undeleteConversionSource(request: google.shopping.merchant.conversions.v1beta.IUndeleteConversionSourceRequest): Promise<google.shopping.merchant.conversions.v1beta.ConversionSource>;
Calls UndeleteConversionSource.
Parameter | |
---|---|
Name | Description |
request |
IUndeleteConversionSourceRequest
UndeleteConversionSourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.conversions.v1beta.ConversionSource> | Promise |
updateConversionSource(request, callback)
public updateConversionSource(request: google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest, callback: google.shopping.merchant.conversions.v1beta.ConversionSourcesService.UpdateConversionSourceCallback): void;
Calls UpdateConversionSource.
Parameters | |
---|---|
Name | Description |
request |
IUpdateConversionSourceRequest
UpdateConversionSourceRequest message or plain object |
callback |
UpdateConversionSourceCallback
Node-style callback called with the error, if any, and ConversionSource |
Returns | |
---|---|
Type | Description |
void |
updateConversionSource(request)
public updateConversionSource(request: google.shopping.merchant.conversions.v1beta.IUpdateConversionSourceRequest): Promise<google.shopping.merchant.conversions.v1beta.ConversionSource>;
Calls UpdateConversionSource.
Parameter | |
---|---|
Name | Description |
request |
IUpdateConversionSourceRequest
UpdateConversionSourceRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.shopping.merchant.conversions.v1beta.ConversionSource> | Promise |