Google Cloud Resource Manager V3 Client - Class GetProjectRequest (0.6.1)

Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class GetProjectRequest.

The request sent to the GetProject method.

Generated from protobuf message google.cloud.resourcemanager.v3.GetProjectRequest

Namespace

Google \ Cloud \ ResourceManager \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the project (for example, projects/415104041262).

getName

Required. The name of the project (for example, projects/415104041262).

Returns
TypeDescription
string

setName

Required. The name of the project (for example, projects/415104041262).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the project (for example, projects/415104041262). Please see Google\Cloud\ResourceManager\V3\ProjectsClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\GetProjectRequest