Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use correct type in documentation for keyFile #297

Merged
merged 2 commits into from
Dec 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/BigQuery/BigQueryClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ class BigQueryClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials

This comment was marked as spam.

This comment was marked as spam.

* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/Datastore/DatastoreClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ class DatastoreClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/Logging/LoggingClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ class LoggingClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/NaturalLanguage/NaturalLanguageClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ class NaturalLanguageClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/PubSub/PubSubClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ class PubSubClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/RequestWrapperTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ trait RequestWrapperTrait
* @type array $authCacheOptions Cache configuration options.
* @type FetchAuthTokenInterface $credentialsFetcher A credentials
* fetcher instance.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type int $retries Number of retries for a failed request.
* **Defaults to** `3`.
* @type array $scopes Scopes to be used for the request.
Expand Down
6 changes: 3 additions & 3 deletions src/ServiceBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ class ServiceBuilder
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developer's
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/Speech/SpeechClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ class SpeechClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/Storage/StorageClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ class StorageClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/Translate/TranslateClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ class TranslateClient
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* Only valid for requests sent over REST.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down
6 changes: 3 additions & 3 deletions src/Vision/VisionClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ class VisionClient
* @type callable $authHttpHandler A handler used to deliver Psr7
* requests specifically for authentication.
* @type callable $httpHandler A handler used to deliver Psr7 requests.
* @type string $keyFile The contents of the service account
* credentials .json file retrieved from the Google Developers
* Console.
* @type array $keyFile The contents of the service account credentials
* .json file retrieved from the Google Developer's Console.
* Ex: `json_decode(file_get_contents($path), true)`.
* @type string $keyFilePath The full path to your service account
* credentials .json file retrieved from the Google Developers
* Console.
Expand Down