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 2.10.1 through 2.37.0-rc."],["The `Project` class represents a Cloud project, identified by its `project_id`, and is designed to handle project name representation."],["The `Project` class provides constructors for copying, moving, and creating a project object with a `project_id`."],["The `Project` class includes functions such as `project_id()` to get the project ID, and `FullName()` to retrieve the fully qualified project name, as well as copy and move operators."],["It is the responsibility of the application to provide a valid `project_id` as the class doesn't 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