Google Cloud Migration Center V1 Client - Class GetReportRequest (1.2.0)

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

A request to get a Report.

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

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

Determines what information to retrieve for the Report.

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

Determines what information to retrieve for the Report.

Returns
Type Description
int Enum of type ReportView.

setView

Determines what information to retrieve for the Report.

Parameter
Name Description
var int

Enum of type ReportView.

Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the resource. Please see MigrationCenterClient::reportName() for help formatting this field.

Returns
Type Description
GetReportRequest