|
| 1 | +# Copyright 2015 Google Inc. All rights reserved. |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +"""Comprehensive list of environment variables used in gcloud. |
| 16 | +
|
| 17 | +These enable many types of implicit behavior in both production |
| 18 | +and tests. |
| 19 | +""" |
| 20 | + |
| 21 | +PROJECT = 'GCLOUD_PROJECT' |
| 22 | +"""Environment variable defining default project.""" |
| 23 | + |
| 24 | +TESTS_PROJECT = 'GCLOUD_TESTS_PROJECT_ID' |
| 25 | +"""Environment variable defining project for tests.""" |
| 26 | + |
| 27 | +DATASET = 'GCLOUD_DATASET_ID' |
| 28 | +"""Environment variable defining default dataset ID.""" |
| 29 | + |
| 30 | +GCD_DATASET = 'DATASTORE_DATASET' |
| 31 | +"""Environment variable defining default dataset ID under GCD.""" |
| 32 | + |
| 33 | +GCD_HOST = 'DATASTORE_HOST' |
| 34 | +"""Environment variable defining host for GCD dataset server.""" |
| 35 | + |
| 36 | +TESTS_DATASET = 'GCLOUD_TESTS_DATASET_ID' |
| 37 | +"""Environment variable defining dataset ID for tests.""" |
| 38 | + |
| 39 | +CREDENTIALS = 'GOOGLE_APPLICATION_CREDENTIALS' |
| 40 | +"""Environment variable defining location of Google credentials.""" |
0 commit comments