Google_Service_Dataproc_ClusterConfig
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.
- $configBucket : mixed
- $tempBucket : mixed
- $autoscalingConfigDataType : mixed
- $autoscalingConfigType : mixed
- $collection_key : mixed
- $encryptionConfigDataType : mixed
- $encryptionConfigType : mixed
- $endpointConfigDataType : mixed
- $endpointConfigType : mixed
- $gceClusterConfigDataType : mixed
- $gceClusterConfigType : mixed
- $initializationActionsDataType : mixed
- $initializationActionsType : mixed
- $internal_gapi_mappings : mixed
- $lifecycleConfigDataType : mixed
- $lifecycleConfigType : mixed
- $masterConfigDataType : mixed
- $masterConfigType : mixed
- $modelData : mixed
- $processed : mixed
- $secondaryWorkerConfigDataType : mixed
- $secondaryWorkerConfigType : mixed
- $securityConfigDataType : mixed
- $securityConfigType : mixed
- $softwareConfigDataType : mixed
- $softwareConfigType : mixed
- $workerConfigDataType : mixed
- $workerConfigType : 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
- getAutoscalingConfig() : Google_Service_Dataproc_AutoscalingConfig
- getConfigBucket() : mixed
- getEncryptionConfig() : Google_Service_Dataproc_EncryptionConfig
- getEndpointConfig() : Google_Service_Dataproc_EndpointConfig
- getGceClusterConfig() : Google_Service_Dataproc_GceClusterConfig
- getInitializationActions() : Google_Service_Dataproc_NodeInitializationAction
- getLifecycleConfig() : Google_Service_Dataproc_LifecycleConfig
- getMasterConfig() : Google_Service_Dataproc_InstanceGroupConfig
- getSecondaryWorkerConfig() : Google_Service_Dataproc_InstanceGroupConfig
- getSecurityConfig() : Google_Service_Dataproc_SecurityConfig
- getSoftwareConfig() : Google_Service_Dataproc_SoftwareConfig
- getTempBucket() : mixed
- getWorkerConfig() : Google_Service_Dataproc_InstanceGroupConfig
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setAutoscalingConfig() : mixed
- setConfigBucket() : mixed
- setEncryptionConfig() : mixed
- setEndpointConfig() : mixed
- setGceClusterConfig() : mixed
- setInitializationActions() : mixed
- setLifecycleConfig() : mixed
- setMasterConfig() : mixed
- setSecondaryWorkerConfig() : mixed
- setSecurityConfig() : mixed
- setSoftwareConfig() : mixed
- setTempBucket() : mixed
- setWorkerConfig() : 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
$configBucket
public
mixed
$configBucket
$tempBucket
public
mixed
$tempBucket
$autoscalingConfigDataType
protected
mixed
$autoscalingConfigDataType
= ''
$autoscalingConfigType
protected
mixed
$autoscalingConfigType
= 'Google_Service_Dataproc_AutoscalingConfig'
$collection_key
protected
mixed
$collection_key
= 'initializationActions'
$encryptionConfigDataType
protected
mixed
$encryptionConfigDataType
= ''
$encryptionConfigType
protected
mixed
$encryptionConfigType
= 'Google_Service_Dataproc_EncryptionConfig'
$endpointConfigDataType
protected
mixed
$endpointConfigDataType
= ''
$endpointConfigType
protected
mixed
$endpointConfigType
= 'Google_Service_Dataproc_EndpointConfig'
$gceClusterConfigDataType
protected
mixed
$gceClusterConfigDataType
= ''
$gceClusterConfigType
protected
mixed
$gceClusterConfigType
= 'Google_Service_Dataproc_GceClusterConfig'
$initializationActionsDataType
protected
mixed
$initializationActionsDataType
= 'array'
$initializationActionsType
protected
mixed
$initializationActionsType
= 'Google_Service_Dataproc_NodeInitializationAction'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$lifecycleConfigDataType
protected
mixed
$lifecycleConfigDataType
= ''
$lifecycleConfigType
protected
mixed
$lifecycleConfigType
= 'Google_Service_Dataproc_LifecycleConfig'
$masterConfigDataType
protected
mixed
$masterConfigDataType
= ''
$masterConfigType
protected
mixed
$masterConfigType
= 'Google_Service_Dataproc_InstanceGroupConfig'
$modelData
protected
mixed
$modelData
= array()
$processed
protected
mixed
$processed
= array()
$secondaryWorkerConfigDataType
protected
mixed
$secondaryWorkerConfigDataType
= ''
$secondaryWorkerConfigType
protected
mixed
$secondaryWorkerConfigType
= 'Google_Service_Dataproc_InstanceGroupConfig'
$securityConfigDataType
protected
mixed
$securityConfigDataType
= ''
$securityConfigType
protected
mixed
$securityConfigType
= 'Google_Service_Dataproc_SecurityConfig'
$softwareConfigDataType
protected
mixed
$softwareConfigDataType
= ''
$softwareConfigType
protected
mixed
$softwareConfigType
= 'Google_Service_Dataproc_SoftwareConfig'
$workerConfigDataType
protected
mixed
$workerConfigDataType
= ''
$workerConfigType
protected
mixed
$workerConfigType
= 'Google_Service_Dataproc_InstanceGroupConfig'
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 —getAutoscalingConfig()
public
getAutoscalingConfig() : Google_Service_Dataproc_AutoscalingConfig
Return values
Google_Service_Dataproc_AutoscalingConfig —getConfigBucket()
public
getConfigBucket() : mixed
Return values
mixed —getEncryptionConfig()
public
getEncryptionConfig() : Google_Service_Dataproc_EncryptionConfig
Return values
Google_Service_Dataproc_EncryptionConfig —getEndpointConfig()
public
getEndpointConfig() : Google_Service_Dataproc_EndpointConfig
Return values
Google_Service_Dataproc_EndpointConfig —getGceClusterConfig()
public
getGceClusterConfig() : Google_Service_Dataproc_GceClusterConfig
Return values
Google_Service_Dataproc_GceClusterConfig —getInitializationActions()
public
getInitializationActions() : Google_Service_Dataproc_NodeInitializationAction
Return values
Google_Service_Dataproc_NodeInitializationAction —getLifecycleConfig()
public
getLifecycleConfig() : Google_Service_Dataproc_LifecycleConfig
Return values
Google_Service_Dataproc_LifecycleConfig —getMasterConfig()
public
getMasterConfig() : Google_Service_Dataproc_InstanceGroupConfig
Return values
Google_Service_Dataproc_InstanceGroupConfig —getSecondaryWorkerConfig()
public
getSecondaryWorkerConfig() : Google_Service_Dataproc_InstanceGroupConfig
Return values
Google_Service_Dataproc_InstanceGroupConfig —getSecurityConfig()
public
getSecurityConfig() : Google_Service_Dataproc_SecurityConfig
Return values
Google_Service_Dataproc_SecurityConfig —getSoftwareConfig()
public
getSoftwareConfig() : Google_Service_Dataproc_SoftwareConfig
Return values
Google_Service_Dataproc_SoftwareConfig —getTempBucket()
public
getTempBucket() : mixed
Return values
mixed —getWorkerConfig()
public
getWorkerConfig() : Google_Service_Dataproc_InstanceGroupConfig
Return values
Google_Service_Dataproc_InstanceGroupConfig —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 —setAutoscalingConfig()
public
setAutoscalingConfig(Google_Service_Dataproc_AutoscalingConfig $autoscalingConfig) : mixed
Parameters
- $autoscalingConfig : Google_Service_Dataproc_AutoscalingConfig
Return values
mixed —setConfigBucket()
public
setConfigBucket(mixed $configBucket) : mixed
Parameters
- $configBucket : mixed
Return values
mixed —setEncryptionConfig()
public
setEncryptionConfig(Google_Service_Dataproc_EncryptionConfig $encryptionConfig) : mixed
Parameters
- $encryptionConfig : Google_Service_Dataproc_EncryptionConfig
Return values
mixed —setEndpointConfig()
public
setEndpointConfig(Google_Service_Dataproc_EndpointConfig $endpointConfig) : mixed
Parameters
- $endpointConfig : Google_Service_Dataproc_EndpointConfig
Return values
mixed —setGceClusterConfig()
public
setGceClusterConfig(Google_Service_Dataproc_GceClusterConfig $gceClusterConfig) : mixed
Parameters
- $gceClusterConfig : Google_Service_Dataproc_GceClusterConfig
Return values
mixed —setInitializationActions()
public
setInitializationActions(mixed $initializationActions) : mixed
Parameters
- $initializationActions : mixed
Return values
mixed —setLifecycleConfig()
public
setLifecycleConfig(Google_Service_Dataproc_LifecycleConfig $lifecycleConfig) : mixed
Parameters
- $lifecycleConfig : Google_Service_Dataproc_LifecycleConfig
Return values
mixed —setMasterConfig()
public
setMasterConfig(Google_Service_Dataproc_InstanceGroupConfig $masterConfig) : mixed
Parameters
- $masterConfig : Google_Service_Dataproc_InstanceGroupConfig
Return values
mixed —setSecondaryWorkerConfig()
public
setSecondaryWorkerConfig(Google_Service_Dataproc_InstanceGroupConfig $secondaryWorkerConfig) : mixed
Parameters
- $secondaryWorkerConfig : Google_Service_Dataproc_InstanceGroupConfig
Return values
mixed —setSecurityConfig()
public
setSecurityConfig(Google_Service_Dataproc_SecurityConfig $securityConfig) : mixed
Parameters
- $securityConfig : Google_Service_Dataproc_SecurityConfig
Return values
mixed —setSoftwareConfig()
public
setSoftwareConfig(Google_Service_Dataproc_SoftwareConfig $softwareConfig) : mixed
Parameters
- $softwareConfig : Google_Service_Dataproc_SoftwareConfig
Return values
mixed —setTempBucket()
public
setTempBucket(mixed $tempBucket) : mixed
Parameters
- $tempBucket : mixed
Return values
mixed —setWorkerConfig()
public
setWorkerConfig(Google_Service_Dataproc_InstanceGroupConfig $workerConfig) : mixed
Parameters
- $workerConfig : Google_Service_Dataproc_InstanceGroupConfig
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