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

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetProjectRequest