Class MapsPlatformDatasetsClientImpl
MapsPlatformDatasets client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Maps.MapsPlatformDatasets.V1
Assembly: Google.Maps.MapsPlatformDatasets.V1.dll
Syntax
public sealed class MapsPlatformDatasetsClientImpl : MapsPlatformDatasetsClient
Remarks
Service definition for the Maps Platform Datasets API.
Constructors
MapsPlatformDatasetsClientImpl(MapsPlatformDatasetsClient, MapsPlatformDatasetsSettings, ILogger)
Constructs a client wrapper for the MapsPlatformDatasets service, with the specified gRPC client and settings.
Declaration
public MapsPlatformDatasetsClientImpl(MapsPlatformDatasets.MapsPlatformDatasetsClient grpcClient, MapsPlatformDatasetsSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
MapsPlatformDatasets.MapsPlatformDatasetsClient | grpcClient | The underlying gRPC client. |
MapsPlatformDatasetsSettings | settings | The base MapsPlatformDatasetsSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC MapsPlatformDatasets client
Declaration
public override MapsPlatformDatasets.MapsPlatformDatasetsClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
MapsPlatformDatasets.MapsPlatformDatasetsClient |
Overrides
Methods
CreateDataset(CreateDatasetRequest, CallSettings)
Creates a new dataset for the specified project.
Declaration
public override Dataset CreateDataset(CreateDatasetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDatasetRequest | 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 |
---|---|
Dataset | The RPC response. |
Overrides
CreateDatasetAsync(CreateDatasetRequest, CallSettings)
Creates a new dataset for the specified project.
Declaration
public override Task<Dataset> CreateDatasetAsync(CreateDatasetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
CreateDatasetRequest | 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<Dataset> | A Task containing the RPC response. |
Overrides
DeleteDataset(DeleteDatasetRequest, CallSettings)
Deletes the specified dataset.
Declaration
public override void DeleteDataset(DeleteDatasetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDatasetRequest | request | The request object containing all of the parameters for the API call. |
CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteDatasetAsync(DeleteDatasetRequest, CallSettings)
Deletes the specified dataset.
Declaration
public override Task DeleteDatasetAsync(DeleteDatasetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteDatasetRequest | 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 | A Task containing the RPC response. |
Overrides
FetchDatasetErrors(FetchDatasetErrorsRequest, CallSettings)
Gets all the errors of a dataset.
Declaration
public override PagedEnumerable<FetchDatasetErrorsResponse, Status> FetchDatasetErrors(FetchDatasetErrorsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FetchDatasetErrorsRequest | 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<FetchDatasetErrorsResponse, Status> | A pageable sequence of Status resources. |
Overrides
FetchDatasetErrorsAsync(FetchDatasetErrorsRequest, CallSettings)
Gets all the errors of a dataset.
Declaration
public override PagedAsyncEnumerable<FetchDatasetErrorsResponse, Status> FetchDatasetErrorsAsync(FetchDatasetErrorsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
FetchDatasetErrorsRequest | 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<FetchDatasetErrorsResponse, Status> | A pageable asynchronous sequence of Status resources. |
Overrides
GetDataset(GetDatasetRequest, CallSettings)
Gets the dataset.
Declaration
public override Dataset GetDataset(GetDatasetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDatasetRequest | 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 |
---|---|
Dataset | The RPC response. |
Overrides
GetDatasetAsync(GetDatasetRequest, CallSettings)
Gets the dataset.
Declaration
public override Task<Dataset> GetDatasetAsync(GetDatasetRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetDatasetRequest | 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<Dataset> | A Task containing the RPC response. |
Overrides
ListDatasets(ListDatasetsRequest, CallSettings)
Lists all the datasets for the specified project.
Declaration
public override PagedEnumerable<ListDatasetsResponse, Dataset> ListDatasets(ListDatasetsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDatasetsRequest | 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<ListDatasetsResponse, Dataset> | A pageable sequence of Dataset resources. |
Overrides
ListDatasetsAsync(ListDatasetsRequest, CallSettings)
Lists all the datasets for the specified project.
Declaration
public override PagedAsyncEnumerable<ListDatasetsResponse, Dataset> ListDatasetsAsync(ListDatasetsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListDatasetsRequest | 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<ListDatasetsResponse, Dataset> | A pageable asynchronous sequence of Dataset resources. |
Overrides
UpdateDatasetMetadata(UpdateDatasetMetadataRequest, CallSettings)
Updates the metadata for the dataset.
Declaration
public override Dataset UpdateDatasetMetadata(UpdateDatasetMetadataRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDatasetMetadataRequest | 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 |
---|---|
Dataset | The RPC response. |
Overrides
UpdateDatasetMetadataAsync(UpdateDatasetMetadataRequest, CallSettings)
Updates the metadata for the dataset.
Declaration
public override Task<Dataset> UpdateDatasetMetadataAsync(UpdateDatasetMetadataRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
UpdateDatasetMetadataRequest | 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<Dataset> | A Task containing the RPC response. |