Show / Hide Table of Contents

Class TrafficForecastSegmentService.TrafficForecastSegmentServiceClient

Client for TrafficForecastSegmentService

Inheritance
object
ClientBase
ClientBase<TrafficForecastSegmentService.TrafficForecastSegmentServiceClient>
TrafficForecastSegmentService.TrafficForecastSegmentServiceClient
Inherited Members
ClientBase<TrafficForecastSegmentService.TrafficForecastSegmentServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class TrafficForecastSegmentService.TrafficForecastSegmentServiceClient : ClientBase<TrafficForecastSegmentService.TrafficForecastSegmentServiceClient>

Constructors

TrafficForecastSegmentServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected TrafficForecastSegmentServiceClient()

TrafficForecastSegmentServiceClient(CallInvoker)

Creates a new client for TrafficForecastSegmentService that uses a custom CallInvoker.

Declaration
public TrafficForecastSegmentServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

TrafficForecastSegmentServiceClient(ChannelBase)

Creates a new client for TrafficForecastSegmentService

Declaration
public TrafficForecastSegmentServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

TrafficForecastSegmentServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected TrafficForecastSegmentServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest, CallOptions)

Creates TrafficForecastSegment objects.

Declaration
public virtual BatchCreateTrafficForecastSegmentsResponse BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateTrafficForecastSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse

The response received from the server.

BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest, Metadata, DateTime?, CancellationToken)

Creates TrafficForecastSegment objects.

Declaration
public virtual BatchCreateTrafficForecastSegmentsResponse BatchCreateTrafficForecastSegments(BatchCreateTrafficForecastSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateTrafficForecastSegmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchCreateTrafficForecastSegmentsResponse

The response received from the server.

BatchCreateTrafficForecastSegmentsAsync(BatchCreateTrafficForecastSegmentsRequest, CallOptions)

Creates TrafficForecastSegment objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateTrafficForecastSegmentsResponse> BatchCreateTrafficForecastSegmentsAsync(BatchCreateTrafficForecastSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateTrafficForecastSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateTrafficForecastSegmentsResponse>

The call object.

BatchCreateTrafficForecastSegmentsAsync(BatchCreateTrafficForecastSegmentsRequest, Metadata, DateTime?, CancellationToken)

Creates TrafficForecastSegment objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateTrafficForecastSegmentsResponse> BatchCreateTrafficForecastSegmentsAsync(BatchCreateTrafficForecastSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateTrafficForecastSegmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateTrafficForecastSegmentsResponse>

The call object.

BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest, CallOptions)

Batch updates TrafficForecastSegment objects.

Declaration
public virtual BatchUpdateTrafficForecastSegmentsResponse BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateTrafficForecastSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateTrafficForecastSegmentsResponse

The response received from the server.

BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest, Metadata, DateTime?, CancellationToken)

Batch updates TrafficForecastSegment objects.

Declaration
public virtual BatchUpdateTrafficForecastSegmentsResponse BatchUpdateTrafficForecastSegments(BatchUpdateTrafficForecastSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateTrafficForecastSegmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
BatchUpdateTrafficForecastSegmentsResponse

The response received from the server.

BatchUpdateTrafficForecastSegmentsAsync(BatchUpdateTrafficForecastSegmentsRequest, CallOptions)

Batch updates TrafficForecastSegment objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateTrafficForecastSegmentsResponse> BatchUpdateTrafficForecastSegmentsAsync(BatchUpdateTrafficForecastSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateTrafficForecastSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateTrafficForecastSegmentsResponse>

The call object.

BatchUpdateTrafficForecastSegmentsAsync(BatchUpdateTrafficForecastSegmentsRequest, Metadata, DateTime?, CancellationToken)

Batch updates TrafficForecastSegment objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateTrafficForecastSegmentsResponse> BatchUpdateTrafficForecastSegmentsAsync(BatchUpdateTrafficForecastSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateTrafficForecastSegmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateTrafficForecastSegmentsResponse>

The call object.

CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest, CallOptions)

Creates a TrafficForecastSegment object.

Declaration
public virtual TrafficForecastSegment CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest request, CallOptions options)
Parameters
Type Name Description
CreateTrafficForecastSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
TrafficForecastSegment

The response received from the server.

CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest, Metadata, DateTime?, CancellationToken)

Creates a TrafficForecastSegment object.

Declaration
public virtual TrafficForecastSegment CreateTrafficForecastSegment(CreateTrafficForecastSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateTrafficForecastSegmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
TrafficForecastSegment

The response received from the server.

CreateTrafficForecastSegmentAsync(CreateTrafficForecastSegmentRequest, CallOptions)

Creates a TrafficForecastSegment object.

Declaration
public virtual AsyncUnaryCall<TrafficForecastSegment> CreateTrafficForecastSegmentAsync(CreateTrafficForecastSegmentRequest request, CallOptions options)
Parameters
Type Name Description
CreateTrafficForecastSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<TrafficForecastSegment>

The call object.

CreateTrafficForecastSegmentAsync(CreateTrafficForecastSegmentRequest, Metadata, DateTime?, CancellationToken)

Creates a TrafficForecastSegment object.

Declaration
public virtual AsyncUnaryCall<TrafficForecastSegment> CreateTrafficForecastSegmentAsync(CreateTrafficForecastSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateTrafficForecastSegmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<TrafficForecastSegment>

The call object.

GetTrafficForecastSegment(GetTrafficForecastSegmentRequest, CallOptions)

Retrieves a TrafficForecastSegment object.

Declaration
public virtual TrafficForecastSegment GetTrafficForecastSegment(GetTrafficForecastSegmentRequest request, CallOptions options)
Parameters
Type Name Description
GetTrafficForecastSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
TrafficForecastSegment

The response received from the server.

GetTrafficForecastSegment(GetTrafficForecastSegmentRequest, Metadata, DateTime?, CancellationToken)

Retrieves a TrafficForecastSegment object.

Declaration
public virtual TrafficForecastSegment GetTrafficForecastSegment(GetTrafficForecastSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetTrafficForecastSegmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
TrafficForecastSegment

The response received from the server.

GetTrafficForecastSegmentAsync(GetTrafficForecastSegmentRequest, CallOptions)

Retrieves a TrafficForecastSegment object.

Declaration
public virtual AsyncUnaryCall<TrafficForecastSegment> GetTrafficForecastSegmentAsync(GetTrafficForecastSegmentRequest request, CallOptions options)
Parameters
Type Name Description
GetTrafficForecastSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<TrafficForecastSegment>

The call object.

GetTrafficForecastSegmentAsync(GetTrafficForecastSegmentRequest, Metadata, DateTime?, CancellationToken)

Retrieves a TrafficForecastSegment object.

Declaration
public virtual AsyncUnaryCall<TrafficForecastSegment> GetTrafficForecastSegmentAsync(GetTrafficForecastSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetTrafficForecastSegmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<TrafficForecastSegment>

The call object.

ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest, CallOptions)

Lists TrafficForecastSegment objects.

Declaration
public virtual ListTrafficForecastSegmentsResponse ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
ListTrafficForecastSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListTrafficForecastSegmentsResponse

The response received from the server.

ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest, Metadata, DateTime?, CancellationToken)

Lists TrafficForecastSegment objects.

Declaration
public virtual ListTrafficForecastSegmentsResponse ListTrafficForecastSegments(ListTrafficForecastSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListTrafficForecastSegmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListTrafficForecastSegmentsResponse

The response received from the server.

ListTrafficForecastSegmentsAsync(ListTrafficForecastSegmentsRequest, CallOptions)

Lists TrafficForecastSegment objects.

Declaration
public virtual AsyncUnaryCall<ListTrafficForecastSegmentsResponse> ListTrafficForecastSegmentsAsync(ListTrafficForecastSegmentsRequest request, CallOptions options)
Parameters
Type Name Description
ListTrafficForecastSegmentsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListTrafficForecastSegmentsResponse>

The call object.

ListTrafficForecastSegmentsAsync(ListTrafficForecastSegmentsRequest, Metadata, DateTime?, CancellationToken)

Lists TrafficForecastSegment objects.

Declaration
public virtual AsyncUnaryCall<ListTrafficForecastSegmentsResponse> ListTrafficForecastSegmentsAsync(ListTrafficForecastSegmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListTrafficForecastSegmentsRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListTrafficForecastSegmentsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override TrafficForecastSegmentService.TrafficForecastSegmentServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
TrafficForecastSegmentService.TrafficForecastSegmentServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.TrafficForecastSegmentService.TrafficForecastSegmentServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest, CallOptions)

Updates a TrafficForecastSegment object.

Declaration
public virtual TrafficForecastSegment UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest request, CallOptions options)
Parameters
Type Name Description
UpdateTrafficForecastSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
TrafficForecastSegment

The response received from the server.

UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest, Metadata, DateTime?, CancellationToken)

Updates a TrafficForecastSegment object.

Declaration
public virtual TrafficForecastSegment UpdateTrafficForecastSegment(UpdateTrafficForecastSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateTrafficForecastSegmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
TrafficForecastSegment

The response received from the server.

UpdateTrafficForecastSegmentAsync(UpdateTrafficForecastSegmentRequest, CallOptions)

Updates a TrafficForecastSegment object.

Declaration
public virtual AsyncUnaryCall<TrafficForecastSegment> UpdateTrafficForecastSegmentAsync(UpdateTrafficForecastSegmentRequest request, CallOptions options)
Parameters
Type Name Description
UpdateTrafficForecastSegmentRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<TrafficForecastSegment>

The call object.

UpdateTrafficForecastSegmentAsync(UpdateTrafficForecastSegmentRequest, Metadata, DateTime?, CancellationToken)

Updates a TrafficForecastSegment object.

Declaration
public virtual AsyncUnaryCall<TrafficForecastSegment> UpdateTrafficForecastSegmentAsync(UpdateTrafficForecastSegmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateTrafficForecastSegmentRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<TrafficForecastSegment>

The call object.

In this article
Back to top Generated by DocFX