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

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 MigrationCenterClient::assetName() for help formatting this field.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: