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.
14706 14707 14708 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14706 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain ⇒ String
Corresponds to the JSON property domain
14704 14705 14706 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14704 def domain @domain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14711 14712 14713 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14711 def update!(**args) @domain = args[:domain] if args.key?(:domain) end |