Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

   1  <?php
   2  /*
   3   * Copyright 2010 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  
  18  /**
  19   * Service definition for Cloudsearch (v1).
  20   *
  21   * <p>
  22   * The Google Cloud Search API defines an application interface to index
  23   * documents that contain structured data and to search those indexes. It
  24   * supports full text search.</p>
  25   *
  26   * <p>
  27   * For more information about this service, see the API
  28   * <a href="" target="_blank">Documentation</a>
  29   * </p>
  30   *
  31   * @author Google, Inc.
  32   */
  33  class Google_Service_Cloudsearch extends Google_Service
  34  {
  35  
  36  
  37  
  38    
  39  
  40    /**
  41     * Constructs the internal representation of the Cloudsearch service.
  42     *
  43     * @param Google_Client $client
  44     */
  45    public function __construct(Google_Client $client)
  46    {
  47      parent::__construct($client);
  48      $this->servicePath = '';
  49      $this->version = 'v1';
  50      $this->serviceName = 'cloudsearch';
  51  
  52    }
  53  }