Google Cloud Security Compliance V1 Client - Class Trend (0.4.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class Trend.

The trend of a compliance metric.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.Trend

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ duration
Google\Protobuf\Duration

Output only. The duration for the trend.

↳ value_percent
float

Output only. The trend value as a percentage. The value can be positive or negative.

getDuration

Output only. The duration for the trend.

Returns
Type
Description

hasDuration

clearDuration

setDuration

Output only. The duration for the trend.

Parameter
Name
Description
Returns
Type
Description
$this

getValuePercent

Output only. The trend value as a percentage. The value can be positive or negative.

Returns
Type
Description
float

setValuePercent

Output only. The trend value as a percentage. The value can be positive or negative.

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