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."],[[["The latest version of the `Project` class documentation is 2.37.0-rc, and the current page is displaying information for version 2.26.0, with a list of available documentation links to other versions."],["The `Project` class is used to identify a Cloud project using its `project_id`, but it does not validate this project name until an RPC is executed."],["The class has constructors for creating copies, moves, and direct instantiation with a `project_id` string, as well as overloadable assignment operators."],["The `project_id()` function retrieves the `project_id` as a string, while the `FullName()` function returns the full project name in the format \"projects/\"."],["The format and additional info regarding the project ID can be found at the provided link: https://cloud.google.com/resource-manager/docs/creating-managing-projects."]]],[]]
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