Google Cloud Vm Migration V1 Client - Class GetTargetProjectRequest (0.5.2)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class GetTargetProjectRequest.

Request message for 'GetTargetProject' call.

Generated from protobuf message google.cloud.vmmigration.v1.GetTargetProjectRequest

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The TargetProject name.

getName

Required. The TargetProject name.

Returns
TypeDescription
string

setName

Required. The TargetProject name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The TargetProject name. Please see Google\Cloud\VMMigration\V1\VmMigrationClient::targetProjectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\VMMigration\V1\GetTargetProjectRequest