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