source: vendor/google/apiclient-services/src/BusinessProfilePerformance/Resource/LocationsSearchkeywordsImpressionsMonthly.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 3 weeks 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\BusinessProfilePerformance\Resource;
19
20use Google\Service\BusinessProfilePerformance\ListSearchKeywordImpressionsMonthlyResponse;
21
22/**
23 * The "monthly" collection of methods.
24 * Typical usage is:
25 * <code>
26 * $businessprofileperformanceService = new Google\Service\BusinessProfilePerformance(...);
27 * $monthly = $businessprofileperformanceService->locations_searchkeywords_impressions_monthly;
28 * </code>
29 */
30class LocationsSearchkeywordsImpressionsMonthly extends \Google\Service\Resource
31{
32 /**
33 * (monthly.listLocationsSearchkeywordsImpressionsMonthly)
34 *
35 * @param string $parent Required. The location for which the time series should
36 * be fetched. Format: locations/{location_id} where location_id is an
37 * unobfuscated listing id.
38 * @param array $optParams Optional parameters.
39 *
40 * @opt_param int monthlyRange.endMonth.day Day of a month. Must be from 1 to 31
41 * and valid for the year and month, or 0 to specify a year by itself or a year
42 * and month where the day isn't significant.
43 * @opt_param int monthlyRange.endMonth.month Month of a year. Must be from 1 to
44 * 12, or 0 to specify a year without a month and day.
45 * @opt_param int monthlyRange.endMonth.year Year of the date. Must be from 1 to
46 * 9999, or 0 to specify a date without a year.
47 * @opt_param int monthlyRange.startMonth.day Day of a month. Must be from 1 to
48 * 31 and valid for the year and month, or 0 to specify a year by itself or a
49 * year and month where the day isn't significant.
50 * @opt_param int monthlyRange.startMonth.month Month of a year. Must be from 1
51 * to 12, or 0 to specify a year without a month and day.
52 * @opt_param int monthlyRange.startMonth.year Year of the date. Must be from 1
53 * to 9999, or 0 to specify a date without a year.
54 * @opt_param int pageSize Optional. The number of results requested. The
55 * default page size is 100. Page size can be set to a maximum of 100.
56 * @opt_param string pageToken Optional. A token indicating the next paginated
57 * result to be returned.
58 * @return ListSearchKeywordImpressionsMonthlyResponse
59 * @throws \Google\Service\Exception
60 */
61 public function listLocationsSearchkeywordsImpressionsMonthly($parent, $optParams = [])
62 {
63 $params = ['parent' => $parent];
64 $params = array_merge($params, $optParams);
65 return $this->call('list', [$params], ListSearchKeywordImpressionsMonthlyResponse::class);
66 }
67}
68
69// Adding a class alias for backwards compatibility with the previous class name.
70class_alias(LocationsSearchkeywordsImpressionsMonthly::class, 'Google_Service_BusinessProfilePerformance_Resource_LocationsSearchkeywordsImpressionsMonthly');
Note: See TracBrowser for help on using the repository browser.