Class TrafficForecastSegmentServiceClientImpl
TrafficForecastSegmentService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class TrafficForecastSegmentServiceClientImpl : TrafficForecastSegmentServiceClient
Remarks
Provides methods for handling TrafficForecastSegment objects.
Constructors
TrafficForecastSegmentServiceClientImpl(TrafficForecastSegmentServiceClient, TrafficForecastSegmentServiceSettings, ILogger)
Constructs a client wrapper for the TrafficForecastSegmentService service, with the specified gRPC client and settings.
Declaration
public TrafficForecastSegmentServiceClientImpl(TrafficForecastSegmentService.TrafficForecastSegmentServiceClient grpcClient, TrafficForecastSegmentServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| TrafficForecastSegmentService.TrafficForecastSegmentServiceClient | grpcClient | The underlying gRPC client. |
| TrafficForecastSegmentServiceSettings | settings | The base TrafficForecastSegmentServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC TrafficForecastSegmentService client
Declaration
public override TrafficForecastSegmentService.TrafficForecastSegmentServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| TrafficForecastSegmentService.TrafficForecastSegmentServiceClient |
Overrides
Methods
BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest, CallSettings)
Creates TrafficForecastSegment objects.
Declaration
public override BatchCreateTrafficForecastSegmentsResponse BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateTrafficForecastSegmentsRequest | 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 |
|---|---|
| BatchCreateTrafficForecastSegmentsResponse | The RPC response. |
Overrides
BatchCreateTrafficForecastSegmentsAsync(BatchCreateTrafficForecastSegmentsRequest, CallSettings)
Creates TrafficForecastSegment objects.
Declaration
public override Task<BatchCreateTrafficForecastSegmentsResponse> BatchCreateTrafficForecastSegmentsAsync(BatchCreateTrafficForecastSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateTrafficForecastSegmentsRequest | 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<BatchCreateTrafficForecastSegmentsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest, CallSettings)
Batch updates TrafficForecastSegment objects.
Declaration
public override BatchUpdateTrafficForecastSegmentsResponse BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateTrafficForecastSegmentsRequest | 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 |
|---|---|
| BatchUpdateTrafficForecastSegmentsResponse | The RPC response. |
Overrides
BatchUpdateTrafficForecastSegmentsAsync(BatchUpdateTrafficForecastSegmentsRequest, CallSettings)
Batch updates TrafficForecastSegment objects.
Declaration
public override Task<BatchUpdateTrafficForecastSegmentsResponse> BatchUpdateTrafficForecastSegmentsAsync(BatchUpdateTrafficForecastSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateTrafficForecastSegmentsRequest | 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<BatchUpdateTrafficForecastSegmentsResponse> | A Task containing the RPC response. |
Overrides
CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest, CallSettings)
Creates a TrafficForecastSegment object.
Declaration
public override TrafficForecastSegment CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTrafficForecastSegmentRequest | 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 |
|---|---|
| TrafficForecastSegment | The RPC response. |
Overrides
CreateTrafficForecastSegmentAsync(CreateTrafficForecastSegmentRequest, CallSettings)
Creates a TrafficForecastSegment object.
Declaration
public override Task<TrafficForecastSegment> CreateTrafficForecastSegmentAsync(CreateTrafficForecastSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateTrafficForecastSegmentRequest | 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<TrafficForecastSegment> | A Task containing the RPC response. |
Overrides
GetTrafficForecastSegment(GetTrafficForecastSegmentRequest, CallSettings)
Retrieves a TrafficForecastSegment object.
Declaration
public override TrafficForecastSegment GetTrafficForecastSegment(GetTrafficForecastSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTrafficForecastSegmentRequest | 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 |
|---|---|
| TrafficForecastSegment | The RPC response. |
Overrides
GetTrafficForecastSegmentAsync(GetTrafficForecastSegmentRequest, CallSettings)
Retrieves a TrafficForecastSegment object.
Declaration
public override Task<TrafficForecastSegment> GetTrafficForecastSegmentAsync(GetTrafficForecastSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetTrafficForecastSegmentRequest | 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<TrafficForecastSegment> | A Task containing the RPC response. |
Overrides
ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest, CallSettings)
Lists TrafficForecastSegment objects.
Declaration
public override PagedEnumerable<ListTrafficForecastSegmentsResponse, TrafficForecastSegment> ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTrafficForecastSegmentsRequest | 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<ListTrafficForecastSegmentsResponse, TrafficForecastSegment> | A pageable sequence of TrafficForecastSegment resources. |
Overrides
ListTrafficForecastSegmentsAsync(ListTrafficForecastSegmentsRequest, CallSettings)
Lists TrafficForecastSegment objects.
Declaration
public override PagedAsyncEnumerable<ListTrafficForecastSegmentsResponse, TrafficForecastSegment> ListTrafficForecastSegmentsAsync(ListTrafficForecastSegmentsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTrafficForecastSegmentsRequest | 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<ListTrafficForecastSegmentsResponse, TrafficForecastSegment> | A pageable asynchronous sequence of TrafficForecastSegment resources. |
Overrides
UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest, CallSettings)
Updates a TrafficForecastSegment object.
Declaration
public override TrafficForecastSegment UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTrafficForecastSegmentRequest | 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 |
|---|---|
| TrafficForecastSegment | The RPC response. |
Overrides
UpdateTrafficForecastSegmentAsync(UpdateTrafficForecastSegmentRequest, CallSettings)
Updates a TrafficForecastSegment object.
Declaration
public override Task<TrafficForecastSegment> UpdateTrafficForecastSegmentAsync(UpdateTrafficForecastSegmentRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTrafficForecastSegmentRequest | 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<TrafficForecastSegment> | A Task containing the RPC response. |