Class MapManagementClientImpl
MapManagement client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Maps.MapManagement.V2Beta
Assembly: Google.Maps.MapManagement.V2Beta.dll
Syntax
public sealed class MapManagementClientImpl : MapManagementClient
Remarks
The Map Management API uses your inputs to create and manage Google Cloud based styling resources for Google Maps.
Using this API, you can can create and manage MapConfigs (Map IDs), StyleConfigs (JSON-based styling), and MapContextConfigs (associations between styles, datasets, and map variants).
This API offers features through three channels:
v2alpha: Experimental features.v2beta: Preview features, recommended for early adoption.v2: General Availability (GA) features.
Capabilities described here are generally available across both the v2alpha and v2beta endpoints.
Constructors
MapManagementClientImpl(MapManagementClient, MapManagementSettings, ILogger)
Constructs a client wrapper for the MapManagement service, with the specified gRPC client and settings.
Declaration
public MapManagementClientImpl(MapManagement.MapManagementClient grpcClient, MapManagementSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| MapManagement.MapManagementClient | grpcClient | The underlying gRPC client. |
| MapManagementSettings | settings | The base MapManagementSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC MapManagement client
Declaration
public override MapManagement.MapManagementClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| MapManagement.MapManagementClient |
Overrides
Methods
CreateMapConfig(CreateMapConfigRequest, CallSettings)
Creates a MapConfig in a project.
Declaration
public override MapConfig CreateMapConfig(CreateMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMapConfigRequest | 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 |
|---|---|
| MapConfig | The RPC response. |
Overrides
CreateMapConfigAsync(CreateMapConfigRequest, CallSettings)
Creates a MapConfig in a project.
Declaration
public override Task<MapConfig> CreateMapConfigAsync(CreateMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMapConfigRequest | 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<MapConfig> | A Task containing the RPC response. |
Overrides
CreateMapContextConfig(CreateMapContextConfigRequest, CallSettings)
Creates a MapContextConfig.
Declaration
public override MapContextConfig CreateMapContextConfig(CreateMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMapContextConfigRequest | 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 |
|---|---|
| MapContextConfig | The RPC response. |
Overrides
CreateMapContextConfigAsync(CreateMapContextConfigRequest, CallSettings)
Creates a MapContextConfig.
Declaration
public override Task<MapContextConfig> CreateMapContextConfigAsync(CreateMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateMapContextConfigRequest | 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<MapContextConfig> | A Task containing the RPC response. |
Overrides
CreateStyleConfig(CreateStyleConfigRequest, CallSettings)
Creates a StyleConfig.
Declaration
public override StyleConfig CreateStyleConfig(CreateStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateStyleConfigRequest | 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 |
|---|---|
| StyleConfig | The RPC response. |
Overrides
CreateStyleConfigAsync(CreateStyleConfigRequest, CallSettings)
Creates a StyleConfig.
Declaration
public override Task<StyleConfig> CreateStyleConfigAsync(CreateStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateStyleConfigRequest | 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<StyleConfig> | A Task containing the RPC response. |
Overrides
DeleteMapConfig(DeleteMapConfigRequest, CallSettings)
Deletes a MapConfig.
Declaration
public override void DeleteMapConfig(DeleteMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMapConfigRequest | 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
DeleteMapConfigAsync(DeleteMapConfigRequest, CallSettings)
Deletes a MapConfig.
Declaration
public override Task DeleteMapConfigAsync(DeleteMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMapConfigRequest | 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
DeleteMapContextConfig(DeleteMapContextConfigRequest, CallSettings)
Deletes a MapContextConfig.
Declaration
public override void DeleteMapContextConfig(DeleteMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMapContextConfigRequest | 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
DeleteMapContextConfigAsync(DeleteMapContextConfigRequest, CallSettings)
Deletes a MapContextConfig.
Declaration
public override Task DeleteMapContextConfigAsync(DeleteMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteMapContextConfigRequest | 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
DeleteStyleConfig(DeleteStyleConfigRequest, CallSettings)
Deletes a StyleConfig.
Declaration
public override void DeleteStyleConfig(DeleteStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteStyleConfigRequest | 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
DeleteStyleConfigAsync(DeleteStyleConfigRequest, CallSettings)
Deletes a StyleConfig.
Declaration
public override Task DeleteStyleConfigAsync(DeleteStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteStyleConfigRequest | 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
GetMapConfig(GetMapConfigRequest, CallSettings)
Gets a MapConfig.
Declaration
public override MapConfig GetMapConfig(GetMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMapConfigRequest | 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 |
|---|---|
| MapConfig | The RPC response. |
Overrides
GetMapConfigAsync(GetMapConfigRequest, CallSettings)
Gets a MapConfig.
Declaration
public override Task<MapConfig> GetMapConfigAsync(GetMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMapConfigRequest | 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<MapConfig> | A Task containing the RPC response. |
Overrides
GetMapContextConfig(GetMapContextConfigRequest, CallSettings)
Gets a MapContextConfig.
Declaration
public override MapContextConfig GetMapContextConfig(GetMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMapContextConfigRequest | 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 |
|---|---|
| MapContextConfig | The RPC response. |
Overrides
GetMapContextConfigAsync(GetMapContextConfigRequest, CallSettings)
Gets a MapContextConfig.
Declaration
public override Task<MapContextConfig> GetMapContextConfigAsync(GetMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMapContextConfigRequest | 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<MapContextConfig> | A Task containing the RPC response. |
Overrides
GetStyleConfig(GetStyleConfigRequest, CallSettings)
Gets a StyleConfig.
Declaration
public override StyleConfig GetStyleConfig(GetStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetStyleConfigRequest | 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 |
|---|---|
| StyleConfig | The RPC response. |
Overrides
GetStyleConfigAsync(GetStyleConfigRequest, CallSettings)
Gets a StyleConfig.
Declaration
public override Task<StyleConfig> GetStyleConfigAsync(GetStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetStyleConfigRequest | 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<StyleConfig> | A Task containing the RPC response. |
Overrides
ListMapConfigs(ListMapConfigsRequest, CallSettings)
Lists MapConfigs for a project.
Declaration
public override PagedEnumerable<ListMapConfigsResponse, MapConfig> ListMapConfigs(ListMapConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMapConfigsRequest | 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<ListMapConfigsResponse, MapConfig> | A pageable sequence of MapConfig resources. |
Overrides
ListMapConfigsAsync(ListMapConfigsRequest, CallSettings)
Lists MapConfigs for a project.
Declaration
public override PagedAsyncEnumerable<ListMapConfigsResponse, MapConfig> ListMapConfigsAsync(ListMapConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMapConfigsRequest | 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<ListMapConfigsResponse, MapConfig> | A pageable asynchronous sequence of MapConfig resources. |
Overrides
ListMapContextConfigs(ListMapContextConfigsRequest, CallSettings)
Lists MapContextConfigs.
Declaration
public override PagedEnumerable<ListMapContextConfigsResponse, MapContextConfig> ListMapContextConfigs(ListMapContextConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMapContextConfigsRequest | 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<ListMapContextConfigsResponse, MapContextConfig> | A pageable sequence of MapContextConfig resources. |
Overrides
ListMapContextConfigsAsync(ListMapContextConfigsRequest, CallSettings)
Lists MapContextConfigs.
Declaration
public override PagedAsyncEnumerable<ListMapContextConfigsResponse, MapContextConfig> ListMapContextConfigsAsync(ListMapContextConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListMapContextConfigsRequest | 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<ListMapContextConfigsResponse, MapContextConfig> | A pageable asynchronous sequence of MapContextConfig resources. |
Overrides
ListStyleConfigs(ListStyleConfigsRequest, CallSettings)
Lists StyleConfigs.
Declaration
public override PagedEnumerable<ListStyleConfigsResponse, StyleConfig> ListStyleConfigs(ListStyleConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListStyleConfigsRequest | 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<ListStyleConfigsResponse, StyleConfig> | A pageable sequence of StyleConfig resources. |
Overrides
ListStyleConfigsAsync(ListStyleConfigsRequest, CallSettings)
Lists StyleConfigs.
Declaration
public override PagedAsyncEnumerable<ListStyleConfigsResponse, StyleConfig> ListStyleConfigsAsync(ListStyleConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListStyleConfigsRequest | 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<ListStyleConfigsResponse, StyleConfig> | A pageable asynchronous sequence of StyleConfig resources. |
Overrides
UpdateMapConfig(UpdateMapConfigRequest, CallSettings)
Updates a MapConfig.
Declaration
public override MapConfig UpdateMapConfig(UpdateMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateMapConfigRequest | 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 |
|---|---|
| MapConfig | The RPC response. |
Overrides
UpdateMapConfigAsync(UpdateMapConfigRequest, CallSettings)
Updates a MapConfig.
Declaration
public override Task<MapConfig> UpdateMapConfigAsync(UpdateMapConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateMapConfigRequest | 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<MapConfig> | A Task containing the RPC response. |
Overrides
UpdateMapContextConfig(UpdateMapContextConfigRequest, CallSettings)
Updates a MapContextConfig.
Declaration
public override MapContextConfig UpdateMapContextConfig(UpdateMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateMapContextConfigRequest | 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 |
|---|---|
| MapContextConfig | The RPC response. |
Overrides
UpdateMapContextConfigAsync(UpdateMapContextConfigRequest, CallSettings)
Updates a MapContextConfig.
Declaration
public override Task<MapContextConfig> UpdateMapContextConfigAsync(UpdateMapContextConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateMapContextConfigRequest | 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<MapContextConfig> | A Task containing the RPC response. |
Overrides
UpdateStyleConfig(UpdateStyleConfigRequest, CallSettings)
Updates a StyleConfig.
Declaration
public override StyleConfig UpdateStyleConfig(UpdateStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateStyleConfigRequest | 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 |
|---|---|
| StyleConfig | The RPC response. |
Overrides
UpdateStyleConfigAsync(UpdateStyleConfigRequest, CallSettings)
Updates a StyleConfig.
Declaration
public override Task<StyleConfig> UpdateStyleConfigAsync(UpdateStyleConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateStyleConfigRequest | 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<StyleConfig> | A Task containing the RPC response. |