Reference documentation and code samples for the Google Cloud Asset V1beta1 Client class TimeWindow.
A time window of (start_time, end_time].
Generated from protobuf message google.cloud.asset.v1beta1.TimeWindow
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). Current timestamp if not specified. |
getStartTime
Start time of the time window (exclusive).
Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp |
setStartTime
Start time of the time window (exclusive).
Generated from protobuf field .google.protobuf.Timestamp start_time = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
End time of the time window (inclusive).
Current timestamp if not specified.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp |
setEndTime
End time of the time window (inclusive).
Current timestamp if not specified.
Generated from protobuf field .google.protobuf.Timestamp end_time = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |