Documentation

Google_Service_ServiceConsumerManagement_Service extends Google_Collection
in package

Extension to the regular Google_Model that automatically exposes the items array for iteration, so you can just iterate over the object rather than a reference inside.

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.
$configVersion  : mixed
$id  : mixed
$name  : mixed
$producerProjectId  : mixed
$title  : mixed
$apisDataType  : mixed
$apisType  : mixed
$authenticationDataType  : mixed
$authenticationType  : mixed
$backendDataType  : mixed
$backendType  : mixed
$billingDataType  : mixed
$billingType  : mixed
$collection_key  : mixed
$contextDataType  : mixed
$contextType  : mixed
$controlDataType  : mixed
$controlType  : mixed
$customErrorDataType  : mixed
$customErrorType  : mixed
$documentationDataType  : mixed
$documentationType  : mixed
$endpointsDataType  : mixed
$endpointsType  : mixed
$enumsDataType  : mixed
$enumsType  : mixed
$httpDataType  : mixed
$httpType  : mixed
$internal_gapi_mappings  : mixed
$loggingDataType  : mixed
$loggingType  : mixed
$logsDataType  : mixed
$logsType  : mixed
$metricsDataType  : mixed
$metricsType  : mixed
$modelData  : mixed
$monitoredResourcesDataType  : mixed
$monitoredResourcesType  : mixed
$monitoringDataType  : mixed
$monitoringType  : mixed
$processed  : mixed
$quotaDataType  : mixed
$quotaType  : mixed
$sourceInfoDataType  : mixed
$sourceInfoType  : mixed
$systemParametersDataType  : mixed
$systemParametersType  : mixed
$systemTypesDataType  : mixed
$systemTypesType  : mixed
$typesDataType  : mixed
$typesType  : mixed
$usageDataType  : mixed
$usageType  : 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.
count()  : mixed
current()  : mixed
getApis()  : Google_Service_ServiceConsumerManagement_Api
getAuthentication()  : Google_Service_ServiceConsumerManagement_Authentication
getBackend()  : Google_Service_ServiceConsumerManagement_Backend
getBilling()  : Google_Service_ServiceConsumerManagement_Billing
getConfigVersion()  : mixed
getContext()  : Google_Service_ServiceConsumerManagement_Context
getControl()  : Google_Service_ServiceConsumerManagement_Control
getCustomError()  : Google_Service_ServiceConsumerManagement_CustomError
getDocumentation()  : Google_Service_ServiceConsumerManagement_Documentation
getEndpoints()  : Google_Service_ServiceConsumerManagement_Endpoint
getEnums()  : Google_Service_ServiceConsumerManagement_Enum
getHttp()  : Google_Service_ServiceConsumerManagement_Http
getId()  : mixed
getLogging()  : Google_Service_ServiceConsumerManagement_Logging
getLogs()  : Google_Service_ServiceConsumerManagement_LogDescriptor
getMetrics()  : Google_Service_ServiceConsumerManagement_MetricDescriptor
getMonitoredResources()  : Google_Service_ServiceConsumerManagement_MonitoredResourceDescriptor
getMonitoring()  : Google_Service_ServiceConsumerManagement_Monitoring
getName()  : mixed
getProducerProjectId()  : mixed
getQuota()  : Google_Service_ServiceConsumerManagement_Quota
getSourceInfo()  : Google_Service_ServiceConsumerManagement_SourceInfo
getSystemParameters()  : Google_Service_ServiceConsumerManagement_SystemParameters
getSystemTypes()  : Google_Service_ServiceConsumerManagement_Type
getTitle()  : mixed
getTypes()  : Google_Service_ServiceConsumerManagement_Type
getUsage()  : Google_Service_ServiceConsumerManagement_Usage
key()  : mixed
next()  : mixed
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
rewind()  : mixed
setApis()  : mixed
setAuthentication()  : mixed
setBackend()  : mixed
setBilling()  : mixed
setConfigVersion()  : mixed
setContext()  : mixed
setControl()  : mixed
setCustomError()  : mixed
setDocumentation()  : mixed
setEndpoints()  : mixed
setEnums()  : mixed
setHttp()  : mixed
setId()  : mixed
setLogging()  : mixed
setLogs()  : mixed
setMetrics()  : mixed
setMonitoredResources()  : mixed
setMonitoring()  : mixed
setName()  : mixed
setProducerProjectId()  : mixed
setQuota()  : mixed
setSourceInfo()  : mixed
setSystemParameters()  : mixed
setSystemTypes()  : mixed
setTitle()  : mixed
setTypes()  : mixed
setUsage()  : 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.
valid()  : mixed
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
coerceType()  : mixed
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

$configVersion

public mixed $configVersion

$producerProjectId

public mixed $producerProjectId

$apisDataType

protected mixed $apisDataType = 'array'

$apisType

protected mixed $apisType = 'Google_Service_ServiceConsumerManagement_Api'

$authenticationDataType

protected mixed $authenticationDataType = ''

$authenticationType

protected mixed $authenticationType = 'Google_Service_ServiceConsumerManagement_Authentication'

$backendDataType

protected mixed $backendDataType = ''

$backendType

protected mixed $backendType = 'Google_Service_ServiceConsumerManagement_Backend'

$billingDataType

protected mixed $billingDataType = ''

$billingType

protected mixed $billingType = 'Google_Service_ServiceConsumerManagement_Billing'

$collection_key

protected mixed $collection_key = 'types'

$contextDataType

protected mixed $contextDataType = ''

$contextType

protected mixed $contextType = 'Google_Service_ServiceConsumerManagement_Context'

$controlDataType

protected mixed $controlDataType = ''

$controlType

protected mixed $controlType = 'Google_Service_ServiceConsumerManagement_Control'

$customErrorDataType

protected mixed $customErrorDataType = ''

$customErrorType

protected mixed $customErrorType = 'Google_Service_ServiceConsumerManagement_CustomError'

$documentationDataType

protected mixed $documentationDataType = ''

$documentationType

protected mixed $documentationType = 'Google_Service_ServiceConsumerManagement_Documentation'

$endpointsDataType

protected mixed $endpointsDataType = 'array'

$endpointsType

protected mixed $endpointsType = 'Google_Service_ServiceConsumerManagement_Endpoint'

$enumsDataType

protected mixed $enumsDataType = 'array'

$enumsType

protected mixed $enumsType = 'Google_Service_ServiceConsumerManagement_Enum'

$httpDataType

protected mixed $httpDataType = ''

$httpType

protected mixed $httpType = 'Google_Service_ServiceConsumerManagement_Http'

$internal_gapi_mappings

protected mixed $internal_gapi_mappings = array()

$loggingDataType

protected mixed $loggingDataType = ''

$loggingType

protected mixed $loggingType = 'Google_Service_ServiceConsumerManagement_Logging'

$logsDataType

protected mixed $logsDataType = 'array'

$logsType

protected mixed $logsType = 'Google_Service_ServiceConsumerManagement_LogDescriptor'

$metricsDataType

protected mixed $metricsDataType = 'array'

$metricsType

protected mixed $metricsType = 'Google_Service_ServiceConsumerManagement_MetricDescriptor'

$modelData

protected mixed $modelData = array()

$monitoredResourcesDataType

protected mixed $monitoredResourcesDataType = 'array'

$monitoredResourcesType

protected mixed $monitoredResourcesType = 'Google_Service_ServiceConsumerManagement_MonitoredResourceDescriptor'

$monitoringDataType

protected mixed $monitoringDataType = ''

$monitoringType

protected mixed $monitoringType = 'Google_Service_ServiceConsumerManagement_Monitoring'

$processed

protected mixed $processed = array()

$quotaDataType

protected mixed $quotaDataType = ''

$quotaType

protected mixed $quotaType = 'Google_Service_ServiceConsumerManagement_Quota'

$sourceInfoDataType

protected mixed $sourceInfoDataType = ''

$sourceInfoType

protected mixed $sourceInfoType = 'Google_Service_ServiceConsumerManagement_SourceInfo'

$systemParametersDataType

protected mixed $systemParametersDataType = ''

$systemParametersType

protected mixed $systemParametersType = 'Google_Service_ServiceConsumerManagement_SystemParameters'

$systemTypesDataType

protected mixed $systemTypesDataType = 'array'

$systemTypesType

protected mixed $systemTypesType = 'Google_Service_ServiceConsumerManagement_Type'

$typesDataType

protected mixed $typesDataType = 'array'

$typesType

protected mixed $typesType = 'Google_Service_ServiceConsumerManagement_Type'

$usageDataType

protected mixed $usageDataType = ''

$usageType

protected mixed $usageType = 'Google_Service_ServiceConsumerManagement_Usage'

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
throws
Google_Exception

Thrown if $obj isn't an array.

Return values
mixed

count()

public count() : mixed
Return values
mixed

current()

public current() : mixed
Return values
mixed

getConfigVersion()

public getConfigVersion() : mixed
Return values
mixed

getId()

public getId() : mixed
Return values
mixed

getName()

public getName() : mixed
Return values
mixed

getProducerProjectId()

public getProducerProjectId() : mixed
Return values
mixed

getTitle()

public getTitle() : mixed
Return values
mixed

key()

public key() : mixed
Return values
mixed

next()

public next() : mixed
Return values
mixed

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

rewind()

public rewind() : mixed
Return values
mixed

setApis()

public setApis(mixed $apis) : mixed
Parameters
$apis : mixed
Return values
mixed

setConfigVersion()

public setConfigVersion(mixed $configVersion) : mixed
Parameters
$configVersion : mixed
Return values
mixed

setEndpoints()

public setEndpoints(mixed $endpoints) : mixed
Parameters
$endpoints : mixed
Return values
mixed

setEnums()

public setEnums(mixed $enums) : mixed
Parameters
$enums : mixed
Return values
mixed

setId()

public setId(mixed $id) : mixed
Parameters
$id : mixed
Return values
mixed

setLogs()

public setLogs(mixed $logs) : mixed
Parameters
$logs : mixed
Return values
mixed

setMetrics()

public setMetrics(mixed $metrics) : mixed
Parameters
$metrics : mixed
Return values
mixed

setMonitoredResources()

public setMonitoredResources(mixed $monitoredResources) : mixed
Parameters
$monitoredResources : mixed
Return values
mixed

setName()

public setName(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

setProducerProjectId()

public setProducerProjectId(mixed $producerProjectId) : mixed
Parameters
$producerProjectId : mixed
Return values
mixed

setSystemTypes()

public setSystemTypes(mixed $systemTypes) : mixed
Parameters
$systemTypes : mixed
Return values
mixed

setTitle()

public setTitle(mixed $title) : mixed
Parameters
$title : mixed
Return values
mixed

setTypes()

public setTypes(mixed $types) : mixed
Parameters
$types : mixed
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

valid()

public valid() : 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

coerceType()

private coerceType(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

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
Return values
mixed

Search results