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