Class UserListDirectLicenseServiceClientImpl
UserListDirectLicenseService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.DataManager.V1
Assembly: Google.Ads.DataManager.V1.dll
Syntax
public sealed class UserListDirectLicenseServiceClientImpl : UserListDirectLicenseServiceClient
Remarks
Service for managing user list direct licenses. Delete is not a supported operation for UserListDirectLicenses. Callers should update the license status to DISABLED to instead to deactivate a license.
This feature is only available to data partners.
Constructors
UserListDirectLicenseServiceClientImpl(UserListDirectLicenseServiceClient, UserListDirectLicenseServiceSettings, ILogger)
Constructs a client wrapper for the UserListDirectLicenseService service, with the specified gRPC client and settings.
Declaration
public UserListDirectLicenseServiceClientImpl(UserListDirectLicenseService.UserListDirectLicenseServiceClient grpcClient, UserListDirectLicenseServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| UserListDirectLicenseService.UserListDirectLicenseServiceClient | grpcClient | The underlying gRPC client. |
| UserListDirectLicenseServiceSettings | settings | The base UserListDirectLicenseServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC UserListDirectLicenseService client
Declaration
public override UserListDirectLicenseService.UserListDirectLicenseServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| UserListDirectLicenseService.UserListDirectLicenseServiceClient |
Overrides
Methods
CreateUserListDirectLicense(CreateUserListDirectLicenseRequest, CallSettings)
Creates a user list direct license.
This feature is only available to data partners.
Declaration
public override UserListDirectLicense CreateUserListDirectLicense(CreateUserListDirectLicenseRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateUserListDirectLicenseRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| UserListDirectLicense | The RPC response. |
Overrides
CreateUserListDirectLicenseAsync(CreateUserListDirectLicenseRequest, CallSettings)
Creates a user list direct license.
This feature is only available to data partners.
Declaration
public override Task<UserListDirectLicense> CreateUserListDirectLicenseAsync(CreateUserListDirectLicenseRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateUserListDirectLicenseRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<UserListDirectLicense> | A Task containing the RPC response. |
Overrides
GetUserListDirectLicense(GetUserListDirectLicenseRequest, CallSettings)
Retrieves a user list direct license.
This feature is only available to data partners.
Declaration
public override UserListDirectLicense GetUserListDirectLicense(GetUserListDirectLicenseRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserListDirectLicenseRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| UserListDirectLicense | The RPC response. |
Overrides
GetUserListDirectLicenseAsync(GetUserListDirectLicenseRequest, CallSettings)
Retrieves a user list direct license.
This feature is only available to data partners.
Declaration
public override Task<UserListDirectLicense> GetUserListDirectLicenseAsync(GetUserListDirectLicenseRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetUserListDirectLicenseRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<UserListDirectLicense> | A Task containing the RPC response. |
Overrides
ListUserListDirectLicenses(ListUserListDirectLicensesRequest, CallSettings)
Lists all user list direct licenses owned by the parent account.
This feature is only available to data partners.
Declaration
public override PagedEnumerable<ListUserListDirectLicensesResponse, UserListDirectLicense> ListUserListDirectLicenses(ListUserListDirectLicensesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListUserListDirectLicensesRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListUserListDirectLicensesResponse, UserListDirectLicense> | A pageable sequence of UserListDirectLicense resources. |
Overrides
ListUserListDirectLicensesAsync(ListUserListDirectLicensesRequest, CallSettings)
Lists all user list direct licenses owned by the parent account.
This feature is only available to data partners.
Declaration
public override PagedAsyncEnumerable<ListUserListDirectLicensesResponse, UserListDirectLicense> ListUserListDirectLicensesAsync(ListUserListDirectLicensesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListUserListDirectLicensesRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListUserListDirectLicensesResponse, UserListDirectLicense> | A pageable asynchronous sequence of UserListDirectLicense resources. |
Overrides
UpdateUserListDirectLicense(UpdateUserListDirectLicenseRequest, CallSettings)
Updates a user list direct license.
This feature is only available to data partners.
Declaration
public override UserListDirectLicense UpdateUserListDirectLicense(UpdateUserListDirectLicenseRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateUserListDirectLicenseRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| UserListDirectLicense | The RPC response. |
Overrides
UpdateUserListDirectLicenseAsync(UpdateUserListDirectLicenseRequest, CallSettings)
Updates a user list direct license.
This feature is only available to data partners.
Declaration
public override Task<UserListDirectLicense> UpdateUserListDirectLicenseAsync(UpdateUserListDirectLicenseRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateUserListDirectLicenseRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<UserListDirectLicense> | A Task containing the RPC response. |