Google Cloud Migration Center V1 Client - Class GetSourceRequest (1.0.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
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource.

getName

Required. Name of the resource.

Returns
Type Description
string

setName

Required. Name of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

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