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