Google Cloud Channel V1 Client - Class ReportValue (1.6.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ string_value string

A value of type string.

↳ int_value int|string

A value of type int.

↳ decimal_value Google\Type\Decimal

A value of type google.type.Decimal, representing non-integer numeric values.

↳ money_value Google\Type\Money

A value of type google.type.Money (currency code, whole units, decimal units).

↳ date_value Google\Type\Date

A value of type google.type.Date (year, month, day).

↳ date_time_value Google\Type\DateTime

A value of type google.type.DateTime (year, month, day, hour, minute, second, and UTC offset or timezone.)

getStringValue

A value of type string.

Returns
TypeDescription
string

hasStringValue

setStringValue

A value of type string.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIntValue

A value of type int.

Returns
TypeDescription
int|string

hasIntValue

setIntValue

A value of type int.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDecimalValue

A value of type google.type.Decimal, representing non-integer numeric values.

Returns
TypeDescription
Google\Type\Decimal|null

hasDecimalValue

setDecimalValue

A value of type google.type.Decimal, representing non-integer numeric values.

Parameter
NameDescription
var Google\Type\Decimal
Returns
TypeDescription
$this

getMoneyValue

A value of type google.type.Money (currency code, whole units, decimal units).

Returns
TypeDescription
Google\Type\Money|null

hasMoneyValue

setMoneyValue

A value of type google.type.Money (currency code, whole units, decimal units).

Parameter
NameDescription
var Google\Type\Money
Returns
TypeDescription
$this

getDateValue

A value of type google.type.Date (year, month, day).

Returns
TypeDescription
Google\Type\Date|null

hasDateValue

setDateValue

A value of type google.type.Date (year, month, day).

Parameter
NameDescription
var Google\Type\Date
Returns
TypeDescription
$this

getDateTimeValue

A value of type google.type.DateTime (year, month, day, hour, minute, second, and UTC offset or timezone.)

Returns
TypeDescription
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
NameDescription
var Google\Type\DateTime
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string