A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Location below:

Class Location (2.42.0-rc) | C++ Client Libraries

Class Location (2.42.0-rc)

Stay organized with collections Save and categorize content based on your preferences.

A representation of a Cloud Location.

A Cloud location is identified by its project_id and location_id.

Note: This class makes no effort to validate the components of the location name. It is the application's responsibility to provide valid project and location ids. Passing invalid values will not be checked until the location name is used in an RPC.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-14 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["The latest version available is 2.37.0-rc, and there are multiple past versions available, ranging from 2.36.0 down to 2.10.1."],["This documentation describes the `Location` class, which represents a Google Cloud location identified by a `project_id` and `location_id`."],["The `Location` class offers various constructors, including ones that take `Project` and `std::string` objects or two `std::string` objects for the `project_id` and `location_id`."],["The `Location` class provides methods to retrieve the `Project`, `project_id`, and `location_id` as well as `FullName()` to give the full qualified location name, and also contains copy/move constructors and operators."],["The class will not validate the values provided to it, and relies on the user to enter valid project and location ids."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4