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

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
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The TargetProject name.

getName

Required. The TargetProject name.

Returns
Type Description
string

setName

Required. The TargetProject name.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\VMMigration\V1\GetTargetProjectRequest