Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: client/third_party/google/auth/environment_vars.py

Issue 2953253003: Replace custom blob gRPC API with ByteStream (Closed)
Patch Set: Import ndb directly to test code Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/third_party/google/auth/crypt.py ('k') | client/third_party/google/auth/exceptions.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2016 Google Inc.
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 """Environment variables used by :mod:`google.auth`."""
16
17
18 PROJECT = 'GOOGLE_CLOUD_PROJECT'
19 """Environment variable defining default project.
20
21 This used by :func:`google.auth.default` to explicitly set a project ID. This
22 environment variable is also used by the Google Cloud Python Library.
23 """
24
25 LEGACY_PROJECT = 'GCLOUD_PROJECT'
26 """Previously used environment variable defining the default project.
27
28 This environment variable is used instead of the current one in some
29 situations (such as Google App Engine).
30 """
31
32 CREDENTIALS = 'GOOGLE_APPLICATION_CREDENTIALS'
33 """Environment variable defining the location of Google application default
34 credentials."""
35
36 # The environment variable name which can replace ~/.config if set.
37 CLOUD_SDK_CONFIG_DIR = 'CLOUDSDK_CONFIG'
38 """Environment variable defines the location of Google Cloud SDK's config
39 files."""
40
41 # These two variables allow for customization of the addresses used when
42 # contacting the GCE metadata service.
43 GCE_METADATA_ROOT = 'GCE_METADATA_ROOT'
44 """Environment variable providing an alternate hostname or host:port to be
45 used for GCE metadata requests."""
46
47 GCE_METADATA_IP = 'GCE_METADATA_IP'
48 """Environment variable providing an alternate ip:port to be used for ip-only
49 GCE metadata requests."""
OLDNEW
« no previous file with comments | « client/third_party/google/auth/crypt.py ('k') | client/third_party/google/auth/exceptions.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698