Class: Google::Apis::CloudsearchV1::OAuthConsumerProto

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OAuthConsumerProto

Returns a new instance of OAuthConsumerProto.



14140
14141
14142
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14140

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

Instance Attribute Details

#domainString

Corresponds to the JSON property domain

Returns:

  • (String)


14138
14139
14140
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14138

def domain
  @domain
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14145
14146
14147
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14145

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