Class: Google::Apis::CloudsearchV1::MemberId
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::MemberId
- 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
Eventually this can be updated to a oneOf User, Space (for nested spaces), Bots or Service, as and when these use cases come up.
Instance Attribute Summary collapse
-
#roster_id ⇒ Google::Apis::CloudsearchV1::RosterId
Primary key for Roster resource.
-
#user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MemberId
constructor
A new instance of MemberId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MemberId
Returns a new instance of MemberId.
13600 13601 13602 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#roster_id ⇒ Google::Apis::CloudsearchV1::RosterId
Primary key for Roster resource.
Corresponds to the JSON property rosterId
13593 13594 13595 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13593 def roster_id @roster_id end |
#user_id ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property userId
13598 13599 13600 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13598 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13605 13606 13607 13608 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13605 def update!(**args) @roster_id = args[:roster_id] if args.key?(:roster_id) @user_id = args[:user_id] if args.key?(:user_id) end |