Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

File Size: 1595 lines (44 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 25 classes

Google_Service_Coordinate:: (1 method):
  __construct()

Google_Service_Coordinate_CustomFieldDef_Resource:: (1 method):
  listCustomFieldDef()

Google_Service_Coordinate_Jobs_Resource:: (5 methods):
  get()
  insert()
  listJobs()
  patch()
  update()

Google_Service_Coordinate_Location_Resource:: (1 method):
  listLocation()

Google_Service_Coordinate_Schedule_Resource:: (3 methods):
  get()
  patch()
  update()

Google_Service_Coordinate_Team_Resource:: (1 method):
  listTeam()

Google_Service_Coordinate_Worker_Resource:: (1 method):
  listWorker()

Google_Service_Coordinate_CustomField:: (6 methods):
  setCustomFieldId()
  getCustomFieldId()
  setKind()
  getKind()
  setValue()
  getValue()

Google_Service_Coordinate_CustomFieldDef:: (14 methods):
  setEnabled()
  getEnabled()
  setEnumitems()
  getEnumitems()
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setRequiredForCheckout()
  getRequiredForCheckout()
  setType()
  getType()

Google_Service_Coordinate_CustomFieldDefListResponse:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()

Google_Service_Coordinate_CustomFields:: (4 methods):
  setCustomField()
  getCustomField()
  setKind()
  getKind()

Google_Service_Coordinate_EnumItemDef:: (6 methods):
  setActive()
  getActive()
  setKind()
  getKind()
  setValue()
  getValue()

Google_Service_Coordinate_Job:: (8 methods):
  setId()
  getId()
  setJobChange()
  getJobChange()
  setKind()
  getKind()
  setState()
  getState()

Google_Service_Coordinate_JobChange:: (6 methods):
  setKind()
  getKind()
  setState()
  getState()
  setTimestamp()
  getTimestamp()

Google_Service_Coordinate_JobListResponse:: (6 methods):
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()

Google_Service_Coordinate_JobState:: (18 methods):
  setAssignee()
  getAssignee()
  setCustomFields()
  getCustomFields()
  setCustomerName()
  getCustomerName()
  setCustomerPhoneNumber()
  getCustomerPhoneNumber()
  setKind()
  getKind()
  setLocation()
  getLocation()
  setNote()
  getNote()
  setProgress()
  getProgress()
  setTitle()
  getTitle()

Google_Service_Coordinate_Location:: (8 methods):
  setAddressLine()
  getAddressLine()
  setKind()
  getKind()
  setLat()
  getLat()
  setLng()
  getLng()

Google_Service_Coordinate_LocationListResponse:: (8 methods):
  setItems()
  getItems()
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setTokenPagination()
  getTokenPagination()

Google_Service_Coordinate_LocationRecord:: (10 methods):
  setCollectionTime()
  getCollectionTime()
  setConfidenceRadius()
  getConfidenceRadius()
  setKind()
  getKind()
  setLatitude()
  getLatitude()
  setLongitude()
  getLongitude()

Google_Service_Coordinate_Schedule:: (10 methods):
  setAllDay()
  getAllDay()
  setDuration()
  getDuration()
  setEndTime()
  getEndTime()
  setKind()
  getKind()
  setStartTime()
  getStartTime()

Google_Service_Coordinate_Team:: (6 methods):
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()

Google_Service_Coordinate_TeamListResponse:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()

Google_Service_Coordinate_TokenPagination:: (6 methods):
  setKind()
  getKind()
  setNextPageToken()
  getNextPageToken()
  setPreviousPageToken()
  getPreviousPageToken()

Google_Service_Coordinate_Worker:: (4 methods):
  setId()
  getId()
  setKind()
  getKind()

Google_Service_Coordinate_WorkerListResponse:: (4 methods):
  setItems()
  getItems()
  setKind()
  getKind()


Class: Google_Service_Coordinate  - X-Ref

Service definition for Coordinate (v1).

<p>
Lets you view and manage jobs in a Coordinate team.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/coordinate/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Coordinate service.

param: Google_Client $client

Class: Google_Service_Coordinate_CustomFieldDef_Resource  - X-Ref

The "customFieldDef" collection of methods.
Typical usage is:
<code>
$coordinateService = new Google_Service_Coordinate(...);
$customFieldDef = $coordinateService->customFieldDef;
</code>

listCustomFieldDef($teamId, $optParams = array()   X-Ref
Retrieves a list of custom field definitions for a team.
(customFieldDef.listCustomFieldDef)

param: string $teamId Team ID
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_CustomFieldDefListResponse

Class: Google_Service_Coordinate_Jobs_Resource  - X-Ref

The "jobs" collection of methods.
Typical usage is:
<code>
$coordinateService = new Google_Service_Coordinate(...);
$jobs = $coordinateService->jobs;
</code>

get($teamId, $jobId, $optParams = array()   X-Ref
Retrieves a job, including all the changes made to the job. (jobs.get)

param: string $teamId Team ID
param: string $jobId Job number
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Job

insert($teamId, $address, $lat, $lng, $title, Google_Service_Coordinate_Job $postBody, $optParams = array()   X-Ref
Inserts a new job. Only the state field of the job should be set.
(jobs.insert)

param: string $teamId Team ID
param: string $address Job address as newline (Unix) separated string
param: double $lat The latitude coordinate of this job's location.
param: double $lng The longitude coordinate of this job's location.
param: string $title Job title
param: Google_Job $postBody
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Job

listJobs($teamId, $optParams = array()   X-Ref
Retrieves jobs created or modified since the given timestamp. (jobs.listJobs)

param: string $teamId Team ID
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_JobListResponse

patch($teamId, $jobId, Google_Service_Coordinate_Job $postBody, $optParams = array()   X-Ref
Updates a job. Fields that are set in the job state will be updated. This
method supports patch semantics. (jobs.patch)

param: string $teamId Team ID
param: string $jobId Job number
param: Google_Job $postBody
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Job

update($teamId, $jobId, Google_Service_Coordinate_Job $postBody, $optParams = array()   X-Ref
Updates a job. Fields that are set in the job state will be updated.
(jobs.update)

param: string $teamId Team ID
param: string $jobId Job number
param: Google_Job $postBody
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Job

Class: Google_Service_Coordinate_Location_Resource  - X-Ref

The "location" collection of methods.
Typical usage is:
<code>
$coordinateService = new Google_Service_Coordinate(...);
$location = $coordinateService->location;
</code>

listLocation($teamId, $workerEmail, $startTimestampMs, $optParams = array()   X-Ref
Retrieves a list of locations for a worker. (location.listLocation)

param: string $teamId Team ID
param: string $workerEmail Worker email address.
param: string $startTimestampMs Start timestamp in milliseconds since the
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_LocationListResponse

Class: Google_Service_Coordinate_Schedule_Resource  - X-Ref

The "schedule" collection of methods.
Typical usage is:
<code>
$coordinateService = new Google_Service_Coordinate(...);
$schedule = $coordinateService->schedule;
</code>

get($teamId, $jobId, $optParams = array()   X-Ref
Retrieves the schedule for a job. (schedule.get)

param: string $teamId Team ID
param: string $jobId Job number
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Schedule

patch($teamId, $jobId, Google_Service_Coordinate_Schedule $postBody, $optParams = array()   X-Ref
Replaces the schedule of a job with the provided schedule. This method
supports patch semantics. (schedule.patch)

param: string $teamId Team ID
param: string $jobId Job number
param: Google_Schedule $postBody
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Schedule

update($teamId, $jobId, Google_Service_Coordinate_Schedule $postBody, $optParams = array()   X-Ref
Replaces the schedule of a job with the provided schedule. (schedule.update)

param: string $teamId Team ID
param: string $jobId Job number
param: Google_Schedule $postBody
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_Schedule

Class: Google_Service_Coordinate_Team_Resource  - X-Ref

The "team" collection of methods.
Typical usage is:
<code>
$coordinateService = new Google_Service_Coordinate(...);
$team = $coordinateService->team;
</code>

listTeam($optParams = array()   X-Ref
Retrieves a list of teams for a user. (team.listTeam)

param: array $optParams Optional parameters.
return: Google_Service_Coordinate_TeamListResponse

Class: Google_Service_Coordinate_Worker_Resource  - X-Ref

The "worker" collection of methods.
Typical usage is:
<code>
$coordinateService = new Google_Service_Coordinate(...);
$worker = $coordinateService->worker;
</code>

listWorker($teamId, $optParams = array()   X-Ref
Retrieves a list of workers in a team. (worker.listWorker)

param: string $teamId Team ID
param: array $optParams Optional parameters.
return: Google_Service_Coordinate_WorkerListResponse

Class: Google_Service_Coordinate_CustomField  - X-Ref

setCustomFieldId($customFieldId)   X-Ref
No description

getCustomFieldId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setValue($value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_Coordinate_CustomFieldDef  - X-Ref

setEnabled($enabled)   X-Ref
No description

getEnabled()   X-Ref
No description

setEnumitems($enumitems)   X-Ref
No description

getEnumitems()   X-Ref
No description

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setRequiredForCheckout($requiredForCheckout)   X-Ref
No description

getRequiredForCheckout()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_Coordinate_CustomFieldDefListResponse  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_Coordinate_CustomFields  - X-Ref

setCustomField($customField)   X-Ref
No description

getCustomField()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_Coordinate_EnumItemDef  - X-Ref

setActive($active)   X-Ref
No description

getActive()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setValue($value)   X-Ref
No description

getValue()   X-Ref
No description

Class: Google_Service_Coordinate_Job  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setJobChange($jobChange)   X-Ref
No description

getJobChange()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setState(Google_Service_Coordinate_JobState $state)   X-Ref
No description

getState()   X-Ref
No description

Class: Google_Service_Coordinate_JobChange  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setState(Google_Service_Coordinate_JobState $state)   X-Ref
No description

getState()   X-Ref
No description

setTimestamp($timestamp)   X-Ref
No description

getTimestamp()   X-Ref
No description

Class: Google_Service_Coordinate_JobListResponse  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_Coordinate_JobState  - X-Ref

setAssignee($assignee)   X-Ref
No description

getAssignee()   X-Ref
No description

setCustomFields(Google_Service_Coordinate_CustomFields $customFields)   X-Ref
No description

getCustomFields()   X-Ref
No description

setCustomerName($customerName)   X-Ref
No description

getCustomerName()   X-Ref
No description

setCustomerPhoneNumber($customerPhoneNumber)   X-Ref
No description

getCustomerPhoneNumber()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLocation(Google_Service_Coordinate_Location $location)   X-Ref
No description

getLocation()   X-Ref
No description

setNote($note)   X-Ref
No description

getNote()   X-Ref
No description

setProgress($progress)   X-Ref
No description

getProgress()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

Class: Google_Service_Coordinate_Location  - X-Ref

setAddressLine($addressLine)   X-Ref
No description

getAddressLine()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLat($lat)   X-Ref
No description

getLat()   X-Ref
No description

setLng($lng)   X-Ref
No description

getLng()   X-Ref
No description

Class: Google_Service_Coordinate_LocationListResponse  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setTokenPagination(Google_Service_Coordinate_TokenPagination $tokenPagination)   X-Ref
No description

getTokenPagination()   X-Ref
No description

Class: Google_Service_Coordinate_LocationRecord  - X-Ref

setCollectionTime($collectionTime)   X-Ref
No description

getCollectionTime()   X-Ref
No description

setConfidenceRadius($confidenceRadius)   X-Ref
No description

getConfidenceRadius()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLatitude($latitude)   X-Ref
No description

getLatitude()   X-Ref
No description

setLongitude($longitude)   X-Ref
No description

getLongitude()   X-Ref
No description

Class: Google_Service_Coordinate_Schedule  - X-Ref

setAllDay($allDay)   X-Ref
No description

getAllDay()   X-Ref
No description

setDuration($duration)   X-Ref
No description

getDuration()   X-Ref
No description

setEndTime($endTime)   X-Ref
No description

getEndTime()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setStartTime($startTime)   X-Ref
No description

getStartTime()   X-Ref
No description

Class: Google_Service_Coordinate_Team  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_Coordinate_TeamListResponse  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_Coordinate_TokenPagination  - X-Ref

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

setPreviousPageToken($previousPageToken)   X-Ref
No description

getPreviousPageToken()   X-Ref
No description

Class: Google_Service_Coordinate_Worker  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

Class: Google_Service_Coordinate_WorkerListResponse  - X-Ref

setItems($items)   X-Ref
No description

getItems()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description