SecurityCenter/src/V1/ListAssetsResponse/ListAssetsResult.php
public function setStateChange($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\SecurityCenter\V1\ListAssetsResponse_ListAssetsResult_StateChange::class);
        $this->state_change = $var;

        return $this;
    }
public function setStateChange($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\SecurityCenter\V1\ListAssetsResponse_ListAssetsResult_StateChange::class);
        $this->state_change = $var;

        return $this;
    }
public function setStateChange ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ SecurityCenter \ V1 \ ListAssetsResponse_ListAssetsResult_StateChange :: class ) ; $ this -> state_change = $ var ; return $ this ; }
State change of the asset between the points in time.

Generated from protobuf field <code>.google.cloud.securitycenter.v1.ListAssetsResponse.ListAssetsResult.StateChange state_change = 2;</code>
@param int $var
@return $this
State change of the asset between the points in time .