Google_Service_ServiceNetworking_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_ServiceNetworking_Api
- getAuthentication() : Google_Service_ServiceNetworking_Authentication
- getBackend() : Google_Service_ServiceNetworking_Backend
- getBilling() : Google_Service_ServiceNetworking_Billing
- getConfigVersion() : mixed
- getContext() : Google_Service_ServiceNetworking_Context
- getControl() : Google_Service_ServiceNetworking_Control
- getCustomError() : Google_Service_ServiceNetworking_CustomError
- getDocumentation() : Google_Service_ServiceNetworking_Documentation
- getEndpoints() : Google_Service_ServiceNetworking_Endpoint
- getEnums() : Google_Service_ServiceNetworking_Enum
- getHttp() : Google_Service_ServiceNetworking_Http
- getId() : mixed
- getLogging() : Google_Service_ServiceNetworking_Logging
- getLogs() : Google_Service_ServiceNetworking_LogDescriptor
- getMetrics() : Google_Service_ServiceNetworking_MetricDescriptor
- getMonitoredResources() : Google_Service_ServiceNetworking_MonitoredResourceDescriptor
- getMonitoring() : Google_Service_ServiceNetworking_Monitoring
- getName() : mixed
- getProducerProjectId() : mixed
- getQuota() : Google_Service_ServiceNetworking_Quota
- getSourceInfo() : Google_Service_ServiceNetworking_SourceInfo
- getSystemParameters() : Google_Service_ServiceNetworking_SystemParameters
- getSystemTypes() : Google_Service_ServiceNetworking_Type
- getTitle() : mixed
- getTypes() : Google_Service_ServiceNetworking_Type
- getUsage() : Google_Service_ServiceNetworking_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
$id
public
mixed
$id
$name
public
mixed
$name
$producerProjectId
public
mixed
$producerProjectId
$title
public
mixed
$title
$apisDataType
protected
mixed
$apisDataType
= 'array'
$apisType
protected
mixed
$apisType
= 'Google_Service_ServiceNetworking_Api'
$authenticationDataType
protected
mixed
$authenticationDataType
= ''
$authenticationType
protected
mixed
$authenticationType
= 'Google_Service_ServiceNetworking_Authentication'
$backendDataType
protected
mixed
$backendDataType
= ''
$backendType
protected
mixed
$backendType
= 'Google_Service_ServiceNetworking_Backend'
$billingDataType
protected
mixed
$billingDataType
= ''
$billingType
protected
mixed
$billingType
= 'Google_Service_ServiceNetworking_Billing'
$collection_key
protected
mixed
$collection_key
= 'types'
$contextDataType
protected
mixed
$contextDataType
= ''
$contextType
protected
mixed
$contextType
= 'Google_Service_ServiceNetworking_Context'
$controlDataType
protected
mixed
$controlDataType
= ''
$controlType
protected
mixed
$controlType
= 'Google_Service_ServiceNetworking_Control'
$customErrorDataType
protected
mixed
$customErrorDataType
= ''
$customErrorType
protected
mixed
$customErrorType
= 'Google_Service_ServiceNetworking_CustomError'
$documentationDataType
protected
mixed
$documentationDataType
= ''
$documentationType
protected
mixed
$documentationType
= 'Google_Service_ServiceNetworking_Documentation'
$endpointsDataType
protected
mixed
$endpointsDataType
= 'array'
$endpointsType
protected
mixed
$endpointsType
= 'Google_Service_ServiceNetworking_Endpoint'
$enumsDataType
protected
mixed
$enumsDataType
= 'array'
$enumsType
protected
mixed
$enumsType
= 'Google_Service_ServiceNetworking_Enum'
$httpDataType
protected
mixed
$httpDataType
= ''
$httpType
protected
mixed
$httpType
= 'Google_Service_ServiceNetworking_Http'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$loggingDataType
protected
mixed
$loggingDataType
= ''
$loggingType
protected
mixed
$loggingType
= 'Google_Service_ServiceNetworking_Logging'
$logsDataType
protected
mixed
$logsDataType
= 'array'
$logsType
protected
mixed
$logsType
= 'Google_Service_ServiceNetworking_LogDescriptor'
$metricsDataType
protected
mixed
$metricsDataType
= 'array'
$metricsType
protected
mixed
$metricsType
= 'Google_Service_ServiceNetworking_MetricDescriptor'
$modelData
protected
mixed
$modelData
= array()
$monitoredResourcesDataType
protected
mixed
$monitoredResourcesDataType
= 'array'
$monitoredResourcesType
protected
mixed
$monitoredResourcesType
= 'Google_Service_ServiceNetworking_MonitoredResourceDescriptor'
$monitoringDataType
protected
mixed
$monitoringDataType
= ''
$monitoringType
protected
mixed
$monitoringType
= 'Google_Service_ServiceNetworking_Monitoring'
$processed
protected
mixed
$processed
= array()
$quotaDataType
protected
mixed
$quotaDataType
= ''
$quotaType
protected
mixed
$quotaType
= 'Google_Service_ServiceNetworking_Quota'
$sourceInfoDataType
protected
mixed
$sourceInfoDataType
= ''
$sourceInfoType
protected
mixed
$sourceInfoType
= 'Google_Service_ServiceNetworking_SourceInfo'
$systemParametersDataType
protected
mixed
$systemParametersDataType
= ''
$systemParametersType
protected
mixed
$systemParametersType
= 'Google_Service_ServiceNetworking_SystemParameters'
$systemTypesDataType
protected
mixed
$systemTypesDataType
= 'array'
$systemTypesType
protected
mixed
$systemTypesType
= 'Google_Service_ServiceNetworking_Type'
$typesDataType
protected
mixed
$typesDataType
= 'array'
$typesType
protected
mixed
$typesType
= 'Google_Service_ServiceNetworking_Type'
$usageDataType
protected
mixed
$usageDataType
= ''
$usageType
protected
mixed
$usageType
= 'Google_Service_ServiceNetworking_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
Return values
mixed —count()
public
count() : mixed
Return values
mixed —current()
public
current() : mixed
Return values
mixed —getApis()
public
getApis() : Google_Service_ServiceNetworking_Api
Return values
Google_Service_ServiceNetworking_Api —getAuthentication()
public
getAuthentication() : Google_Service_ServiceNetworking_Authentication
Return values
Google_Service_ServiceNetworking_Authentication —getBackend()
public
getBackend() : Google_Service_ServiceNetworking_Backend
Return values
Google_Service_ServiceNetworking_Backend —getBilling()
public
getBilling() : Google_Service_ServiceNetworking_Billing
Return values
Google_Service_ServiceNetworking_Billing —getConfigVersion()
public
getConfigVersion() : mixed
Return values
mixed —getContext()
public
getContext() : Google_Service_ServiceNetworking_Context
Return values
Google_Service_ServiceNetworking_Context —getControl()
public
getControl() : Google_Service_ServiceNetworking_Control
Return values
Google_Service_ServiceNetworking_Control —getCustomError()
public
getCustomError() : Google_Service_ServiceNetworking_CustomError
Return values
Google_Service_ServiceNetworking_CustomError —getDocumentation()
public
getDocumentation() : Google_Service_ServiceNetworking_Documentation
Return values
Google_Service_ServiceNetworking_Documentation —getEndpoints()
public
getEndpoints() : Google_Service_ServiceNetworking_Endpoint
Return values
Google_Service_ServiceNetworking_Endpoint —getEnums()
public
getEnums() : Google_Service_ServiceNetworking_Enum
Return values
Google_Service_ServiceNetworking_Enum —getHttp()
public
getHttp() : Google_Service_ServiceNetworking_Http
Return values
Google_Service_ServiceNetworking_Http —getId()
public
getId() : mixed
Return values
mixed —getLogging()
public
getLogging() : Google_Service_ServiceNetworking_Logging
Return values
Google_Service_ServiceNetworking_Logging —getLogs()
public
getLogs() : Google_Service_ServiceNetworking_LogDescriptor
Return values
Google_Service_ServiceNetworking_LogDescriptor —getMetrics()
public
getMetrics() : Google_Service_ServiceNetworking_MetricDescriptor
Return values
Google_Service_ServiceNetworking_MetricDescriptor —getMonitoredResources()
public
getMonitoredResources() : Google_Service_ServiceNetworking_MonitoredResourceDescriptor
Return values
Google_Service_ServiceNetworking_MonitoredResourceDescriptor —getMonitoring()
public
getMonitoring() : Google_Service_ServiceNetworking_Monitoring
Return values
Google_Service_ServiceNetworking_Monitoring —getName()
public
getName() : mixed
Return values
mixed —getProducerProjectId()
public
getProducerProjectId() : mixed
Return values
mixed —getQuota()
public
getQuota() : Google_Service_ServiceNetworking_Quota
Return values
Google_Service_ServiceNetworking_Quota —getSourceInfo()
public
getSourceInfo() : Google_Service_ServiceNetworking_SourceInfo
Return values
Google_Service_ServiceNetworking_SourceInfo —getSystemParameters()
public
getSystemParameters() : Google_Service_ServiceNetworking_SystemParameters
Return values
Google_Service_ServiceNetworking_SystemParameters —getSystemTypes()
public
getSystemTypes() : Google_Service_ServiceNetworking_Type
Return values
Google_Service_ServiceNetworking_Type —getTitle()
public
getTitle() : mixed
Return values
mixed —getTypes()
public
getTypes() : Google_Service_ServiceNetworking_Type
Return values
Google_Service_ServiceNetworking_Type —getUsage()
public
getUsage() : Google_Service_ServiceNetworking_Usage
Return values
Google_Service_ServiceNetworking_Usage —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 —setAuthentication()
public
setAuthentication(Google_Service_ServiceNetworking_Authentication $authentication) : mixed
Parameters
- $authentication : Google_Service_ServiceNetworking_Authentication
Return values
mixed —setBackend()
public
setBackend(Google_Service_ServiceNetworking_Backend $backend) : mixed
Parameters
- $backend : Google_Service_ServiceNetworking_Backend
Return values
mixed —setBilling()
public
setBilling(Google_Service_ServiceNetworking_Billing $billing) : mixed
Parameters
- $billing : Google_Service_ServiceNetworking_Billing
Return values
mixed —setConfigVersion()
public
setConfigVersion(mixed $configVersion) : mixed
Parameters
- $configVersion : mixed
Return values
mixed —setContext()
public
setContext(Google_Service_ServiceNetworking_Context $context) : mixed
Parameters
- $context : Google_Service_ServiceNetworking_Context
Return values
mixed —setControl()
public
setControl(Google_Service_ServiceNetworking_Control $control) : mixed
Parameters
- $control : Google_Service_ServiceNetworking_Control
Return values
mixed —setCustomError()
public
setCustomError(Google_Service_ServiceNetworking_CustomError $customError) : mixed
Parameters
- $customError : Google_Service_ServiceNetworking_CustomError
Return values
mixed —setDocumentation()
public
setDocumentation(Google_Service_ServiceNetworking_Documentation $documentation) : mixed
Parameters
- $documentation : Google_Service_ServiceNetworking_Documentation
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 —setHttp()
public
setHttp(Google_Service_ServiceNetworking_Http $http) : mixed
Parameters
Return values
mixed —setId()
public
setId(mixed $id) : mixed
Parameters
- $id : mixed
Return values
mixed —setLogging()
public
setLogging(Google_Service_ServiceNetworking_Logging $logging) : mixed
Parameters
- $logging : Google_Service_ServiceNetworking_Logging
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 —setMonitoring()
public
setMonitoring(Google_Service_ServiceNetworking_Monitoring $monitoring) : mixed
Parameters
- $monitoring : Google_Service_ServiceNetworking_Monitoring
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 —setQuota()
public
setQuota(Google_Service_ServiceNetworking_Quota $quota) : mixed
Parameters
Return values
mixed —setSourceInfo()
public
setSourceInfo(Google_Service_ServiceNetworking_SourceInfo $sourceInfo) : mixed
Parameters
- $sourceInfo : Google_Service_ServiceNetworking_SourceInfo
Return values
mixed —setSystemParameters()
public
setSystemParameters(Google_Service_ServiceNetworking_SystemParameters $systemParameters) : mixed
Parameters
- $systemParameters : Google_Service_ServiceNetworking_SystemParameters
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 —setUsage()
public
setUsage(Google_Service_ServiceNetworking_Usage $usage) : mixed
Parameters
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