class Google::Apis::DiscoveryV1::RestDescription::Auth

Authentication information.

Attributes

oauth2[RW]

OAuth 2.0 authentication information. Corresponds to the JSON property ‘oauth2` @return [Google::Apis::DiscoveryV1::RestDescription::Auth::Oauth2]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/discovery_v1/classes.rb, line 593
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 598
def update!(**args)
  @oauth2 = args[:oauth2] if args.key?(:oauth2)
end