Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedJustificationPerson
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedJustificationPerson
- 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
Data for rendering a person associated with a document.
Instance Attribute Summary collapse
-
#is_recipient ⇒ Boolean
(also: #is_recipient?)
Whether the person is the recipient of the suggestions.
-
#user ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedJustificationPerson
constructor
A new instance of AppsDynamiteSharedJustificationPerson.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedJustificationPerson
Returns a new instance of AppsDynamiteSharedJustificationPerson.
2656 2657 2658 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2656 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_recipient ⇒ Boolean Also known as: is_recipient?
Whether the person is the recipient of the suggestions.
Corresponds to the JSON property isRecipient
2648 2649 2650 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2648 def is_recipient @is_recipient end |
#user ⇒ Google::Apis::CloudsearchV1::UserId
Primary key for User resource.
Corresponds to the JSON property user
2654 2655 2656 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2654 def user @user end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2661 2662 2663 2664 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2661 def update!(**args) @is_recipient = args[:is_recipient] if args.key?(:is_recipient) @user = args[:user] if args.key?(:user) end |