Returns a list of offline dictionary metadata available
(dictionary.listOfflineMetadata)

@param string $cpksver The device/version ID from which to request the data.
@param array $optParams Optional parameters.
@return Google_Service_Books_Metadata
439853
public function listOfflineMetadata($cpksver, $optParams = array())
  {
    $params = array('cpksver' => $cpksver);
    $params = array_merge($params, $optParams);
    return $this->call('listOfflineMetadata', array($params), "Google_Service_Books_Metadata");
  }
502427
public function getUserSettings($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('getUserSettings', array($params), "Google_Service_Books_Usersettings");
  }
1096547
public function get($setting, $optParams = array()) {
      $params = array('setting' => $setting);
      $params = array_merge($params, $optParams);
      $data = $this->__call('get', array($params));
      if ($this->useObjects()) {
        return new Google_Setting($data);
      } else {
        return $data;
      }
    }
58505
public function listSubscriptions($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_Mirror_SubscriptionsListResponse");
  }
335837
public function detail($params = [], $optParams = [])
    {
        if ($optParams instanceof DetailParams) {
            $optParams = $optParams->toArray(true);
        }

        return $this->sendRequest([], [
            'customAction' => 'detail',
            'method' => 'GET',
            'params' => $params,
            'getParams' => $optParams,
        ], function ($response) {
            $items = [];
            $warnings = [];
            foreach ($response->data['items'] as $item) {
                $items[] = new DetailItem($item);
            }
            foreach ($response->data['warnings'] as $warning) {
                $warnings[] = new DetailWarning($warning);
            }

            return new Detail([
                'items' => $items,
                'warnings' => $warnings,
            ]);
        });
    }
986624
public function getMetagameConfig($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('getMetagameConfig', array($params), "Games_MetagameConfig");
  }
865280
public function read(array $opts) {
        return [array_merge(parent::read($opts)[0], [
            'recipe' => 'course_completed',
            'user_id' => $opts['relateduser']->id,
            'user_url' => $opts['relateduser']->url,
            'user_name' => $opts['relateduser']->fullname,
        ])];
    }
165952
public function listMetadataColumns($reportType, $optParams = array()) {
      $params = array('reportType' => $reportType);
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new Google_Columns($data);
      } else {
        return $data;
      }
    }
187355
public function getwatchdetails($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('getwatchdetails', array($params), "Google_Service_Reseller_ResellernotifyGetwatchdetailsResponse");
  }
452802
public function authinfo($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('authinfo', array($params), "Google_Service_ShoppingContent_AccountsAuthInfoResponse");
  }
64366
public function updateBook(Google_BooksCloudloadingResource $postBody, $optParams = array()) {
      $params = array('postBody' => $postBody);
      $params = array_merge($params, $optParams);
      $data = $this->__call('updateBook', array($params));
      if ($this->useObjects()) {
        return new Google_BooksCloudloadingResource($data);
      } else {
        return $data;
      }
    }
372788
public function listCategories($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('listCategories', array($params), "Books_Category");
  }
98922
public function listFlags($optParams = array())
  {
    $params = array();
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "SQLAdmin_FlagsListResponse");
  }
474661
public function batchGet(Google_Service_AnalyticsReporting_GetReportsRequest $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('batchGet', array($params), "Google_Service_AnalyticsReporting_GetReportsResponse");
  }
324870
public function listUserProfiles($optParams = array()) {
      $params = array();
      $params = array_merge($params, $optParams);
      $data = $this->__call('list', array($params));
      if ($this->useObjects()) {
        return new UserProfileList($data);
      } else {
        return $data;
      }
    }
700639
public function tokeninfo($optParams = array()) {
      $params = array();
      $params = array_merge($params, $optParams);
      $data = $this->__call('tokeninfo', array($params));
      if ($this->useObjects()) {
        return new Tokeninfo($data);
      } else {
        return $data;
      }
    }
1273954
public function view($params, $optParams = [])
    {
        if ($params instanceof Firewall) {
            $params = $params->id;
        }

        return $this->sendRequest([], [
            'restAction' => 'view',
            'restId' => $params,
            'getParams' => $optParams,
        ], function ($response) {
            return isset($response->data) ? new Firewall($response->data) : $response;
        });
    }