Represents a DeveloperRegistrationService
Inheritance
$protobuf.rpc.Service > protos.google.shopping.merchant.accounts.v1.DeveloperRegistrationServicePackage
@google-shopping/accountsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new DeveloperRegistrationService 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): DeveloperRegistrationService;Creates new DeveloperRegistrationService 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 |
DeveloperRegistrationService |
RPC service. Useful where requests and/or responses are streamed. |
getAccountForGcpRegistration(request, callback)
public getAccountForGcpRegistration(request: google.protobuf.IEmpty, callback: google.shopping.merchant.accounts.v1.DeveloperRegistrationService.GetAccountForGcpRegistrationCallback): void;Calls GetAccountForGcpRegistration.
| Parameters | |
|---|---|
| Name | Description |
request |
IEmpty
Empty message or plain object |
callback |
GetAccountForGcpRegistrationCallback
Node-style callback called with the error, if any, and GetAccountForGcpRegistrationResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
getAccountForGcpRegistration(request)
public getAccountForGcpRegistration(request: google.protobuf.IEmpty): Promise<google.shopping.merchant.accounts.v1.GetAccountForGcpRegistrationResponse>;Calls GetAccountForGcpRegistration.
| Parameter | |
|---|---|
| Name | Description |
request |
IEmpty
Empty message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1.GetAccountForGcpRegistrationResponse> |
Promise |
getDeveloperRegistration(request, callback)
public getDeveloperRegistration(request: google.shopping.merchant.accounts.v1.IGetDeveloperRegistrationRequest, callback: google.shopping.merchant.accounts.v1.DeveloperRegistrationService.GetDeveloperRegistrationCallback): void;Calls GetDeveloperRegistration.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetDeveloperRegistrationRequest
GetDeveloperRegistrationRequest message or plain object |
callback |
GetDeveloperRegistrationCallback
Node-style callback called with the error, if any, and DeveloperRegistration |
| Returns | |
|---|---|
| Type | Description |
void |
|
getDeveloperRegistration(request)
public getDeveloperRegistration(request: google.shopping.merchant.accounts.v1.IGetDeveloperRegistrationRequest): Promise<google.shopping.merchant.accounts.v1.DeveloperRegistration>;Calls GetDeveloperRegistration.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetDeveloperRegistrationRequest
GetDeveloperRegistrationRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1.DeveloperRegistration> |
Promise |
registerGcp(request, callback)
public registerGcp(request: google.shopping.merchant.accounts.v1.IRegisterGcpRequest, callback: google.shopping.merchant.accounts.v1.DeveloperRegistrationService.RegisterGcpCallback): void;Calls RegisterGcp.
| Parameters | |
|---|---|
| Name | Description |
request |
IRegisterGcpRequest
RegisterGcpRequest message or plain object |
callback |
RegisterGcpCallback
Node-style callback called with the error, if any, and DeveloperRegistration |
| Returns | |
|---|---|
| Type | Description |
void |
|
registerGcp(request)
public registerGcp(request: google.shopping.merchant.accounts.v1.IRegisterGcpRequest): Promise<google.shopping.merchant.accounts.v1.DeveloperRegistration>;Calls RegisterGcp.
| Parameter | |
|---|---|
| Name | Description |
request |
IRegisterGcpRequest
RegisterGcpRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.shopping.merchant.accounts.v1.DeveloperRegistration> |
Promise |
unregisterGcp(request, callback)
public unregisterGcp(request: google.shopping.merchant.accounts.v1.IUnregisterGcpRequest, callback: google.shopping.merchant.accounts.v1.DeveloperRegistrationService.UnregisterGcpCallback): void;Calls UnregisterGcp.
| Parameters | |
|---|---|
| Name | Description |
request |
IUnregisterGcpRequest
UnregisterGcpRequest message or plain object |
callback |
UnregisterGcpCallback
Node-style callback called with the error, if any, and Empty |
| Returns | |
|---|---|
| Type | Description |
void |
|
unregisterGcp(request)
public unregisterGcp(request: google.shopping.merchant.accounts.v1.IUnregisterGcpRequest): Promise<google.protobuf.Empty>;Calls UnregisterGcp.
| Parameter | |
|---|---|
| Name | Description |
request |
IUnregisterGcpRequest
UnregisterGcpRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.protobuf.Empty> |
Promise |