Google_Service_FirebaseManagement_Resource_ProjectsAvailableLocations
extends Google_Service_Resource
in package
The "availableLocations" collection of methods.
Typical usage is:
$firebaseService = new Google_Service_FirebaseManagement(...);
$availableLocations = $firebaseService->availableLocations;
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.
- listProjectsAvailableLocations() : Google_Service_FirebaseManagement_ListAvailableLocationsResponse
- Lists the valid Google Cloud Platform (GCP) resource locations for the specified Project (including a FirebaseProject). One of these locations can be selected as the Project's [_default_ GCP resource location](https://firebase.google.com/docs/projects/locations), which is the geographical location where the Project's resources, such as Cloud Firestore, will be provisioned by default. However, if the default GCP resource location has already been set for the Project, then this setting cannot be changed.
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$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
Tags
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
Return values
string —$requestUrl
listProjectsAvailableLocations()
Lists the valid Google Cloud Platform (GCP) resource locations for the specified Project (including a FirebaseProject). One of these locations can be selected as the Project's [_default_ GCP resource location](https://firebase.google.com/docs/projects/locations), which is the geographical location where the Project's resources, such as Cloud Firestore, will be provisioned by default. However, if the default GCP resource location has already been set for the Project, then this setting cannot be changed.
public
listProjectsAvailableLocations(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_FirebaseManagement_ListAvailableLocationsResponse
This call checks for any possible [location
restrictions](https://cloud.google.com/resource-manager/docs/organization-
policy/defining-locations) for the specified Project and, thus, might return
a subset of all possible GCP resource locations. To list all GCP resource
locations (regardless of any restrictions), call the endpoint without
specifying a unique project identifier (that is,
/v1beta1/{parent=projects/-}/listAvailableLocations). To call
ListAvailableLocations with a specified project, a member must be at
minimum a Viewer of the Project. Calls without a specified project do not
require any specific project permissions.
(availableLocations.listProjectsAvailableLocations)
Parameters
- $parent : string
-
The FirebaseProject for which to list GCP resource locations, in the format: projects/PROJECT_IDENTIFIER Refer to the
FirebaseProjectnamefield for details about PROJECT_IDENTIFIER values. If no unique project identifier is specified (that is,projects/-), the returned list does not take into account org-specific or project-specific location restrictions. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_FirebaseManagement_ListAvailableLocationsResponse —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed