mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
feat(mbuild): scope as property ...
... however, it will become an enumeration, as I don't like people putting in strings all by themselves. This also means we have to generate good enums ourselves.
This commit is contained in:
@@ -520,6 +520,20 @@ while executing the actual API request.
|
||||
|
||||
It should be used to handle progress information, and to implement a certain level of resilience."""})
|
||||
params.append(dp)
|
||||
|
||||
sp = type(m)({'name': 'scope',
|
||||
'type': 'string',
|
||||
'priority': 0,
|
||||
'is_query_param': False,
|
||||
'description': """Identifies the authorization scope for the method you are building.
|
||||
|
||||
Use this method to actively specify which scope should be used, instead of relying on the automated algorithm which
|
||||
simply prefers read-only scopes over those who are not.
|
||||
|
||||
Usually there is more than one suitable scope to authorize an operation, some of which may
|
||||
encompass more rights than others. For example, for listing resources, a *read-only* scope will be
|
||||
sufficient, a read-write scope will do as well.""" })
|
||||
params.append(sp)
|
||||
return params, request_value
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user