Reference documentation and code samples for the Google Cloud Channel V1 Client class ReportValue.
A single report value.
Generated from protobuf message google.cloud.channel.v1.ReportValue
Namespace
Google \ Cloud \ Channel \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ string_value |
string
A value of type |
↳ int_value |
int|string
A value of type |
↳ decimal_value |
Google\Type\Decimal
A value of type |
↳ money_value |
Google\Type\Money
A value of type |
↳ date_value |
Google\Type\Date
A value of type |
↳ date_time_value |
Google\Type\DateTime
A value of type |
getStringValue
A value of type string
.
Returns | |
---|---|
Type | Description |
string |
hasStringValue
setStringValue
A value of type string
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIntValue
A value of type int
.
Returns | |
---|---|
Type | Description |
int|string |
hasIntValue
setIntValue
A value of type int
.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDecimalValue
A value of type google.type.Decimal
, representing non-integer numeric
values.
Returns | |
---|---|
Type | Description |
Google\Type\Decimal|null |
hasDecimalValue
setDecimalValue
A value of type google.type.Decimal
, representing non-integer numeric
values.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Decimal
|
Returns | |
---|---|
Type | Description |
$this |
getMoneyValue
A value of type google.type.Money
(currency code, whole units, decimal
units).
Returns | |
---|---|
Type | Description |
Google\Type\Money|null |
hasMoneyValue
setMoneyValue
A value of type google.type.Money
(currency code, whole units, decimal
units).
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Money
|
Returns | |
---|---|
Type | Description |
$this |
getDateValue
A value of type google.type.Date
(year, month, day).
Returns | |
---|---|
Type | Description |
Google\Type\Date|null |
hasDateValue
setDateValue
A value of type google.type.Date
(year, month, day).
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Date
|
Returns | |
---|---|
Type | Description |
$this |
getDateTimeValue
A value of type google.type.DateTime
(year, month, day, hour, minute,
second, and UTC offset or timezone.)
Returns | |
---|---|
Type | Description |
Google\Type\DateTime|null |
hasDateTimeValue
setDateTimeValue
A value of type google.type.DateTime
(year, month, day, hour, minute,
second, and UTC offset or timezone.)
Parameter | |
---|---|
Name | Description |
var |
Google\Type\DateTime
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |