Class: Google::Apis::VectortileV1::SemanticTileService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::VectortileV1::SemanticTileService
- Defined in:
- generated/google/apis/vectortile_v1/service.rb
Overview
Semantic Tile API
Serves vector tiles containing geospatial data.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#get_featuretile(name, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, client_tile_version_id: nil, enable_detailed_highway_types: nil, enable_feature_names: nil, enable_modeled_volumes: nil, enable_political_features: nil, enable_private_roads: nil, enable_unclipped_buildings: nil, language_code: nil, region_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VectortileV1::FeatureTile
Gets a feature tile by its tile resource name.
-
#get_terraintile(name, altitude_precision_centimeters: nil, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, max_elevation_resolution_cells: nil, min_elevation_resolution_cells: nil, terrain_formats: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VectortileV1::TerrainTile
Gets a terrain tile by its tile resource name.
-
#initialize ⇒ SemanticTileService
constructor
A new instance of SemanticTileService.
Constructor Details
#initialize ⇒ SemanticTileService
Returns a new instance of SemanticTileService.
45 46 47 48 |
# File 'generated/google/apis/vectortile_v1/service.rb', line 45 def initialize super('https://vectortile.googleapis.com/', '') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'generated/google/apis/vectortile_v1/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
43 44 45 |
# File 'generated/google/apis/vectortile_v1/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#get_featuretile(name, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, client_tile_version_id: nil, enable_detailed_highway_types: nil, enable_feature_names: nil, enable_modeled_volumes: nil, enable_political_features: nil, enable_private_roads: nil, enable_unclipped_buildings: nil, language_code: nil, region_code: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VectortileV1::FeatureTile
Gets a feature tile by its tile resource name.
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
# File 'generated/google/apis/vectortile_v1/service.rb', line 133 def get_featuretile(name, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, client_tile_version_id: nil, enable_detailed_highway_types: nil, enable_feature_names: nil, enable_modeled_volumes: nil, enable_political_features: nil, enable_private_roads: nil, enable_unclipped_buildings: nil, language_code: nil, region_code: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VectortileV1::FeatureTile::Representation command.response_class = Google::Apis::VectortileV1::FeatureTile command.params['name'] = name unless name.nil? command.query['clientInfo.apiClient'] = client_info_api_client unless client_info_api_client.nil? command.query['clientInfo.applicationId'] = client_info_application_id unless client_info_application_id.nil? command.query['clientInfo.applicationVersion'] = client_info_application_version unless client_info_application_version.nil? command.query['clientInfo.deviceModel'] = client_info_device_model unless client_info_device_model.nil? command.query['clientInfo.operatingSystem'] = unless .nil? command.query['clientInfo.platform'] = client_info_platform unless client_info_platform.nil? command.query['clientInfo.userId'] = client_info_user_id unless client_info_user_id.nil? command.query['clientTileVersionId'] = client_tile_version_id unless client_tile_version_id.nil? command.query['enableDetailedHighwayTypes'] = enable_detailed_highway_types unless enable_detailed_highway_types.nil? command.query['enableFeatureNames'] = enable_feature_names unless enable_feature_names.nil? command.query['enableModeledVolumes'] = enable_modeled_volumes unless enable_modeled_volumes.nil? command.query['enablePoliticalFeatures'] = enable_political_features unless enable_political_features.nil? command.query['enablePrivateRoads'] = enable_private_roads unless enable_private_roads.nil? command.query['enableUnclippedBuildings'] = enable_unclipped_buildings unless enable_unclipped_buildings.nil? command.query['languageCode'] = language_code unless language_code.nil? command.query['regionCode'] = region_code unless region_code.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_terraintile(name, altitude_precision_centimeters: nil, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, max_elevation_resolution_cells: nil, min_elevation_resolution_cells: nil, terrain_formats: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::VectortileV1::TerrainTile
Gets a terrain tile by its tile resource name.
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'generated/google/apis/vectortile_v1/service.rb', line 225 def get_terraintile(name, altitude_precision_centimeters: nil, client_info_api_client: nil, client_info_application_id: nil, client_info_application_version: nil, client_info_device_model: nil, client_info_operating_system: nil, client_info_platform: nil, client_info_user_id: nil, max_elevation_resolution_cells: nil, min_elevation_resolution_cells: nil, terrain_formats: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}', ) command.response_representation = Google::Apis::VectortileV1::TerrainTile::Representation command.response_class = Google::Apis::VectortileV1::TerrainTile command.params['name'] = name unless name.nil? command.query['altitudePrecisionCentimeters'] = altitude_precision_centimeters unless altitude_precision_centimeters.nil? command.query['clientInfo.apiClient'] = client_info_api_client unless client_info_api_client.nil? command.query['clientInfo.applicationId'] = client_info_application_id unless client_info_application_id.nil? command.query['clientInfo.applicationVersion'] = client_info_application_version unless client_info_application_version.nil? command.query['clientInfo.deviceModel'] = client_info_device_model unless client_info_device_model.nil? command.query['clientInfo.operatingSystem'] = unless .nil? command.query['clientInfo.platform'] = client_info_platform unless client_info_platform.nil? command.query['clientInfo.userId'] = client_info_user_id unless client_info_user_id.nil? command.query['maxElevationResolutionCells'] = max_elevation_resolution_cells unless max_elevation_resolution_cells.nil? command.query['minElevationResolutionCells'] = min_elevation_resolution_cells unless min_elevation_resolution_cells.nil? command.query['terrainFormats'] = terrain_formats unless terrain_formats.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |