Google Cloud Resource Manager V3 Client - Class UndeleteProjectRequest (0.5.0)

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

The request sent to the [UndeleteProject] [google.cloud.resourcemanager.v3.Projects.UndeleteProject] method.

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

Methods

build

Parameter
NameDescription
name string

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

Required. Please see {@see \Google\Cloud\ResourceManager\V3\ProjectsClient::projectName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\ResourceManager\V3\UndeleteProjectRequest

__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). Required.

getName

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

Required.

Returns
TypeDescription
string

setName

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

Required.

Parameter
NameDescription
var string
Returns
TypeDescription
$this