Documentation

Google_Service_SemanticTile_Resource_Featuretiles extends Google_Service_Resource
in package

The "featuretiles" collection of methods.

Typical usage is: $vectortileService = new Google_Service_SemanticTile(...); $featuretiles = $vectortileService->featuretiles;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
get()  : Google_Service_SemanticTile_FeatureTile
Gets a feature tile by its tile resource name. (featuretiles.get)
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

get()

Gets a feature tile by its tile resource name. (featuretiles.get)

public get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_SemanticTile_FeatureTile
Parameters
$name : string

Required. Resource name of the tile. The tile resource name is prefixed by its collection ID tiles/ followed by the resource ID, which encodes the tile's global x and y coordinates and zoom level as @,,z. For example, tiles/@1,2,3z.

$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

string clientInfo.operatingSystem Operating system name and version as reported by the OS. For example, "Mac OS X 10.10.4". The exact format is platform-dependent.

opt_param

string regionCode Required. The Unicode country/region code (CLDR) of the location from which the request is coming from, such as "US" and "419". For more information, see http://www.unicode.org/reports/tr35/#unicode_region_subtag.

opt_param

string clientInfo.userId Required. A client-generated user ID. The ID should be generated and persisted during the first user session or whenever a pre-existing ID is not found. The exact format is up to the client. This must be non-empty in a GetFeatureTileRequest (whether via the header or GetFeatureTileRequest.client_info).

opt_param

bool enableDetailedHighwayTypes Flag indicating whether detailed highway types should be returned. If this is set, the CONTROLLED_ACCESS_HIGHWAY type may be returned. If not, then these highways will have the generic HIGHWAY type. This exists for backwards compatibility reasons.

opt_param

string clientInfo.platform Platform where the application is running.

opt_param

bool enableModeledVolumes Flag indicating whether 3D building models should be enabled. If this is set structures will be returned as 3D modeled volumes rather than 2.5D extruded areas where possible.

opt_param

string clientInfo.applicationId Application ID, such as the package name on Android and the bundle identifier on iOS platforms.

opt_param

string clientInfo.applicationVersion Application version number, such as "1.2.3". The exact format is application-dependent.

opt_param

bool enableUnclippedBuildings Flag indicating whether unclipped buildings should be returned. If this is set, building render ops will extend beyond the tile boundary. Buildings will only be returned on the tile that contains their centroid.

opt_param

bool enableFeatureNames Flag indicating whether human-readable names should be returned for features. If this is set, the display_name field on the feature will be filled out.

opt_param

bool enablePrivateRoads Flag indicating whether the returned tile will contain road features that are marked private. Private roads are indicated by the Feature.segment_info.road_info.is_private field.

opt_param

string clientInfo.deviceModel Device model as reported by the device. The exact format is platform-dependent.

opt_param

string clientTileVersionId Optional version id identifying the tile that is already in the client's cache. This field should be populated with the most recent version_id value returned by the API for the requested tile. If the version id is empty the server always returns a newly rendered tile. If it is provided the server checks if the tile contents would be identical to one that's already on the client, and if so, returns a stripped- down response tile with STATUS_OK_DATA_UNCHANGED instead.

opt_param

bool enablePoliticalFeatures Flag indicating whether political features should be returned.

opt_param

string languageCode Required. The BCP-47 language code corresponding to the language in which the name was requested, such as "en- US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

opt_param

string clientInfo.apiClient API client name and version. For example, the SDK calling the API. The exact format is up to the client.

Return values
Google_Service_SemanticTile_FeatureTile

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results