Skip to content

Commit 66b92ff

Browse files
authored
GCS: Fix incorrect token description (apache#909)
1 parent c25e080 commit 66b92ff

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

mkdocs/docs/configuration.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -129,19 +129,19 @@ For the FileIO there are several configuration options available:
129129

130130
<!-- markdown-link-check-disable -->
131131

132-
| Key | Example | Description |
133-
| --------------------------- | ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
134-
| gcs.project-id | my-gcp-project | Configure Google Cloud Project for GCS FileIO. |
135-
| gcs.oauth2.token | ya29.dr.AfM... | Configure method authentication to GCS for FileIO. Can be the following, 'google_default', 'cache', 'anon', 'browser', 'cloud'. If not specified your credentials will be resolved in the following order: gcloud CLI default, gcsfs cached token, google compute metadata service, anonymous. |
136-
| gcs.oauth2.token-expires-at | 1690971805918 | Configure expiration for credential generated with an access token. Milliseconds since epoch |
137-
| gcs.access | read_only | Configure client to have specific access. Must be one of 'read_only', 'read_write', or 'full_control' |
138-
| gcs.consistency | md5 | Configure the check method when writing files. Must be one of 'none', 'size', or 'md5' |
139-
| gcs.cache-timeout | 60 | Configure the cache expiration time in seconds for object metadata cache |
140-
| gcs.requester-pays | False | Configure whether to use requester-pays requests |
141-
| gcs.session-kwargs | {} | Configure a dict of parameters to pass on to aiohttp.ClientSession; can contain, for example, proxy settings. |
142-
| gcs.endpoint | http://0.0.0.0:4443 | Configure an alternative endpoint for the GCS FileIO to access (format protocol://host:port) If not given, defaults to the value of environment variable "STORAGE_EMULATOR_HOST"; if that is not set either, will use the standard Google endpoint. |
143-
| gcs.default-location | US | Configure the default location where buckets are created, like 'US' or 'EUROPE-WEST3'. |
144-
| gcs.version-aware | False | Configure whether to support object versioning on the GCS bucket. |
132+
| Key | Example | Description |
133+
| --------------------------- | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
134+
| gcs.project-id | my-gcp-project | Configure Google Cloud Project for GCS FileIO. |
135+
| gcs.oauth2.token | ya29.dr.AfM... | String representation of the access token used for temporary access. |
136+
| gcs.oauth2.token-expires-at | 1690971805918 | Configure expiration for credential generated with an access token. Milliseconds since epoch |
137+
| gcs.access | read_only | Configure client to have specific access. Must be one of 'read_only', 'read_write', or 'full_control' |
138+
| gcs.consistency | md5 | Configure the check method when writing files. Must be one of 'none', 'size', or 'md5' |
139+
| gcs.cache-timeout | 60 | Configure the cache expiration time in seconds for object metadata cache |
140+
| gcs.requester-pays | False | Configure whether to use requester-pays requests |
141+
| gcs.session-kwargs | {} | Configure a dict of parameters to pass on to aiohttp.ClientSession; can contain, for example, proxy settings. |
142+
| gcs.endpoint | http://0.0.0.0:4443 | Configure an alternative endpoint for the GCS FileIO to access (format protocol://host:port) If not given, defaults to the value of environment variable "STORAGE_EMULATOR_HOST"; if that is not set either, will use the standard Google endpoint. |
143+
| gcs.default-location | US | Configure the default location where buckets are created, like 'US' or 'EUROPE-WEST3'. |
144+
| gcs.version-aware | False | Configure whether to support object versioning on the GCS bucket. |
145145

146146
<!-- markdown-link-check-enable-->
147147

0 commit comments

Comments
 (0)