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

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

Optional. Data for populating the Message object.

↳ name string

Required. The Source name.

getName

Required. The Source name.

Returns
Type Description
string

setName

Required. The Source name.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

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