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 details the `Project` class within the Google Cloud C++ library, which is used to identify a Cloud project by its `project_id`."],["The latest release candidate version is 2.37.0-rc, and the page provides links to documentation for several versions, ranging from 2.10.1 to 2.36.0."],["The `Project` class offers constructors to create project objects and includes functions to retrieve the `project_id` and the fully qualified project name."],["The class does not validate the `project_id`; it is the responsibility of the application to ensure a valid `project_id` is used."],["Copy and move methods are included within the class using the `=` operator."]]],[]]
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