Google Cloud Migration Center V1 Client - Class FrameViolationEntry (1.0.0)

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

A resource that contains a single violation of a reported AssetFrame resource.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ field string

The field of the original frame where the violation occurred.

↳ violation string

A message describing the violation.

getField

The field of the original frame where the violation occurred.

Returns
Type Description
string

setField

The field of the original frame where the violation occurred.

Parameter
Name Description
var string
Returns
Type Description
$this

getViolation

A message describing the violation.

Returns
Type Description
string

setViolation

A message describing the violation.

Parameter
Name Description
var string
Returns
Type Description
$this