Google Cloud Migration Center V1 Client - Class FrameViolationEntry (0.2.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
NameDescription
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
TypeDescription
string

setField

The field of the original frame where the violation occurred.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getViolation

A message describing the violation.

Returns
TypeDescription
string

setViolation

A message describing the violation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this