Show / Hide Table of Contents

Class MapsPlatformDatasets.MapsPlatformDatasetsClient

Client for MapsPlatformDatasets

Inheritance
object
ClientBase
ClientBase<MapsPlatformDatasets.MapsPlatformDatasetsClient>
MapsPlatformDatasets.MapsPlatformDatasetsClient
Inherited Members
ClientBase<MapsPlatformDatasets.MapsPlatformDatasetsClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Maps.MapsPlatformDatasets.V1
Assembly: Google.Maps.MapsPlatformDatasets.V1.dll
Syntax
public class MapsPlatformDatasets.MapsPlatformDatasetsClient : ClientBase<MapsPlatformDatasets.MapsPlatformDatasetsClient>

Constructors

MapsPlatformDatasetsClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected MapsPlatformDatasetsClient()

MapsPlatformDatasetsClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

MapsPlatformDatasetsClient(ChannelBase)

Creates a new client for MapsPlatformDatasets

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

The channel to use to make remote calls.

MapsPlatformDatasetsClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

CreateDataset(CreateDatasetRequest, CallOptions)

Creates a new dataset for the specified project.

Declaration
public virtual Dataset CreateDataset(CreateDatasetRequest request, CallOptions options)
Parameters
Type Name Description
CreateDatasetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Dataset

The response received from the server.

CreateDataset(CreateDatasetRequest, Metadata, DateTime?, CancellationToken)

Creates a new dataset for the specified project.

Declaration
public virtual Dataset CreateDataset(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateDatasetRequest 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
Dataset

The response received from the server.

CreateDatasetAsync(CreateDatasetRequest, CallOptions)

Creates a new dataset for the specified project.

Declaration
public virtual AsyncUnaryCall<Dataset> CreateDatasetAsync(CreateDatasetRequest request, CallOptions options)
Parameters
Type Name Description
CreateDatasetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Dataset>

The call object.

CreateDatasetAsync(CreateDatasetRequest, Metadata, DateTime?, CancellationToken)

Creates a new dataset for the specified project.

Declaration
public virtual AsyncUnaryCall<Dataset> CreateDatasetAsync(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateDatasetRequest 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<Dataset>

The call object.

DeleteDataset(DeleteDatasetRequest, CallOptions)

Deletes the specified dataset.

Declaration
public virtual Empty DeleteDataset(DeleteDatasetRequest request, CallOptions options)
Parameters
Type Name Description
DeleteDatasetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataset(DeleteDatasetRequest, Metadata, DateTime?, CancellationToken)

Deletes the specified dataset.

Declaration
public virtual Empty DeleteDataset(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteDatasetRequest 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
Empty

The response received from the server.

DeleteDatasetAsync(DeleteDatasetRequest, CallOptions)

Deletes the specified dataset.

Declaration
public virtual AsyncUnaryCall<Empty> DeleteDatasetAsync(DeleteDatasetRequest request, CallOptions options)
Parameters
Type Name Description
DeleteDatasetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteDatasetAsync(DeleteDatasetRequest, Metadata, DateTime?, CancellationToken)

Deletes the specified dataset.

Declaration
public virtual AsyncUnaryCall<Empty> DeleteDatasetAsync(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteDatasetRequest 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<Empty>

The call object.

FetchDatasetErrors(FetchDatasetErrorsRequest, CallOptions)

Gets all the errors of a dataset.

Declaration
public virtual FetchDatasetErrorsResponse FetchDatasetErrors(FetchDatasetErrorsRequest request, CallOptions options)
Parameters
Type Name Description
FetchDatasetErrorsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
FetchDatasetErrorsResponse

The response received from the server.

FetchDatasetErrors(FetchDatasetErrorsRequest, Metadata, DateTime?, CancellationToken)

Gets all the errors of a dataset.

Declaration
public virtual FetchDatasetErrorsResponse FetchDatasetErrors(FetchDatasetErrorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
FetchDatasetErrorsRequest 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
FetchDatasetErrorsResponse

The response received from the server.

FetchDatasetErrorsAsync(FetchDatasetErrorsRequest, CallOptions)

Gets all the errors of a dataset.

Declaration
public virtual AsyncUnaryCall<FetchDatasetErrorsResponse> FetchDatasetErrorsAsync(FetchDatasetErrorsRequest request, CallOptions options)
Parameters
Type Name Description
FetchDatasetErrorsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<FetchDatasetErrorsResponse>

The call object.

FetchDatasetErrorsAsync(FetchDatasetErrorsRequest, Metadata, DateTime?, CancellationToken)

Gets all the errors of a dataset.

Declaration
public virtual AsyncUnaryCall<FetchDatasetErrorsResponse> FetchDatasetErrorsAsync(FetchDatasetErrorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
FetchDatasetErrorsRequest 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<FetchDatasetErrorsResponse>

The call object.

GetDataset(GetDatasetRequest, CallOptions)

Gets the dataset.

Declaration
public virtual Dataset GetDataset(GetDatasetRequest request, CallOptions options)
Parameters
Type Name Description
GetDatasetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Dataset

The response received from the server.

GetDataset(GetDatasetRequest, Metadata, DateTime?, CancellationToken)

Gets the dataset.

Declaration
public virtual Dataset GetDataset(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetDatasetRequest 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
Dataset

The response received from the server.

GetDatasetAsync(GetDatasetRequest, CallOptions)

Gets the dataset.

Declaration
public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, CallOptions options)
Parameters
Type Name Description
GetDatasetRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Dataset>

The call object.

GetDatasetAsync(GetDatasetRequest, Metadata, DateTime?, CancellationToken)

Gets the dataset.

Declaration
public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetDatasetRequest 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<Dataset>

The call object.

ListDatasets(ListDatasetsRequest, CallOptions)

Lists all the datasets for the specified project.

Declaration
public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, CallOptions options)
Parameters
Type Name Description
ListDatasetsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListDatasetsResponse

The response received from the server.

ListDatasets(ListDatasetsRequest, Metadata, DateTime?, CancellationToken)

Lists all the datasets for the specified project.

Declaration
public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListDatasetsRequest 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
ListDatasetsResponse

The response received from the server.

ListDatasetsAsync(ListDatasetsRequest, CallOptions)

Lists all the datasets for the specified project.

Declaration
public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, CallOptions options)
Parameters
Type Name Description
ListDatasetsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListDatasetsResponse>

The call object.

ListDatasetsAsync(ListDatasetsRequest, Metadata, DateTime?, CancellationToken)

Lists all the datasets for the specified project.

Declaration
public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListDatasetsRequest 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<ListDatasetsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override MapsPlatformDatasets.MapsPlatformDatasetsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
MapsPlatformDatasets.MapsPlatformDatasetsClient
Overrides
Grpc.Core.ClientBase<Google.Maps.MapsPlatformDatasets.V1.MapsPlatformDatasets.MapsPlatformDatasetsClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateDatasetMetadata(UpdateDatasetMetadataRequest, CallOptions)

Updates the metadata for the dataset.

Declaration
public virtual Dataset UpdateDatasetMetadata(UpdateDatasetMetadataRequest request, CallOptions options)
Parameters
Type Name Description
UpdateDatasetMetadataRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Dataset

The response received from the server.

UpdateDatasetMetadata(UpdateDatasetMetadataRequest, Metadata, DateTime?, CancellationToken)

Updates the metadata for the dataset.

Declaration
public virtual Dataset UpdateDatasetMetadata(UpdateDatasetMetadataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateDatasetMetadataRequest 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
Dataset

The response received from the server.

UpdateDatasetMetadataAsync(UpdateDatasetMetadataRequest, CallOptions)

Updates the metadata for the dataset.

Declaration
public virtual AsyncUnaryCall<Dataset> UpdateDatasetMetadataAsync(UpdateDatasetMetadataRequest request, CallOptions options)
Parameters
Type Name Description
UpdateDatasetMetadataRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Dataset>

The call object.

UpdateDatasetMetadataAsync(UpdateDatasetMetadataRequest, Metadata, DateTime?, CancellationToken)

Updates the metadata for the dataset.

Declaration
public virtual AsyncUnaryCall<Dataset> UpdateDatasetMetadataAsync(UpdateDatasetMetadataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateDatasetMetadataRequest 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<Dataset>

The call object.

In this article
Back to top Generated by DocFX