Lines Matching full:google

1 ![](https://github.com/googleapis/google-api-php-client/workflows/.github/workflows/tests.yml/badge…
3 # Google APIs Client Library for PHP #
6 …t><dd><a href="https://googleapis.github.io/google-api-php-client/main/">https://googleapis.github…
10 The Google API Client Library enables you to work with Google APIs such as Gmail, Drive or YouTube …
12 These client libraries are officially supported by Google. However, the libraries are considered c…
14 ## Google Cloud Platform
16Google Cloud Platform APIs such as [Datastore][cloud-datastore], [Cloud Storage][cloud-storage], […
18 [cloud-datastore]: https://github.com/googleapis/google-cloud-php-datastore
19 [cloud-pubsub]: https://github.com/googleapis/google-cloud-php-pubsub
20 [cloud-storage]: https://github.com/googleapis/google-cloud-php-storage
21 [cloud-compute]: https://github.com/googleapis/google-cloud-php-compute
43 composer require google/apiclient:^2.12.1
52google/apiclient-services`. That library provides up-to-date API wrappers for a large number of Go…
56 There are over 200 Google API services. The chances are good that you will not
58 you can run the `Google\Task\Composer::cleanup` task and specify the services
64 "google/apiclient": "^2.12.1"
67 "pre-autoload-dump": "Google\\Task\\Composer::cleanup"
70 "google/apiclient-services": [
82 remove the `vendor/google/apiclient-services` directory explicitly for the
86 rm -r vendor/google/apiclient-services
97 "google/apiclient-services": [
109 …he package in its entirety. The [Releases](https://github.com/googleapis/google-api-php-client/rel…
110 with the name `google-api-php-client-[RELEASE_NAME].zip` for a package including this library and i…
115 require_once '/path/to/google-api-php-client/vendor/autoload.php';
137 $client = new Google\Client();
141 $service = new Google\Service\Books($client);
159 1. Set the path to these credentials using `Google\Client::setAuthConfig`:
162 $client = new Google\Client();
169 $client->addScope(Google\Service\Drive::DRIVE);
194 (such as the [YouTube Data API](https://developers.google.com/youtube/v3/)) do
206 1. Tell the Google client to use your service account credentials to authenticate:
209 $client = new Google\Client();
216 $client->addScope(Google\Service\Drive::DRIVE);
234 $client = new Google\Client();
240google-api-php-client-services](https://github.com/googleapis/google-api-php-client-services) are …
242 A JSON request to the [Datastore API](https://developers.google.com/apis-explorer/#p/datastore/v1be…
267 $datastore = new Google\Service\Datastore($client);
270 $query = new Google\Service\Datastore\Query([
286 $request = new Google\Service\Datastore\RunQueryRequest(['query' => $query]);
294 $datastore = new Google\Service\Datastore($client);
297 $request = new Google\Service\Datastore_RunQueryRequest();
298 $query = new Google\Service\Datastore\Query();
300 $order = new Google\Service\Datastore_PropertyOrder();
302 $property = new Google\Service\Datastore\PropertyReference();
307 $kind = new Google\Service\Datastore\KindExpression();
318 …, so it is recommended to look at the [APIs Explorer](https://developers.google.com/apis-explorer/…
322 If Google Authentication is desired for external applications, or a Google API is not available yet…
324 …te your own HTTP client requests, you should use [`google/auth`](https://github.com/googleapis/goo…
329 // create the Google client
330 $client = new Google\Client();
338 $client->addScope(Google\Service\Plus::PLUS_ME);
371 …ttps://developers.google.com/identity/protocols/OAuth2InstalledApp#offline) or [Service Account Cr…
392 $client = new Google\Client();
398 …ng Settings** and add the domain you'd like captured. In the case of the Google APIs, this is usua…
402 Google API Client uses [Guzzle](http://docs.guzzlephp.org/) as its default HTTP client. That means …
415 $client = new Google\Client();
433 … best place to ask is via the google-api-php-client tag on StackOverflow: https://stackoverflow.co…
435 …g with the library, please [file an issue](https://github.com/googleapis/google-api-php-client/iss…
441 ### Why do some Google\Service classes have weird names? ###
443 …matically generated from the API discovery documents: https://developers.google.com/discovery/. So…
457 …o the Google APIs as it is the default value of all of the uninitialized properties. To work aroun…
461 …in BaseTest.php to run all calls, but this will require some setup on the Google Developer Console.