Home
last modified time | relevance | path

Searched refs:discovery_doc (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dgen_client_lib.py19 def _StandardQueryParametersSchema(discovery_doc): argument
25 'properties': discovery_doc.get('parameters', {}),
36 def _ComputePaths(package, version, discovery_doc): argument
38 discovery_doc['rootUrl'], discovery_doc['servicePath'])
50 def __init__(self, discovery_doc, client_info, names, root_package, outdir, argument
53 self.__discovery_doc = discovery_doc
61 self.__revision = discovery_doc.get('revision', '1')
127 def discovery_doc(self): member in DescriptorGenerator
Dutil.py161 def Create(cls, discovery_doc, argument
165 discovery_doc.get('auth', {}).get('oauth2', {}).get('scopes', {}))
168 'package': discovery_doc['name'],
169 'version': NormalizeVersion(discovery_doc['version']),
170 'url_version': discovery_doc['version'],
296 discovery_doc = None
300 discovery_doc = json.loads(
308 if discovery_doc is None:
312 return discovery_doc
Dgen_client.py115 discovery_doc = util.FetchDiscoveryDoc(FLAGS.discovery_url)
121 discovery_doc = json.load(open(infile))
122 _DISCOVERY_DOC = discovery_doc
128 discovery_doc = _GetDiscoveryDocFromFlags()
157 discovery_doc, FLAGS.scope, client_id, client_secret,
169 discovery_doc, client_info, names, root_package, outdir,
244 discovery_doc = _GetDiscoveryDocFromFlags()
245 package = discovery_doc['name']