Class ApplicationService.ApplicationServiceBase
Base class for server-side implementations of ApplicationService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ApplicationService), "BindService")]
public abstract class ApplicationService.ApplicationServiceBase
Methods
GetApplication(GetApplicationRequest, ServerCallContext)
API to retrieve a Application object.
Declaration
public virtual Task<Application> GetApplication(GetApplicationRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetApplicationRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Application> | The response to send back to the client (wrapped by a task). |
ListApplications(ListApplicationsRequest, ServerCallContext)
API to retrieve a list of Application objects.
Declaration
public virtual Task<ListApplicationsResponse> ListApplications(ListApplicationsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListApplicationsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListApplicationsResponse> | The response to send back to the client (wrapped by a task). |