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

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

Request message for 'GetSource' request.

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The Source name.

getName

Required. The Source name.

Returns
TypeDescription
string

setName

Required. The Source name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

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

Returns
TypeDescription
Google\Cloud\VMMigration\V1\GetSourceRequest