We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce7afe6 commit 318b04fCopy full SHA for 318b04f
2 files changed
trace/google/cloud/trace/__init__.py
@@ -15,4 +15,7 @@
15
from google.cloud.trace.client import Client
16
17
18
-__all__ = ['Client']
+__all__ = ['Client', 'SCOPE']
19
+
20
21
+SCOPE = Client.SCOPE
trace/google/cloud/trace/client.py
@@ -32,6 +32,10 @@ class Client(ClientWithProject):
32
client. If not passed, falls back to the default
33
inferred from the environment.
34
"""
35
+ SCOPE = ('https://www.googleapis.com/auth/cloud-platform',
36
+ 'https://www.googleapis.com/auth/trace.append',)
37
+ """The scopes required for authenticating as a Trace consumer."""
38
39
_trace_api = None
40
41
def __init__(self, project=None, credentials=None):
0 commit comments