Search moodle.org's
Developer Documentation

See Release Notes

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

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

(no description)

File Size: 1218 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)

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

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)

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

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)

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

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

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

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)

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

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)

param: array $optParams Optional parameters.
return: Google_Service_YouTubeAnalytics_GroupListResponse

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

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

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)

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.
return: Google_Service_YouTubeAnalytics_ResultTable

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