Google Cloud Security Command Center V2 Client - Class DataFlowEvent (2.1.0)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class DataFlowEvent.

Details about a data flow event, in which either the data is moved to or is accessed from a non-compliant geo-location, as defined in the applicable data security policy.

Generated from protobuf message google.cloud.securitycenter.v2.DataFlowEvent

Namespace

Google \ Cloud \ SecurityCenter \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ event_id string

Unique identifier for data flow event.

↳ principal_email string

The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.

↳ operation int

The operation performed by the principal for the data flow event.

↳ violated_location string

Non-compliant location of the principal or the data destination.

↳ event_time Google\Protobuf\Timestamp

Timestamp of data flow event.

getEventId

Unique identifier for data flow event.

Returns
Type Description
string

setEventId

Unique identifier for data flow event.

Parameter
Name Description
var string
Returns
Type Description
$this

getPrincipalEmail

The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.

Returns
Type Description
string

setPrincipalEmail

The email address of the principal that initiated the data flow event. The principal could be a user account, service account, Google group, or other.

Parameter
Name Description
var string
Returns
Type Description
$this

getOperation

The operation performed by the principal for the data flow event.

Returns
Type Description
int

setOperation

The operation performed by the principal for the data flow event.

Parameter
Name Description
var int
Returns
Type Description
$this

getViolatedLocation

Non-compliant location of the principal or the data destination.

Returns
Type Description
string

setViolatedLocation

Non-compliant location of the principal or the data destination.

Parameter
Name Description
var string
Returns
Type Description
$this

getEventTime

Timestamp of data flow event.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEventTime

clearEventTime

setEventTime

Timestamp of data flow event.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this