Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference

Returns a new instance of GoogleCloudDiscoveryengineV1alphaQueryPartPersonReference.



14786
14787
14788
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14786

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

Instance Attribute Details

#destination_uriString

The destination uri of the person. Corresponds to the JSON property destinationUri

Returns:

  • (String)


14752
14753
14754
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14752

def destination_uri
  @destination_uri
end

#display_nameString

The display name of the person. Corresponds to the JSON property displayName

Returns:

  • (String)


14757
14758
14759
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14757

def display_name
  @display_name
end

#display_photo_uriString

The display photo url of the person. Corresponds to the JSON property displayPhotoUri

Returns:

  • (String)


14762
14763
14764
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14762

def display_photo_uri
  @display_photo_uri
end

#document_nameString

The full resource name of the person. Format: projects/*/locations/*/ collections/*/dataStores/*/branches/*/documents/*. Corresponds to the JSON property documentName

Returns:

  • (String)


14768
14769
14770
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14768

def document_name
  @document_name
end

#emailString

The email of the person. Corresponds to the JSON property email

Returns:

  • (String)


14773
14774
14775
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14773

def email
  @email
end

#file_idString

Output only. The file id of the person data stored in the session context files. Corresponds to the JSON property fileId

Returns:

  • (String)


14779
14780
14781
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14779

def file_id
  @file_id
end

#person_idString

The person id of the person. Corresponds to the JSON property personId

Returns:

  • (String)


14784
14785
14786
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14784

def person_id
  @person_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14791
14792
14793
14794
14795
14796
14797
14798
14799
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14791

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