Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 402] [Versions 400 and 403]

(no description)

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

Defines 21 classes

Google_Service_YouTubeAnalytics:: (1 method):
  __construct()

Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource:: (1 method):
  listBatchReportDefinitions()

Google_Service_YouTubeAnalytics_BatchReports_Resource:: (1 method):
  listBatchReports()

Google_Service_YouTubeAnalytics_GroupItems_Resource:: (3 methods):
  delete()
  insert()
  listGroupItems()

Google_Service_YouTubeAnalytics_Groups_Resource:: (4 methods):
  delete()
  insert()
  listGroups()
  update()

Google_Service_YouTubeAnalytics_Reports_Resource:: (1 method):
  query()

Google_Service_YouTubeAnalytics_BatchReport:: (12 methods):
  setId()
  getId()
  setKind()
  getKind()
  setOutputs()
  getOutputs()
  setReportId()
  getReportId()
  setTimeSpan()
  getTimeSpan()
  setTimeUpdated()
  getTimeUpdated()

Google_Service_YouTubeAnalytics_BatchReportDefinition:: (10 methods):
  setId()
  getId()
  setKind()
  getKind()
  setName()
  getName()
  setStatus()
  getStatus()
  setType()
  getType()

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

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

Google_Service_YouTubeAnalytics_BatchReportOutputs:: (6 methods):
  setDownloadUrl()
  getDownloadUrl()
  setFormat()
  getFormat()
  setType()
  getType()

Google_Service_YouTubeAnalytics_BatchReportTimeSpan:: (4 methods):
  setEndTime()
  getEndTime()
  setStartTime()
  getStartTime()

Google_Service_YouTubeAnalytics_Group:: (10 methods):
  setContentDetails()
  getContentDetails()
  setEtag()
  getEtag()
  setId()
  getId()
  setKind()
  getKind()
  setSnippet()
  getSnippet()

Google_Service_YouTubeAnalytics_GroupContentDetails:: (4 methods):
  setItemCount()
  getItemCount()
  setItemType()
  getItemType()

Google_Service_YouTubeAnalytics_GroupItem:: (10 methods):
  setEtag()
  getEtag()
  setGroupId()
  getGroupId()
  setId()
  getId()
  setKind()
  getKind()
  setResource()
  getResource()

Google_Service_YouTubeAnalytics_GroupItemListResponse:: (6 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()

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

Google_Service_YouTubeAnalytics_GroupListResponse:: (6 methods):
  setEtag()
  getEtag()
  setItems()
  getItems()
  setKind()
  getKind()

Google_Service_YouTubeAnalytics_GroupSnippet:: (4 methods):
  setPublishedAt()
  getPublishedAt()
  setTitle()
  getTitle()

Google_Service_YouTubeAnalytics_ResultTable:: (6 methods):
  setColumnHeaders()
  getColumnHeaders()
  setKind()
  getKind()
  setRows()
  getRows()

Google_Service_YouTubeAnalytics_ResultTableColumnHeaders:: (6 methods):
  setColumnType()
  getColumnType()
  setDataType()
  getDataType()
  setName()
  getName()


Class: Google_Service_YouTubeAnalytics  - X-Ref

Service definition for YouTubeAnalytics (v1).

<p>
Retrieve your YouTube Analytics reports.</p>

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

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

param: Google_Client $client

Class: Google_Service_YouTubeAnalytics_BatchReportDefinitions_Resource  - X-Ref

The "batchReportDefinitions" collection of methods.
Typical usage is:
<code>
$youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
$batchReportDefinitions = $youtubeAnalyticsService->batchReportDefinitions;
</code>

listBatchReportDefinitions($onBehalfOfContentOwner, $optParams = array()   X-Ref
Retrieves a list of available batch report definitions.
(batchReportDefinitions.listBatchReportDefinitions)

return: Google_Service_YouTubeAnalytics_BatchReportDefinitionList
param: string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter
param: array $optParams Optional parameters.

Class: Google_Service_YouTubeAnalytics_BatchReports_Resource  - X-Ref

The "batchReports" collection of methods.
Typical usage is:
<code>
$youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
$batchReports = $youtubeAnalyticsService->batchReports;
</code>

listBatchReports($batchReportDefinitionId, $onBehalfOfContentOwner, $optParams = array()   X-Ref
Retrieves a list of processed batch reports. (batchReports.listBatchReports)

return: Google_Service_YouTubeAnalytics_BatchReportList
param: string $batchReportDefinitionId The batchReportDefinitionId parameter
param: string $onBehalfOfContentOwner The onBehalfOfContentOwner parameter
param: array $optParams Optional parameters.

Class: Google_Service_YouTubeAnalytics_GroupItems_Resource  - X-Ref

The "groupItems" collection of methods.
Typical usage is:
<code>
$youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
$groupItems = $youtubeAnalyticsService->groupItems;
</code>

delete($id, $optParams = array()   X-Ref
Removes an item from a group. (groupItems.delete)

param: string $id The id parameter specifies the YouTube group item ID for
param: array $optParams Optional parameters.

insert(Google_Service_YouTubeAnalytics_GroupItem $postBody, $optParams = array()   X-Ref
Creates a group item. (groupItems.insert)

return: Google_Service_YouTubeAnalytics_GroupItem
param: Google_GroupItem $postBody
param: array $optParams Optional parameters.

listGroupItems($groupId, $optParams = array()   X-Ref
Returns a collection of group items that match the API request parameters.
(groupItems.listGroupItems)

return: Google_Service_YouTubeAnalytics_GroupItemListResponse
param: string $groupId The id parameter specifies the unique ID of the group
param: array $optParams Optional parameters.

Class: Google_Service_YouTubeAnalytics_Groups_Resource  - X-Ref

The "groups" collection of methods.
Typical usage is:
<code>
$youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
$groups = $youtubeAnalyticsService->groups;
</code>

delete($id, $optParams = array()   X-Ref
Deletes a group. (groups.delete)

param: string $id The id parameter specifies the YouTube group ID for the
param: array $optParams Optional parameters.

insert(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array()   X-Ref
Creates a group. (groups.insert)

return: Google_Service_YouTubeAnalytics_Group
param: Google_Group $postBody
param: array $optParams Optional parameters.

listGroups($optParams = array()   X-Ref
Returns a collection of groups that match the API request parameters. For
example, you can retrieve all groups that the authenticated user owns, or you
can retrieve one or more groups by their unique IDs. (groups.listGroups)

return: Google_Service_YouTubeAnalytics_GroupListResponse
param: array $optParams Optional parameters.

update(Google_Service_YouTubeAnalytics_Group $postBody, $optParams = array()   X-Ref
Modifies a group. For example, you could change a group's title.
(groups.update)

return: Google_Service_YouTubeAnalytics_Group
param: Google_Group $postBody
param: array $optParams Optional parameters.

Class: Google_Service_YouTubeAnalytics_Reports_Resource  - X-Ref

The "reports" collection of methods.
Typical usage is:
<code>
$youtubeAnalyticsService = new Google_Service_YouTubeAnalytics(...);
$reports = $youtubeAnalyticsService->reports;
</code>

query($ids, $startDate, $endDate, $metrics, $optParams = array()   X-Ref
Retrieve your YouTube Analytics reports. (reports.query)

return: Google_Service_YouTubeAnalytics_ResultTable
param: string $ids Identifies the YouTube channel or content owner for which
param: string $startDate The start date for fetching YouTube Analytics data.
param: string $endDate The end date for fetching YouTube Analytics data. The
param: string $metrics A comma-separated list of YouTube Analytics metrics,
param: array $optParams Optional parameters.

Class: Google_Service_YouTubeAnalytics_BatchReport  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setOutputs($outputs)   X-Ref
No description

getOutputs()   X-Ref
No description

setReportId($reportId)   X-Ref
No description

getReportId()   X-Ref
No description

setTimeSpan(Google_Service_YouTubeAnalytics_BatchReportTimeSpan $timeSpan)   X-Ref
No description

getTimeSpan()   X-Ref
No description

setTimeUpdated($timeUpdated)   X-Ref
No description

getTimeUpdated()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_BatchReportDefinition  - 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

setStatus($status)   X-Ref
No description

getStatus()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_BatchReportDefinitionList  - 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_YouTubeAnalytics_BatchReportList  - 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_YouTubeAnalytics_BatchReportOutputs  - X-Ref

setDownloadUrl($downloadUrl)   X-Ref
No description

getDownloadUrl()   X-Ref
No description

setFormat($format)   X-Ref
No description

getFormat()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_BatchReportTimeSpan  - X-Ref

setEndTime($endTime)   X-Ref
No description

getEndTime()   X-Ref
No description

setStartTime($startTime)   X-Ref
No description

getStartTime()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_Group  - X-Ref

setContentDetails(Google_Service_YouTubeAnalytics_GroupContentDetails $contentDetails)   X-Ref
No description

getContentDetails()   X-Ref
No description

setEtag($etag)   X-Ref
No description

getEtag()   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

setSnippet(Google_Service_YouTubeAnalytics_GroupSnippet $snippet)   X-Ref
No description

getSnippet()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_GroupContentDetails  - X-Ref

setItemCount($itemCount)   X-Ref
No description

getItemCount()   X-Ref
No description

setItemType($itemType)   X-Ref
No description

getItemType()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_GroupItem  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

setGroupId($groupId)   X-Ref
No description

getGroupId()   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

setResource(Google_Service_YouTubeAnalytics_GroupItemResource $resource)   X-Ref
No description

getResource()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_GroupItemListResponse  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

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_YouTubeAnalytics_GroupItemResource  - 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_YouTubeAnalytics_GroupListResponse  - X-Ref

setEtag($etag)   X-Ref
No description

getEtag()   X-Ref
No description

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_YouTubeAnalytics_GroupSnippet  - X-Ref

setPublishedAt($publishedAt)   X-Ref
No description

getPublishedAt()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_ResultTable  - X-Ref

setColumnHeaders($columnHeaders)   X-Ref
No description

getColumnHeaders()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setRows($rows)   X-Ref
No description

getRows()   X-Ref
No description

Class: Google_Service_YouTubeAnalytics_ResultTableColumnHeaders  - X-Ref

setColumnType($columnType)   X-Ref
No description

getColumnType()   X-Ref
No description

setDataType($dataType)   X-Ref
No description

getDataType()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description