Google Cloud Migration Center V1 Client - Class GetSourceRequest (0.1.0)

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

A request to get a source.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource.

getName

Required. Name of the resource.

Returns
TypeDescription
string

setName

Required. Name of the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the resource. Please see Google\Cloud\MigrationCenter\V1\MigrationCenterClient::sourceName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\GetSourceRequest