Class: Google::Apis::ServicecontrolV1::OAuthInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicecontrol_v1/classes.rb,
lib/google/apis/servicecontrol_v1/representations.rb,
lib/google/apis/servicecontrol_v1/representations.rb

Overview

OAuth related information about the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OAuthInfo

Returns a new instance of OAuthInfo.



1462
1463
1464
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1462

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#oauth_client_idString

The OAuth client ID of the 1P or 3P application acting on behalf of the user. Corresponds to the JSON property oauthClientId

Returns:

  • (String)


1460
1461
1462
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1460

def oauth_client_id
  @oauth_client_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1467
1468
1469
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 1467

def update!(**args)
  @oauth_client_id = args[:oauth_client_id] if args.key?(:oauth_client_id)
end