source: vendor/google/apiclient-services/src/ChromeManagement/Resource/CustomersTelemetryEvents.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 10 days ago

Upload project files

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\ChromeManagement\Resource;
19
20use Google\Service\ChromeManagement\GoogleChromeManagementV1ListTelemetryEventsResponse;
21
22/**
23 * The "events" collection of methods.
24 * Typical usage is:
25 * <code>
26 * $chromemanagementService = new Google\Service\ChromeManagement(...);
27 * $events = $chromemanagementService->customers_telemetry_events;
28 * </code>
29 */
30class CustomersTelemetryEvents extends \Google\Service\Resource
31{
32 /**
33 * List telemetry events. (events.listCustomersTelemetryEvents)
34 *
35 * @param string $parent Required. Customer id or "my_customer" to use the
36 * customer associated to the account making the request.
37 * @param array $optParams Optional parameters.
38 *
39 * @opt_param string filter Optional. Only include resources that match the
40 * filter. Although this parameter is currently optional, this parameter will be
41 * required- please specify at least 1 event type. Supported filter fields: -
42 * device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp -
43 * event_type The "timestamp" filter accepts either the Unix Epoch milliseconds
44 * format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to
45 * nine fractional digits. Both formats should be surrounded by simple double
46 * quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z",
47 * "1679283943823".
48 * @opt_param int pageSize Optional. Maximum number of results to return.
49 * Default value is 100. Maximum value is 1000.
50 * @opt_param string pageToken Optional. Token to specify next page in the list.
51 * @opt_param string readMask Required. Read mask to specify which fields to
52 * return. Although currently required, this field will become optional, while
53 * the filter parameter with an event type will be come required. Supported
54 * read_mask paths are: - device - user - audio_severe_underrun_event -
55 * usb_peripherals_event - https_latency_change_event -
56 * network_state_change_event - wifi_signal_strength_event -
57 * vpn_connection_state_change_event - app_install_event - app_uninstall_event -
58 * app_launch_event - os_crash_event
59 * @return GoogleChromeManagementV1ListTelemetryEventsResponse
60 * @throws \Google\Service\Exception
61 */
62 public function listCustomersTelemetryEvents($parent, $optParams = [])
63 {
64 $params = ['parent' => $parent];
65 $params = array_merge($params, $optParams);
66 return $this->call('list', [$params], GoogleChromeManagementV1ListTelemetryEventsResponse::class);
67 }
68}
69
70// Adding a class alias for backwards compatibility with the previous class name.
71class_alias(CustomersTelemetryEvents::class, 'Google_Service_ChromeManagement_Resource_CustomersTelemetryEvents');
Note: See TracBrowser for help on using the repository browser.