Google_Service_Dataproc_Job
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.
- $done : mixed
- $driverControlFilesUri : mixed
- $driverOutputResourceUri : mixed
- $jobUuid : mixed
- $labels : mixed
- $collection_key : mixed
- $hadoopJobDataType : mixed
- $hadoopJobType : mixed
- $hiveJobDataType : mixed
- $hiveJobType : mixed
- $internal_gapi_mappings : mixed
- $modelData : mixed
- $pigJobDataType : mixed
- $pigJobType : mixed
- $placementDataType : mixed
- $placementType : mixed
- $prestoJobDataType : mixed
- $prestoJobType : mixed
- $processed : mixed
- $pysparkJobDataType : mixed
- $pysparkJobType : mixed
- $referenceDataType : mixed
- $referenceType : mixed
- $schedulingDataType : mixed
- $schedulingType : mixed
- $sparkJobDataType : mixed
- $sparkJobType : mixed
- $sparkRJobDataType : mixed
- $sparkRJobType : mixed
- $sparkSqlJobDataType : mixed
- $sparkSqlJobType : mixed
- $statusDataType : mixed
- $statusHistoryDataType : mixed
- $statusHistoryType : mixed
- $statusType : mixed
- $yarnApplicationsDataType : mixed
- $yarnApplicationsType : 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
- getDone() : mixed
- getDriverControlFilesUri() : mixed
- getDriverOutputResourceUri() : mixed
- getHadoopJob() : Google_Service_Dataproc_HadoopJob
- getHiveJob() : Google_Service_Dataproc_HiveJob
- getJobUuid() : mixed
- getLabels() : mixed
- getPigJob() : Google_Service_Dataproc_PigJob
- getPlacement() : Google_Service_Dataproc_JobPlacement
- getPrestoJob() : Google_Service_Dataproc_PrestoJob
- getPysparkJob() : Google_Service_Dataproc_PySparkJob
- getReference() : Google_Service_Dataproc_JobReference
- getScheduling() : Google_Service_Dataproc_JobScheduling
- getSparkJob() : Google_Service_Dataproc_SparkJob
- getSparkRJob() : Google_Service_Dataproc_SparkRJob
- getSparkSqlJob() : Google_Service_Dataproc_SparkSqlJob
- getStatus() : Google_Service_Dataproc_JobStatus
- getStatusHistory() : Google_Service_Dataproc_JobStatus
- getYarnApplications() : Google_Service_Dataproc_YarnApplication
- key() : mixed
- next() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
- rewind() : mixed
- setDone() : mixed
- setDriverControlFilesUri() : mixed
- setDriverOutputResourceUri() : mixed
- setHadoopJob() : mixed
- setHiveJob() : mixed
- setJobUuid() : mixed
- setLabels() : mixed
- setPigJob() : mixed
- setPlacement() : mixed
- setPrestoJob() : mixed
- setPysparkJob() : mixed
- setReference() : mixed
- setScheduling() : mixed
- setSparkJob() : mixed
- setSparkRJob() : mixed
- setSparkSqlJob() : mixed
- setStatus() : mixed
- setStatusHistory() : mixed
- setYarnApplications() : 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
$done
public
mixed
$done
$driverControlFilesUri
public
mixed
$driverControlFilesUri
$driverOutputResourceUri
public
mixed
$driverOutputResourceUri
$jobUuid
public
mixed
$jobUuid
$labels
public
mixed
$labels
$collection_key
protected
mixed
$collection_key
= 'yarnApplications'
$hadoopJobDataType
protected
mixed
$hadoopJobDataType
= ''
$hadoopJobType
protected
mixed
$hadoopJobType
= 'Google_Service_Dataproc_HadoopJob'
$hiveJobDataType
protected
mixed
$hiveJobDataType
= ''
$hiveJobType
protected
mixed
$hiveJobType
= 'Google_Service_Dataproc_HiveJob'
$internal_gapi_mappings
protected
mixed
$internal_gapi_mappings
= array()
$modelData
protected
mixed
$modelData
= array()
$pigJobDataType
protected
mixed
$pigJobDataType
= ''
$pigJobType
protected
mixed
$pigJobType
= 'Google_Service_Dataproc_PigJob'
$placementDataType
protected
mixed
$placementDataType
= ''
$placementType
protected
mixed
$placementType
= 'Google_Service_Dataproc_JobPlacement'
$prestoJobDataType
protected
mixed
$prestoJobDataType
= ''
$prestoJobType
protected
mixed
$prestoJobType
= 'Google_Service_Dataproc_PrestoJob'
$processed
protected
mixed
$processed
= array()
$pysparkJobDataType
protected
mixed
$pysparkJobDataType
= ''
$pysparkJobType
protected
mixed
$pysparkJobType
= 'Google_Service_Dataproc_PySparkJob'
$referenceDataType
protected
mixed
$referenceDataType
= ''
$referenceType
protected
mixed
$referenceType
= 'Google_Service_Dataproc_JobReference'
$schedulingDataType
protected
mixed
$schedulingDataType
= ''
$schedulingType
protected
mixed
$schedulingType
= 'Google_Service_Dataproc_JobScheduling'
$sparkJobDataType
protected
mixed
$sparkJobDataType
= ''
$sparkJobType
protected
mixed
$sparkJobType
= 'Google_Service_Dataproc_SparkJob'
$sparkRJobDataType
protected
mixed
$sparkRJobDataType
= ''
$sparkRJobType
protected
mixed
$sparkRJobType
= 'Google_Service_Dataproc_SparkRJob'
$sparkSqlJobDataType
protected
mixed
$sparkSqlJobDataType
= ''
$sparkSqlJobType
protected
mixed
$sparkSqlJobType
= 'Google_Service_Dataproc_SparkSqlJob'
$statusDataType
protected
mixed
$statusDataType
= ''
$statusHistoryDataType
protected
mixed
$statusHistoryDataType
= 'array'
$statusHistoryType
protected
mixed
$statusHistoryType
= 'Google_Service_Dataproc_JobStatus'
$statusType
protected
mixed
$statusType
= 'Google_Service_Dataproc_JobStatus'
$yarnApplicationsDataType
protected
mixed
$yarnApplicationsDataType
= 'array'
$yarnApplicationsType
protected
mixed
$yarnApplicationsType
= 'Google_Service_Dataproc_YarnApplication'
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 —getDone()
public
getDone() : mixed
Return values
mixed —getDriverControlFilesUri()
public
getDriverControlFilesUri() : mixed
Return values
mixed —getDriverOutputResourceUri()
public
getDriverOutputResourceUri() : mixed
Return values
mixed —getHadoopJob()
public
getHadoopJob() : Google_Service_Dataproc_HadoopJob
Return values
Google_Service_Dataproc_HadoopJob —getHiveJob()
public
getHiveJob() : Google_Service_Dataproc_HiveJob
Return values
Google_Service_Dataproc_HiveJob —getJobUuid()
public
getJobUuid() : mixed
Return values
mixed —getLabels()
public
getLabels() : mixed
Return values
mixed —getPigJob()
public
getPigJob() : Google_Service_Dataproc_PigJob
Return values
Google_Service_Dataproc_PigJob —getPlacement()
public
getPlacement() : Google_Service_Dataproc_JobPlacement
Return values
Google_Service_Dataproc_JobPlacement —getPrestoJob()
public
getPrestoJob() : Google_Service_Dataproc_PrestoJob
Return values
Google_Service_Dataproc_PrestoJob —getPysparkJob()
public
getPysparkJob() : Google_Service_Dataproc_PySparkJob
Return values
Google_Service_Dataproc_PySparkJob —getReference()
public
getReference() : Google_Service_Dataproc_JobReference
Return values
Google_Service_Dataproc_JobReference —getScheduling()
public
getScheduling() : Google_Service_Dataproc_JobScheduling
Return values
Google_Service_Dataproc_JobScheduling —getSparkJob()
public
getSparkJob() : Google_Service_Dataproc_SparkJob
Return values
Google_Service_Dataproc_SparkJob —getSparkRJob()
public
getSparkRJob() : Google_Service_Dataproc_SparkRJob
Return values
Google_Service_Dataproc_SparkRJob —getSparkSqlJob()
public
getSparkSqlJob() : Google_Service_Dataproc_SparkSqlJob
Return values
Google_Service_Dataproc_SparkSqlJob —getStatus()
public
getStatus() : Google_Service_Dataproc_JobStatus
Return values
Google_Service_Dataproc_JobStatus —getStatusHistory()
public
getStatusHistory() : Google_Service_Dataproc_JobStatus
Return values
Google_Service_Dataproc_JobStatus —getYarnApplications()
public
getYarnApplications() : Google_Service_Dataproc_YarnApplication
Return values
Google_Service_Dataproc_YarnApplication —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 —setDone()
public
setDone(mixed $done) : mixed
Parameters
- $done : mixed
Return values
mixed —setDriverControlFilesUri()
public
setDriverControlFilesUri(mixed $driverControlFilesUri) : mixed
Parameters
- $driverControlFilesUri : mixed
Return values
mixed —setDriverOutputResourceUri()
public
setDriverOutputResourceUri(mixed $driverOutputResourceUri) : mixed
Parameters
- $driverOutputResourceUri : mixed
Return values
mixed —setHadoopJob()
public
setHadoopJob(Google_Service_Dataproc_HadoopJob $hadoopJob) : mixed
Parameters
- $hadoopJob : Google_Service_Dataproc_HadoopJob
Return values
mixed —setHiveJob()
public
setHiveJob(Google_Service_Dataproc_HiveJob $hiveJob) : mixed
Parameters
- $hiveJob : Google_Service_Dataproc_HiveJob
Return values
mixed —setJobUuid()
public
setJobUuid(mixed $jobUuid) : mixed
Parameters
- $jobUuid : mixed
Return values
mixed —setLabels()
public
setLabels(mixed $labels) : mixed
Parameters
- $labels : mixed
Return values
mixed —setPigJob()
public
setPigJob(Google_Service_Dataproc_PigJob $pigJob) : mixed
Parameters
- $pigJob : Google_Service_Dataproc_PigJob
Return values
mixed —setPlacement()
public
setPlacement(Google_Service_Dataproc_JobPlacement $placement) : mixed
Parameters
- $placement : Google_Service_Dataproc_JobPlacement
Return values
mixed —setPrestoJob()
public
setPrestoJob(Google_Service_Dataproc_PrestoJob $prestoJob) : mixed
Parameters
- $prestoJob : Google_Service_Dataproc_PrestoJob
Return values
mixed —setPysparkJob()
public
setPysparkJob(Google_Service_Dataproc_PySparkJob $pysparkJob) : mixed
Parameters
- $pysparkJob : Google_Service_Dataproc_PySparkJob
Return values
mixed —setReference()
public
setReference(Google_Service_Dataproc_JobReference $reference) : mixed
Parameters
- $reference : Google_Service_Dataproc_JobReference
Return values
mixed —setScheduling()
public
setScheduling(Google_Service_Dataproc_JobScheduling $scheduling) : mixed
Parameters
- $scheduling : Google_Service_Dataproc_JobScheduling
Return values
mixed —setSparkJob()
public
setSparkJob(Google_Service_Dataproc_SparkJob $sparkJob) : mixed
Parameters
- $sparkJob : Google_Service_Dataproc_SparkJob
Return values
mixed —setSparkRJob()
public
setSparkRJob(Google_Service_Dataproc_SparkRJob $sparkRJob) : mixed
Parameters
- $sparkRJob : Google_Service_Dataproc_SparkRJob
Return values
mixed —setSparkSqlJob()
public
setSparkSqlJob(Google_Service_Dataproc_SparkSqlJob $sparkSqlJob) : mixed
Parameters
- $sparkSqlJob : Google_Service_Dataproc_SparkSqlJob
Return values
mixed —setStatus()
public
setStatus(Google_Service_Dataproc_JobStatus $status) : mixed
Parameters
- $status : Google_Service_Dataproc_JobStatus
Return values
mixed —setStatusHistory()
public
setStatusHistory(mixed $statusHistory) : mixed
Parameters
- $statusHistory : mixed
Return values
mixed —setYarnApplications()
public
setYarnApplications(mixed $yarnApplications) : mixed
Parameters
- $yarnApplications : 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