Class Location (2.27.0)

A representation of a Cloud Location.

A Cloud location is identified by its project_id and location_id.

For more info about locations, see https://cloud.google.com/about/locations

Constructors

Location(Location const &)

Copy and move

Parameter
Name Description
Location const &

Location(Location &&)

Copy and move

Parameter
Name Description
Location &&

Location(Project, std::string)

Constructs a Location object identified by the given project and location_id.

Parameters
Name Description
project Project
location_id std::string

Location(std::string, std::string)

Constructs a Location_id object identified by the given IDs.

This is equivalent to first constructing a Project from the given project_id and then calling the Location(Project, std::string) constructor.

Parameters
Name Description
project_id std::string
location_id std::string

Operators

operator=(Location const &)

Copy and move

Parameter
Name Description
Location const &
Returns
Type Description
Location &

operator=(Location &&)

Copy and move

Parameter
Name Description
Location &&
Returns
Type Description
Location &

Functions

project() const

Returns the Project containing this location.

Returns
Type Description
Project const &

project_id() const

Returns
Type Description
std::string const &

location_id() const

Returns the Location ID.

Returns
Type Description
std::string const &

FullName() const

Returns the fully qualified location name as a string of the form: "projects/

Returns
Type Description
std::string