class Google::Apis::DiscoveryV1::RestDescription::Auth::Oauth2
OAuth 2.0 authentication information.
Attributes
scopes[RW]
Available OAuth 2.0 scopes. Corresponds to the JSON property `scopes` @return [Hash<String,Google::Apis::DiscoveryV1::RestDescription::Auth::Oauth2::Scope>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/discovery_v1/classes.rb, line 611 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/discovery_v1/classes.rb, line 616 def update!(**args) @scopes = args[:scopes] if args.key?(:scopes) end