Class: Google::Apis::CloudsearchV1::OAuthConsumerProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::OAuthConsumerProto
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Represents an OAuth consumer, a/k/a AuthSub target. These principals are identified by domain name (e.g., example.com). Historically, Dasher domain GAIA group IDs have been used instead, but that doesn't work: http://go/tricky- gaia-ids
Instance Attribute Summary collapse
-
#domain ⇒ String
Corresponds to the JSON property
domain
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OAuthConsumerProto
constructor
A new instance of OAuthConsumerProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OAuthConsumerProto
Returns a new instance of OAuthConsumerProto.
14629 14630 14631 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ String
Corresponds to the JSON property domain
14627 14628 14629 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14627 def domain @domain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14634 14635 14636 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14634 def update!(**args) @domain = args[:domain] if args.key?(:domain) end |