Represents a UserListDirectLicenseService
Inheritance
$protobuf.rpc.Service > protos.google.ads.datamanager.v1.UserListDirectLicenseServicePackage
@google-ads/datamanagerConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new UserListDirectLicenseService 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): UserListDirectLicenseService;Creates new UserListDirectLicenseService 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 |
UserListDirectLicenseService |
RPC service. Useful where requests and/or responses are streamed. |
createUserListDirectLicense(request, callback)
public createUserListDirectLicense(request: google.ads.datamanager.v1.ICreateUserListDirectLicenseRequest, callback: google.ads.datamanager.v1.UserListDirectLicenseService.CreateUserListDirectLicenseCallback): void;Calls CreateUserListDirectLicense.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateUserListDirectLicenseRequest
CreateUserListDirectLicenseRequest message or plain object |
callback |
CreateUserListDirectLicenseCallback
Node-style callback called with the error, if any, and UserListDirectLicense |
| Returns | |
|---|---|
| Type | Description |
void |
|
createUserListDirectLicense(request)
public createUserListDirectLicense(request: google.ads.datamanager.v1.ICreateUserListDirectLicenseRequest): Promise<google.ads.datamanager.v1.UserListDirectLicense>;Calls CreateUserListDirectLicense.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateUserListDirectLicenseRequest
CreateUserListDirectLicenseRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.datamanager.v1.UserListDirectLicense> |
Promise |
getUserListDirectLicense(request, callback)
public getUserListDirectLicense(request: google.ads.datamanager.v1.IGetUserListDirectLicenseRequest, callback: google.ads.datamanager.v1.UserListDirectLicenseService.GetUserListDirectLicenseCallback): void;Calls GetUserListDirectLicense.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetUserListDirectLicenseRequest
GetUserListDirectLicenseRequest message or plain object |
callback |
GetUserListDirectLicenseCallback
Node-style callback called with the error, if any, and UserListDirectLicense |
| Returns | |
|---|---|
| Type | Description |
void |
|
getUserListDirectLicense(request)
public getUserListDirectLicense(request: google.ads.datamanager.v1.IGetUserListDirectLicenseRequest): Promise<google.ads.datamanager.v1.UserListDirectLicense>;Calls GetUserListDirectLicense.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetUserListDirectLicenseRequest
GetUserListDirectLicenseRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.datamanager.v1.UserListDirectLicense> |
Promise |
listUserListDirectLicenses(request, callback)
public listUserListDirectLicenses(request: google.ads.datamanager.v1.IListUserListDirectLicensesRequest, callback: google.ads.datamanager.v1.UserListDirectLicenseService.ListUserListDirectLicensesCallback): void;Calls ListUserListDirectLicenses.
| Parameters | |
|---|---|
| Name | Description |
request |
IListUserListDirectLicensesRequest
ListUserListDirectLicensesRequest message or plain object |
callback |
ListUserListDirectLicensesCallback
Node-style callback called with the error, if any, and ListUserListDirectLicensesResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listUserListDirectLicenses(request)
public listUserListDirectLicenses(request: google.ads.datamanager.v1.IListUserListDirectLicensesRequest): Promise<google.ads.datamanager.v1.ListUserListDirectLicensesResponse>;Calls ListUserListDirectLicenses.
| Parameter | |
|---|---|
| Name | Description |
request |
IListUserListDirectLicensesRequest
ListUserListDirectLicensesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.datamanager.v1.ListUserListDirectLicensesResponse> |
Promise |
updateUserListDirectLicense(request, callback)
public updateUserListDirectLicense(request: google.ads.datamanager.v1.IUpdateUserListDirectLicenseRequest, callback: google.ads.datamanager.v1.UserListDirectLicenseService.UpdateUserListDirectLicenseCallback): void;Calls UpdateUserListDirectLicense.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateUserListDirectLicenseRequest
UpdateUserListDirectLicenseRequest message or plain object |
callback |
UpdateUserListDirectLicenseCallback
Node-style callback called with the error, if any, and UserListDirectLicense |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateUserListDirectLicense(request)
public updateUserListDirectLicense(request: google.ads.datamanager.v1.IUpdateUserListDirectLicenseRequest): Promise<google.ads.datamanager.v1.UserListDirectLicense>;Calls UpdateUserListDirectLicense.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateUserListDirectLicenseRequest
UpdateUserListDirectLicenseRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.ads.datamanager.v1.UserListDirectLicense> |
Promise |