本文整理汇总了PHP中GoogleGAL_Service类的典型用法代码示例。如果您正苦于以下问题:PHP GoogleGAL_Service类的具体用法?PHP GoogleGAL_Service怎么用?PHP GoogleGAL_Service使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了GoogleGAL_Service类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* Constructs the internal representation of the Customsearch service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'customsearch/';
$this->version = 'v1';
$this->serviceName = 'customsearch';
$this->cse = new GoogleGAL_Service_Customsearch_Cse_Resource($this, $this->serviceName, 'cse', array('methods' => array('list' => array('path' => 'v1', 'httpMethod' => 'GET', 'parameters' => array('q' => array('location' => 'query', 'type' => 'string', 'required' => true), 'sort' => array('location' => 'query', 'type' => 'string'), 'orTerms' => array('location' => 'query', 'type' => 'string'), 'highRange' => array('location' => 'query', 'type' => 'string'), 'num' => array('location' => 'query', 'type' => 'integer'), 'cr' => array('location' => 'query', 'type' => 'string'), 'imgType' => array('location' => 'query', 'type' => 'string'), 'gl' => array('location' => 'query', 'type' => 'string'), 'relatedSite' => array('location' => 'query', 'type' => 'string'), 'searchType' => array('location' => 'query', 'type' => 'string'), 'fileType' => array('location' => 'query', 'type' => 'string'), 'start' => array('location' => 'query', 'type' => 'integer'), 'imgDominantColor' => array('location' => 'query', 'type' => 'string'), 'lr' => array('location' => 'query', 'type' => 'string'), 'siteSearch' => array('location' => 'query', 'type' => 'string'), 'cref' => array('location' => 'query', 'type' => 'string'), 'dateRestrict' => array('location' => 'query', 'type' => 'string'), 'safe' => array('location' => 'query', 'type' => 'string'), 'c2coff' => array('location' => 'query', 'type' => 'string'), 'googlehost' => array('location' => 'query', 'type' => 'string'), 'hq' => array('location' => 'query', 'type' => 'string'), 'exactTerms' => array('location' => 'query', 'type' => 'string'), 'hl' => array('location' => 'query', 'type' => 'string'), 'lowRange' => array('location' => 'query', 'type' => 'string'), 'imgSize' => array('location' => 'query', 'type' => 'string'), 'imgColorType' => array('location' => 'query', 'type' => 'string'), 'rights' => array('location' => 'query', 'type' => 'string'), 'excludeTerms' => array('location' => 'query', 'type' => 'string'), 'filter' => array('location' => 'query', 'type' => 'string'), 'linkSite' => array('location' => 'query', 'type' => 'string'), 'cx' => array('location' => 'query', 'type' => 'string'), 'siteSearchFilter' => array('location' => 'query', 'type' => 'string'))))));
}
示例2: __construct
/**
* Constructs the internal representation of the GroupsMigration service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'groups/v1/groups/';
$this->version = 'v1';
$this->serviceName = 'groupsmigration';
$this->archive = new GoogleGAL_Service_GroupsMigration_Archive_Resource($this, $this->serviceName, 'archive', array('methods' => array('insert' => array('path' => '{groupId}/archive', 'httpMethod' => 'POST', 'parameters' => array('groupId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
}
示例3: __construct
/**
* Constructs the internal representation of the Licensing service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'apps/licensing/v1/product/';
$this->version = 'v1';
$this->serviceName = 'licensing';
$this->licenseAssignments = new GoogleGAL_Service_Licensing_LicenseAssignments_Resource($this, $this->serviceName, 'licenseAssignments', array('methods' => array('delete' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'DELETE', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{productId}/sku/{skuId}/user', 'httpMethod' => 'POST', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'listForProduct' => array('path' => '{productId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'listForProductAndSku' => array('path' => '{productId}/sku/{skuId}/users', 'httpMethod' => 'GET', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'customerId' => array('location' => 'query', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'patch' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PATCH', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => '{productId}/sku/{skuId}/user/{userId}', 'httpMethod' => 'PUT', 'parameters' => array('productId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'skuId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'userId' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
}
示例4: __construct
/**
* Constructs the internal representation of the Spectrum service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'spectrum/v1explorer/paws/';
$this->version = 'v1explorer';
$this->serviceName = 'spectrum';
$this->paws = new GoogleGAL_Service_Spectrum_Paws_Resource($this, $this->serviceName, 'paws', array('methods' => array('getSpectrum' => array('path' => 'getSpectrum', 'httpMethod' => 'POST', 'parameters' => array()), 'getSpectrumBatch' => array('path' => 'getSpectrumBatch', 'httpMethod' => 'POST', 'parameters' => array()), 'init' => array('path' => 'init', 'httpMethod' => 'POST', 'parameters' => array()), 'notifySpectrumUse' => array('path' => 'notifySpectrumUse', 'httpMethod' => 'POST', 'parameters' => array()), 'register' => array('path' => 'register', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyDevice' => array('path' => 'verifyDevice', 'httpMethod' => 'POST', 'parameters' => array()))));
}
示例5: __construct
/**
* Constructs the internal representation of the QPXExpress service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'qpxExpress/v1/trips/';
$this->version = 'v1';
$this->serviceName = 'qpxExpress';
$this->trips = new GoogleGAL_Service_QPXExpress_Trips_Resource($this, $this->serviceName, 'trips', array('methods' => array('search' => array('path' => 'search', 'httpMethod' => 'POST', 'parameters' => array()))));
}
示例6: __construct
/**
* Constructs the internal representation of the Appsactivity service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'appsactivity/v1/';
$this->version = 'v1';
$this->serviceName = 'appsactivity';
$this->activities = new GoogleGAL_Service_Appsactivity_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => 'activities', 'httpMethod' => 'GET', 'parameters' => array('drive.ancestorId' => array('location' => 'query', 'type' => 'string'), 'pageSize' => array('location' => 'query', 'type' => 'integer'), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'userId' => array('location' => 'query', 'type' => 'string'), 'groupingStrategy' => array('location' => 'query', 'type' => 'string'), 'drive.fileId' => array('location' => 'query', 'type' => 'string'), 'source' => array('location' => 'query', 'type' => 'string'))))));
}
示例7: __construct
/**
* Constructs the internal representation of the Audit service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'apps/reporting/audit/v1/';
$this->version = 'v1';
$this->serviceName = 'audit';
$this->activities = new GoogleGAL_Service_Audit_Activities_Resource($this, $this->serviceName, 'activities', array('methods' => array('list' => array('path' => '{customerId}/{applicationId}', 'httpMethod' => 'GET', 'parameters' => array('customerId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'applicationId' => array('location' => 'path', 'type' => 'string', 'required' => true), 'actorEmail' => array('location' => 'query', 'type' => 'string'), 'actorApplicationId' => array('location' => 'query', 'type' => 'string'), 'actorIpAddress' => array('location' => 'query', 'type' => 'string'), 'caller' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'), 'eventName' => array('location' => 'query', 'type' => 'string'), 'startTime' => array('location' => 'query', 'type' => 'string'), 'endTime' => array('location' => 'query', 'type' => 'string'), 'continuationToken' => array('location' => 'query', 'type' => 'string'))))));
}
示例8: __construct
/**
* Constructs the internal representation of the Replicapoolupdater service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'replicapoolupdater/v1beta1/projects/';
$this->version = 'v1beta1';
$this->serviceName = 'replicapoolupdater';
$this->updates = new GoogleGAL_Service_Replicapoolupdater_Updates_Resource($this, $this->serviceName, 'updates', array('methods' => array('cancel' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/cancel', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true), 'update' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true), 'update' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'insert' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'list' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates', 'httpMethod' => 'GET', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true), 'pageToken' => array('location' => 'query', 'type' => 'string'), 'maxResults' => array('location' => 'query', 'type' => 'integer'))), 'pause' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/pause', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true), 'update' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'rollback' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/rollback', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true), 'update' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'rollforward' => array('path' => '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updates/{update}/rollforward', 'httpMethod' => 'POST', 'parameters' => array('project' => array('location' => 'path', 'type' => 'string', 'required' => true), 'zone' => array('location' => 'path', 'type' => 'string', 'required' => true), 'instanceGroupManager' => array('location' => 'path', 'type' => 'string', 'required' => true), 'update' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
}
示例9: __construct
/**
* Constructs the internal representation of the Urlshortener service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'urlshortener/v1/';
$this->version = 'v1';
$this->serviceName = 'urlshortener';
$this->url = new GoogleGAL_Service_Urlshortener_Url_Resource($this, $this->serviceName, 'url', array('methods' => array('get' => array('path' => 'url', 'httpMethod' => 'GET', 'parameters' => array('shortUrl' => array('location' => 'query', 'type' => 'string', 'required' => true), 'projection' => array('location' => 'query', 'type' => 'string'))), 'insert' => array('path' => 'url', 'httpMethod' => 'POST', 'parameters' => array()), 'list' => array('path' => 'url/history', 'httpMethod' => 'GET', 'parameters' => array('start-token' => array('location' => 'query', 'type' => 'string'), 'projection' => array('location' => 'query', 'type' => 'string'))))));
}
示例10: __construct
/**
* Constructs the internal representation of the IdentityToolkit service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'identitytoolkit/v3/relyingparty/';
$this->version = 'v3';
$this->serviceName = 'identitytoolkit';
$this->relyingparty = new GoogleGAL_Service_IdentityToolkit_Relyingparty_Resource($this, $this->serviceName, 'relyingparty', array('methods' => array('createAuthUri' => array('path' => 'createAuthUri', 'httpMethod' => 'POST', 'parameters' => array()), 'deleteAccount' => array('path' => 'deleteAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'downloadAccount' => array('path' => 'downloadAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'getAccountInfo' => array('path' => 'getAccountInfo', 'httpMethod' => 'POST', 'parameters' => array()), 'getOobConfirmationCode' => array('path' => 'getOobConfirmationCode', 'httpMethod' => 'POST', 'parameters' => array()), 'getPublicKeys' => array('path' => 'publicKeys', 'httpMethod' => 'GET', 'parameters' => array()), 'resetPassword' => array('path' => 'resetPassword', 'httpMethod' => 'POST', 'parameters' => array()), 'setAccountInfo' => array('path' => 'setAccountInfo', 'httpMethod' => 'POST', 'parameters' => array()), 'uploadAccount' => array('path' => 'uploadAccount', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyAssertion' => array('path' => 'verifyAssertion', 'httpMethod' => 'POST', 'parameters' => array()), 'verifyPassword' => array('path' => 'verifyPassword', 'httpMethod' => 'POST', 'parameters' => array()))));
}
示例11: __construct
/**
* Constructs the internal representation of the Admin service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'email/v2/users/';
$this->version = 'email_migration_v2';
$this->serviceName = 'admin';
$this->mail = new GoogleGAL_Service_Admin_Mail_Resource($this, $this->serviceName, 'mail', array('methods' => array('insert' => array('path' => '{userKey}/mail', 'httpMethod' => 'POST', 'parameters' => array('userKey' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
}
示例12: __construct
/**
* Constructs the internal representation of the SiteVerification service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'siteVerification/v1/';
$this->version = 'v1';
$this->serviceName = 'siteVerification';
$this->webResource = new GoogleGAL_Service_SiteVerification_WebResource_Resource($this, $this->serviceName, 'webResource', array('methods' => array('delete' => array('path' => 'webResource/{id}', 'httpMethod' => 'DELETE', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'get' => array('path' => 'webResource/{id}', 'httpMethod' => 'GET', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'getToken' => array('path' => 'token', 'httpMethod' => 'POST', 'parameters' => array()), 'insert' => array('path' => 'webResource', 'httpMethod' => 'POST', 'parameters' => array('verificationMethod' => array('location' => 'query', 'type' => 'string', 'required' => true))), 'list' => array('path' => 'webResource', 'httpMethod' => 'GET', 'parameters' => array()), 'patch' => array('path' => 'webResource/{id}', 'httpMethod' => 'PATCH', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))), 'update' => array('path' => 'webResource/{id}', 'httpMethod' => 'PUT', 'parameters' => array('id' => array('location' => 'path', 'type' => 'string', 'required' => true))))));
}
示例13: __construct
/**
* Constructs the internal representation of the Webfonts service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'webfonts/v1/';
$this->version = 'v1';
$this->serviceName = 'webfonts';
$this->webfonts = new GoogleGAL_Service_Webfonts_Webfonts_Resource($this, $this->serviceName, 'webfonts', array('methods' => array('list' => array('path' => 'webfonts', 'httpMethod' => 'GET', 'parameters' => array('sort' => array('location' => 'query', 'type' => 'string'))))));
}
示例14: __construct
/**
* Constructs the internal representation of the Freebase service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'freebase/v1/';
$this->version = 'v1';
$this->serviceName = 'freebase';
$this->base_methods = new GoogleGAL_Service_Resource($this, $this->serviceName, '', array('methods' => array('reconcile' => array('path' => 'reconcile', 'httpMethod' => 'GET', 'parameters' => array('lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'confidence' => array('location' => 'query', 'type' => 'number'), 'name' => array('location' => 'query', 'type' => 'string'), 'kind' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'prop' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'limit' => array('location' => 'query', 'type' => 'integer'))), 'search' => array('path' => 'search', 'httpMethod' => 'GET', 'parameters' => array('domain' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'help' => array('location' => 'query', 'type' => 'string'), 'query' => array('location' => 'query', 'type' => 'string'), 'scoring' => array('location' => 'query', 'type' => 'string'), 'cursor' => array('location' => 'query', 'type' => 'integer'), 'prefixed' => array('location' => 'query', 'type' => 'boolean'), 'exact' => array('location' => 'query', 'type' => 'boolean'), 'mid' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'encode' => array('location' => 'query', 'type' => 'string'), 'type' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'as_of_time' => array('location' => 'query', 'type' => 'string'), 'stemmed' => array('location' => 'query', 'type' => 'boolean'), 'format' => array('location' => 'query', 'type' => 'string'), 'spell' => array('location' => 'query', 'type' => 'string'), 'with' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'lang' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'indent' => array('location' => 'query', 'type' => 'boolean'), 'filter' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'callback' => array('location' => 'query', 'type' => 'string'), 'without' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'limit' => array('location' => 'query', 'type' => 'integer'), 'output' => array('location' => 'query', 'type' => 'string'), 'mql_output' => array('location' => 'query', 'type' => 'string'))))));
}
示例15: __construct
/**
* Constructs the internal representation of the Pagespeedonline service.
*
* @param GoogleGAL_Client $client
*/
public function __construct(GoogleGAL_Client $client)
{
parent::__construct($client);
$this->servicePath = 'pagespeedonline/v1/';
$this->version = 'v1';
$this->serviceName = 'pagespeedonline';
$this->pagespeedapi = new GoogleGAL_Service_Pagespeedonline_Pagespeedapi_Resource($this, $this->serviceName, 'pagespeedapi', array('methods' => array('runpagespeed' => array('path' => 'runPagespeed', 'httpMethod' => 'GET', 'parameters' => array('url' => array('location' => 'query', 'type' => 'string', 'required' => true), 'screenshot' => array('location' => 'query', 'type' => 'boolean'), 'locale' => array('location' => 'query', 'type' => 'string'), 'snapshots' => array('location' => 'query', 'type' => 'boolean'), 'strategy' => array('location' => 'query', 'type' => 'string'), 'rule' => array('location' => 'query', 'type' => 'string', 'repeated' => true), 'filter_third_party_resources' => array('location' => 'query', 'type' => 'boolean'))))));
}