Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Represents a person reference.
Instance Attribute Summary collapse
-
#destination_uri ⇒ String
The destination uri of the person.
-
#display_name ⇒ String
The display name of the person.
-
#display_photo_uri ⇒ String
The display photo url of the person.
-
#document_name ⇒ String
The full resource name of the person.
-
#email ⇒ String
The email of the person.
-
#file_id ⇒ String
Output only.
-
#person_id ⇒ String
The person id of the person.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference
Returns a new instance of GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference.
14582 14583 14584 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14582 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_uri ⇒ String
The destination uri of the person.
Corresponds to the JSON property destinationUri
14548 14549 14550 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14548 def destination_uri @destination_uri end |
#display_name ⇒ String
The display name of the person.
Corresponds to the JSON property displayName
14553 14554 14555 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14553 def display_name @display_name end |
#display_photo_uri ⇒ String
The display photo url of the person.
Corresponds to the JSON property displayPhotoUri
14558 14559 14560 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14558 def display_photo_uri @display_photo_uri end |
#document_name ⇒ String
The full resource name of the person. Format: projects/*/locations/*/
collections/*/dataStores/*/branches/*/documents/*.
Corresponds to the JSON property documentName
14564 14565 14566 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14564 def document_name @document_name end |
#email ⇒ String
The email of the person.
Corresponds to the JSON property email
14569 14570 14571 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14569 def email @email end |
#file_id ⇒ String
Output only. The file id of the person data stored in the session context
files.
Corresponds to the JSON property fileId
14575 14576 14577 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14575 def file_id @file_id end |
#person_id ⇒ String
The person id of the person.
Corresponds to the JSON property personId
14580 14581 14582 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14580 def person_id @person_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14587 14588 14589 14590 14591 14592 14593 14594 14595 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14587 def update!(**args) @destination_uri = args[:destination_uri] if args.key?(:destination_uri) @display_name = args[:display_name] if args.key?(:display_name) @display_photo_uri = args[:display_photo_uri] if args.key?(:display_photo_uri) @document_name = args[:document_name] if args.key?(:document_name) @email = args[:email] if args.key?(:email) @file_id = args[:file_id] if args.key?(:file_id) @person_id = args[:person_id] if args.key?(:person_id) end |