Class TrafficForecastSegmentService.TrafficForecastSegmentServiceBase
Base class for server-side implementations of TrafficForecastSegmentService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(TrafficForecastSegmentService), "BindService")]
public abstract class TrafficForecastSegmentService.TrafficForecastSegmentServiceBase
Methods
BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest, ServerCallContext)
Creates TrafficForecastSegment objects.
Declaration
public virtual Task<BatchCreateTrafficForecastSegmentsResponse> BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateTrafficForecastSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateTrafficForecastSegmentsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest, ServerCallContext)
Batch updates TrafficForecastSegment objects.
Declaration
public virtual Task<BatchUpdateTrafficForecastSegmentsResponse> BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateTrafficForecastSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateTrafficForecastSegmentsResponse> | The response to send back to the client (wrapped by a task). |
CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest, ServerCallContext)
Creates a TrafficForecastSegment object.
Declaration
public virtual Task<TrafficForecastSegment> CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTrafficForecastSegmentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<TrafficForecastSegment> | The response to send back to the client (wrapped by a task). |
GetTrafficForecastSegment(GetTrafficForecastSegmentRequest, ServerCallContext)
Retrieves a TrafficForecastSegment object.
Declaration
public virtual Task<TrafficForecastSegment> GetTrafficForecastSegment(GetTrafficForecastSegmentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTrafficForecastSegmentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<TrafficForecastSegment> | The response to send back to the client (wrapped by a task). |
ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest, ServerCallContext)
Lists TrafficForecastSegment objects.
Declaration
public virtual Task<ListTrafficForecastSegmentsResponse> ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTrafficForecastSegmentsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListTrafficForecastSegmentsResponse> | The response to send back to the client (wrapped by a task). |
UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest, ServerCallContext)
Updates a TrafficForecastSegment object.
Declaration
public virtual Task<TrafficForecastSegment> UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTrafficForecastSegmentRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<TrafficForecastSegment> | The response to send back to the client (wrapped by a task). |