Stay organized with collections Save and categorize content based on your preferences.
This class identifies a Cloud Project.
A Cloud project is identified by its project_id
.
For more info about the
project_id
format, see
https://cloud.google.com/resource-manager/docs/creating-managing-projects Constructors Project(Project const &)Copy and move
Parameter Name Description
Project const &
Copy and move
Parameter Name Description
Project &&
Constructs a Project object identified by the given project_id
.
project_id
std::string
Copy and move
Parameter Name Description
Project const &
Project &
operator=(Project &&)
Copy and move
Parameter Name Description
Project &&
Project &
Functions project_id() const
Returns the Project ID.
Returns Type Descriptionstd::string const &
FullName() const
Returns the fully qualified project name as a string of the form: "projects/
Returns Type Descriptionstd::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."],[[["This page provides documentation for the `Project` class within the Google Cloud C++ library, specifically covering versions ranging from 2.10.1 to the latest release candidate 2.37.0-rc."],["The `Project` class represents a Cloud project and is primarily identified by its `project_id`."],["The class offers constructors to create `Project` objects, including one that accepts a `project_id` as a `std::string`, as well as copy and move constructors."],["The `Project` class provides methods to retrieve the `project_id` and the fully qualified project name, including `project_id()` and `FullName()`."],["The documentation notes that it is the application's responsibility to provide a valid project ID as the class itself does not validate the components of the project name until it is used in an RPC."]]],[]]
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