Google Cloud Notebooks V1 Client - Class Event (1.0.2)

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

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

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ report_time Google\Protobuf\Timestamp

Event report time.

↳ type int

Event type.

↳ details array|Google\Protobuf\Internal\MapField

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

getReportTime

Event report time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasReportTime

clearReportTime

setReportTime

Event report time.

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

getType

Event type.

Returns
Type Description
int

setType

Event type.

Parameter
Name Description
var int
Returns
Type Description
$this

getDetails

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

Returns
Type Description
Google\Protobuf\Internal\MapField

setDetails

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

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this