Google Cloud Notebooks V2 Client - Class Event (0.7.0)

Reference documentation and code samples for the Google Cloud Notebooks V2 Client class Event.

The definition of an Event for a managed / semi-managed notebook instance.

Generated from protobuf message google.cloud.notebooks.v2.Event

Namespace

Google \ Cloud \ Notebooks \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ report_time Google\Protobuf\Timestamp

Optional. Event report time.

↳ type int

Optional. Event type.

↳ details array|Google\Protobuf\Internal\MapField

Optional. Event details. This field is used to pass event information.

getReportTime

Optional. Event report time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasReportTime

clearReportTime

setReportTime

Optional. Event report time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getType

Optional. Event type.

Returns
TypeDescription
int

setType

Optional. Event type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetails

Optional. Event details. This field is used to pass event information.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setDetails

Optional. Event details. This field is used to pass event information.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this