Google_Service_Dataflow_CounterUpdate
extends Google_Model
in package
This class defines attributes, valid values, and usage which is generated from a given json schema.
http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5
Table of Contents
- NULL_VALUE = "{}gapi-php-null"
- If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
- $boolean : mixed
- $cumulative : mixed
- $floatingPoint : mixed
- $internal : mixed
- $shortId : mixed
- $distributionDataType : mixed
- $distributionType : mixed
- $floatingPointListDataType : mixed
- $floatingPointListType : mixed
- $floatingPointMeanDataType : mixed
- $floatingPointMeanType : mixed
- $integerDataType : mixed
- $integerGaugeDataType : mixed
- $integerGaugeType : mixed
- $integerListDataType : mixed
- $integerListType : mixed
- $integerMeanDataType : mixed
- $integerMeanType : mixed
- $integerType : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $nameAndKindDataType : mixed
- $nameAndKindType : mixed
- $processed : mixed
- $stringListDataType : mixed
- $stringListType : mixed
- $structuredNameAndMetadataDataType : mixed
- $structuredNameAndMetadataType : mixed
- __construct() : mixed
- Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
- __get() : mixed
- Getter that handles passthrough access to the data array, and lazy object creation.
- __isset() : mixed
- __unset() : mixed
- assertIsArray() : mixed
- Verify if $obj is an array.
- getBoolean() : mixed
- getCumulative() : mixed
- getDistribution() : Google_Service_Dataflow_DistributionUpdate
- getFloatingPoint() : mixed
- getFloatingPointList() : Google_Service_Dataflow_FloatingPointList
- getFloatingPointMean() : Google_Service_Dataflow_FloatingPointMean
- getInteger() : Google_Service_Dataflow_SplitInt64
- getIntegerGauge() : Google_Service_Dataflow_IntegerGauge
- getIntegerList() : Google_Service_Dataflow_IntegerList
- getIntegerMean() : Google_Service_Dataflow_IntegerMean
- getInternal() : mixed
- getNameAndKind() : Google_Service_Dataflow_NameAndKind
- getShortId() : mixed
- getStringList() : Google_Service_Dataflow_StringList
- getStructuredNameAndMetadata() : Google_Service_Dataflow_CounterStructuredNameAndMetadata
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- setBoolean() : mixed
- setCumulative() : mixed
- setDistribution() : mixed
- setFloatingPoint() : mixed
- setFloatingPointList() : mixed
- setFloatingPointMean() : mixed
- setInteger() : mixed
- setIntegerGauge() : mixed
- setIntegerList() : mixed
- setIntegerMean() : mixed
- setInternal() : mixed
- setNameAndKind() : mixed
- setShortId() : mixed
- setStringList() : mixed
- setStructuredNameAndMetadata() : mixed
- toSimpleObject() : mixed
- Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
- dataType() : mixed
- gapiInit() : mixed
- Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
- isAssociativeArray() : bool
- Returns true only if the array is associative.
- keyType() : mixed
- mapTypes() : void
- Initialize this object's properties from an array.
- camelCase() : string
- Convert a string to camelCase
- getMappedName() : mixed
- If there is an internal name mapping, use that.
- getSimpleValue() : mixed
- Handle different types of values, primarily other objects and map and array data types.
- nullPlaceholderCheck() : mixed
- Check whether the value is the null placeholder and return true null.
Constants
NULL_VALUE
If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
public
mixed
NULL_VALUE
= "{}gapi-php-null"
Properties
$boolean
public
mixed
$boolean
$cumulative
public
mixed
$cumulative
$floatingPoint
public
mixed
$floatingPoint
$internal
public
mixed
$internal
$shortId
public
mixed
$shortId
$distributionDataType
protected
mixed
$distributionDataType
= ''
$distributionType
protected
mixed
$distributionType
= 'Google_Service_Dataflow_DistributionUpdate'
$floatingPointListDataType
protected
mixed
$floatingPointListDataType
= ''
$floatingPointListType
protected
mixed
$floatingPointListType
= 'Google_Service_Dataflow_FloatingPointList'
$floatingPointMeanDataType
protected
mixed
$floatingPointMeanDataType
= ''
$floatingPointMeanType
protected
mixed
$floatingPointMeanType
= 'Google_Service_Dataflow_FloatingPointMean'
$integerDataType
protected
mixed
$integerDataType
= ''
$integerGaugeDataType
protected
mixed
$integerGaugeDataType
= ''
$integerGaugeType
protected
mixed
$integerGaugeType
= 'Google_Service_Dataflow_IntegerGauge'
$integerListDataType
protected
mixed
$integerListDataType
= ''
$integerListType
protected
mixed
$integerListType
= 'Google_Service_Dataflow_IntegerList'
$integerMeanDataType
protected
mixed
$integerMeanDataType
= ''
$integerMeanType
protected
mixed
$integerMeanType
= 'Google_Service_Dataflow_IntegerMean'
$integerType
protected
mixed
$integerType
= 'Google_Service_Dataflow_SplitInt64'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$modelData
protected
mixed
$modelData
= array()
$nameAndKindDataType
protected
mixed
$nameAndKindDataType
= ''
$nameAndKindType
protected
mixed
$nameAndKindType
= 'Google_Service_Dataflow_NameAndKind'
$processed
protected
mixed
$processed
= array()
$stringListDataType
protected
mixed
$stringListDataType
= ''
$stringListType
protected
mixed
$stringListType
= 'Google_Service_Dataflow_StringList'
$structuredNameAndMetadataDataType
protected
mixed
$structuredNameAndMetadataDataType
= ''
$structuredNameAndMetadataType
protected
mixed
$structuredNameAndMetadataType
= 'Google_Service_Dataflow_CounterStructuredNameAndMetadata'
Methods
__construct()
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
public
final __construct() : mixed
Return values
mixed —__get()
Getter that handles passthrough access to the data array, and lazy object creation.
public
__get(string $key) : mixed
Parameters
- $key : string
-
Property name.
Return values
mixed —The value if any, or null.
__isset()
public
__isset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —__unset()
public
__unset(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —assertIsArray()
Verify if $obj is an array.
public
assertIsArray(array<string|int, mixed> $obj, string $method) : mixed
Parameters
- $obj : array<string|int, mixed>
-
Items that should be validated.
- $method : string
-
Method expecting an array as an argument.
Tags
Return values
mixed —getBoolean()
public
getBoolean() : mixed
Return values
mixed —getCumulative()
public
getCumulative() : mixed
Return values
mixed —getDistribution()
public
getDistribution() : Google_Service_Dataflow_DistributionUpdate
Return values
Google_Service_Dataflow_DistributionUpdate —getFloatingPoint()
public
getFloatingPoint() : mixed
Return values
mixed —getFloatingPointList()
public
getFloatingPointList() : Google_Service_Dataflow_FloatingPointList
Return values
Google_Service_Dataflow_FloatingPointList —getFloatingPointMean()
public
getFloatingPointMean() : Google_Service_Dataflow_FloatingPointMean
Return values
Google_Service_Dataflow_FloatingPointMean —getInteger()
public
getInteger() : Google_Service_Dataflow_SplitInt64
Return values
Google_Service_Dataflow_SplitInt64 —getIntegerGauge()
public
getIntegerGauge() : Google_Service_Dataflow_IntegerGauge
Return values
Google_Service_Dataflow_IntegerGauge —getIntegerList()
public
getIntegerList() : Google_Service_Dataflow_IntegerList
Return values
Google_Service_Dataflow_IntegerList —getIntegerMean()
public
getIntegerMean() : Google_Service_Dataflow_IntegerMean
Return values
Google_Service_Dataflow_IntegerMean —getInternal()
public
getInternal() : mixed
Return values
mixed —getNameAndKind()
public
getNameAndKind() : Google_Service_Dataflow_NameAndKind
Return values
Google_Service_Dataflow_NameAndKind —getShortId()
public
getShortId() : mixed
Return values
mixed —getStringList()
public
getStringList() : Google_Service_Dataflow_StringList
Return values
Google_Service_Dataflow_StringList —getStructuredNameAndMetadata()
public
getStructuredNameAndMetadata() : Google_Service_Dataflow_CounterStructuredNameAndMetadata
Return values
Google_Service_Dataflow_CounterStructuredNameAndMetadata —offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixed —offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —setBoolean()
public
setBoolean(mixed $boolean) : mixed
Parameters
- $boolean : mixed
Return values
mixed —setCumulative()
public
setCumulative(mixed $cumulative) : mixed
Parameters
- $cumulative : mixed
Return values
mixed —setDistribution()
public
setDistribution(Google_Service_Dataflow_DistributionUpdate $distribution) : mixed
Parameters
- $distribution : Google_Service_Dataflow_DistributionUpdate
Return values
mixed —setFloatingPoint()
public
setFloatingPoint(mixed $floatingPoint) : mixed
Parameters
- $floatingPoint : mixed
Return values
mixed —setFloatingPointList()
public
setFloatingPointList(Google_Service_Dataflow_FloatingPointList $floatingPointList) : mixed
Parameters
- $floatingPointList : Google_Service_Dataflow_FloatingPointList
Return values
mixed —setFloatingPointMean()
public
setFloatingPointMean(Google_Service_Dataflow_FloatingPointMean $floatingPointMean) : mixed
Parameters
- $floatingPointMean : Google_Service_Dataflow_FloatingPointMean
Return values
mixed —setInteger()
public
setInteger(Google_Service_Dataflow_SplitInt64 $integer) : mixed
Parameters
- $integer : Google_Service_Dataflow_SplitInt64
Return values
mixed —setIntegerGauge()
public
setIntegerGauge(Google_Service_Dataflow_IntegerGauge $integerGauge) : mixed
Parameters
- $integerGauge : Google_Service_Dataflow_IntegerGauge
Return values
mixed —setIntegerList()
public
setIntegerList(Google_Service_Dataflow_IntegerList $integerList) : mixed
Parameters
- $integerList : Google_Service_Dataflow_IntegerList
Return values
mixed —setIntegerMean()
public
setIntegerMean(Google_Service_Dataflow_IntegerMean $integerMean) : mixed
Parameters
- $integerMean : Google_Service_Dataflow_IntegerMean
Return values
mixed —setInternal()
public
setInternal(mixed $internal) : mixed
Parameters
- $internal : mixed
Return values
mixed —setNameAndKind()
public
setNameAndKind(Google_Service_Dataflow_NameAndKind $nameAndKind) : mixed
Parameters
- $nameAndKind : Google_Service_Dataflow_NameAndKind
Return values
mixed —setShortId()
public
setShortId(mixed $shortId) : mixed
Parameters
- $shortId : mixed
Return values
mixed —setStringList()
public
setStringList(Google_Service_Dataflow_StringList $stringList) : mixed
Parameters
- $stringList : Google_Service_Dataflow_StringList
Return values
mixed —setStructuredNameAndMetadata()
public
setStructuredNameAndMetadata(Google_Service_Dataflow_CounterStructuredNameAndMetadata $structuredNameAndMetadata) : mixed
Parameters
- $structuredNameAndMetadata : Google_Service_Dataflow_CounterStructuredNameAndMetadata
Return values
mixed —toSimpleObject()
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
public
toSimpleObject() : mixed
Return values
mixed —dataType()
protected
dataType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —gapiInit()
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
protected
gapiInit() : mixed
Return values
mixed —isAssociativeArray()
Returns true only if the array is associative.
protected
isAssociativeArray(array<string|int, mixed> $array) : bool
Parameters
- $array : array<string|int, mixed>
Return values
bool —True if the array is associative.
keyType()
protected
keyType(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —mapTypes()
Initialize this object's properties from an array.
protected
mapTypes(array<string|int, mixed> $array) : void
Parameters
- $array : array<string|int, mixed>
-
Used to seed this object's properties.
Return values
void —camelCase()
Convert a string to camelCase
private
camelCase(string $value) : string
Parameters
- $value : string
Return values
string —getMappedName()
If there is an internal name mapping, use that.
private
getMappedName(mixed $key) : mixed
Parameters
- $key : mixed
Return values
mixed —getSimpleValue()
Handle different types of values, primarily other objects and map and array data types.
private
getSimpleValue(mixed $value) : mixed
Parameters
- $value : mixed
Return values
mixed —nullPlaceholderCheck()
Check whether the value is the null placeholder and return true null.
private
nullPlaceholderCheck(mixed $value) : mixed
Parameters
- $value : mixed