Search moodle.org's
Developer Documentation

See Release Notes

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

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

   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  #[AllowDynamicProperties]
  34  class Google_Service_Cloudsearch extends Google_Service
  35  {
  36  
  37  
  38  
  39    
  40  
  41    /**
  42     * Constructs the internal representation of the Cloudsearch service.
  43     *
  44     * @param Google_Client $client
  45     */
  46    public function __construct(Google_Client $client)
  47    {
  48      parent::__construct($client);
  49      $this->servicePath = '';
  50      $this->version = 'v1';
  51      $this->serviceName = 'cloudsearch';
  52  
  53    }
  54  }