Google Cloud Asset V1 Client - Class TimeWindow (2.2.3)

Reference documentation and code samples for the Google Cloud Asset V1 Client class TimeWindow.

A time window specified by its start_time and end_time .

Generated from protobuf message google.cloud.asset.v1.TimeWindow

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ start_time
Google\Protobuf\Timestamp

Start time of the time window (exclusive).

↳ end_time
Google\Protobuf\Timestamp

End time of the time window (inclusive). If not specified, the current timestamp is used instead.

getStartTime

Start time of the time window (exclusive).

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Start time of the time window (exclusive).

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

End time of the time window (inclusive). If not specified, the current timestamp is used instead.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

End time of the time window (inclusive). If not specified, the current timestamp is used instead.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: