class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $migrationcenterService = new Google\Service\MigrationCenterAPI(...);
 $locations = $migrationcenterService->projects_locations;

Methods

get(string $name, array $optParams = [])

Gets information about a location. (locations.get)

getSettings(string $name, array $optParams = [])

Gets the details of regional settings. (locations.getSettings)

listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

updateSettings(string $name, Settings $postBody, array $optParams = [])

Updates the regional-level project settings. (locations.updateSettings)

Details

Location get(string $name, array $optParams = [])

Gets information about a location. (locations.get)

Parameters

string $name

Resource name for the location.

array $optParams

Optional parameters.

Return Value

Location

Exceptions

Exception

Settings getSettings(string $name, array $optParams = [])

Gets the details of regional settings. (locations.getSettings)

Parameters

string $name

Required. Name of the resource.

array $optParams

Optional parameters.

Return Value

Settings

Exceptions

Exception

ListLocationsResponse listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

(locations.listProjectsLocations)

Parameters

string $name

The resource that owns the locations collection, if applicable.

array $optParams

Optional parameters.

Return Value

ListLocationsResponse

Exceptions

Exception

Operation updateSettings(string $name, Settings $postBody, array $optParams = [])

Updates the regional-level project settings. (locations.updateSettings)

Parameters

string $name

Output only. The name of the resource.

Settings $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception