Google Cloud Migration Center V1 Client - Class GetAssetRequest (0.4.5)

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

Message for getting a Asset.

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

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.

↳ view int

View of the assets. Defaults to BASIC.

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

getView

View of the assets. Defaults to BASIC.

Returns
Type Description
int

setView

View of the assets. Defaults to BASIC.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

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