Searched refs:discovery_doc (Results 1 – 3 of 3) sorted by relevance
/external/python/apitools/apitools/gen/ |
D | util.py | 174 def _ComputePaths(package, version, discovery_doc): argument 176 discovery_doc['rootUrl'], discovery_doc['servicePath']) 192 def Create(cls, discovery_doc, argument 196 discovery_doc.get('auth', {}).get('oauth2', {}).get('scopes', {})) 198 package = discovery_doc['name'] 199 url_version = discovery_doc['version'] 201 discovery_doc) 205 'version': NormalizeVersion(discovery_doc['version']), 333 discovery_doc = None 338 discovery_doc = json.loads(urllib_request.urlopen(url).read()) [all …]
|
D | gen_client_lib.py | 43 def _StandardQueryParametersSchema(discovery_doc): argument 49 'properties': discovery_doc.get('parameters', {}), 65 def __init__(self, discovery_doc, client_info, names, root_package, outdir, argument 70 self.__discovery_doc = discovery_doc 78 self.__revision = discovery_doc.get('revision', '1') 147 def discovery_doc(self): member in DescriptorGenerator
|
D | gen_client.py | 58 discovery_doc = _GetDiscoveryDocFromFlags(args) 87 discovery_doc, args.scope, client_id, client_secret, 98 discovery_doc, client_info, names, args.root_package, outdir, 173 discovery_doc = _GetDiscoveryDocFromFlags(args) 174 package = discovery_doc['name']
|