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_1Project below:

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

Class Project (2.42.0-rc)

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.

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

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 &
Project(Project &&)

Copy and move

Parameter Name Description Project &&
Project(std::string)

Constructs a Project object identified by the given project_id.

Parameter Name Description project_id std::string
Operators operator=(Project const &)

Copy and move

Parameter Name Description Project const &
Returns Type Description Project & operator=(Project &&)

Copy and move

Parameter Name Description Project &&
Returns Type Description Project & Functions project_id() const

Returns the Project ID.

Returns Type Description std::string const & FullName() const

Returns the fully qualified project 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, with a history of versions going back to 2.10.1."],["This documentation is for the `google::cloud::Project` class, which is used to identify a Cloud project by its `project_id`."],["The class offers constructors for creating `Project` objects via copy/move or with a `project_id` string, along with operators for assignment via copy/move."],["The `project_id()` and `FullName()` functions provide access to the project's ID and its fully qualified name, respectively."],["Validation of the `project_id` is not performed by this class; it is the responsibility of the application to ensure the `project_id` provided is valid, with checks only occurring during RPC usage."]]],[]]


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