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.



15415
15416
15417
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15415

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)


15381
15382
15383
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15381

def destination_uri
  @destination_uri
end

#display_nameString

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

Returns:

  • (String)


15386
15387
15388
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15386

def display_name
  @display_name
end

#display_photo_uriString

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

Returns:

  • (String)


15391
15392
15393
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15391

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)


15397
15398
15399
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15397

def document_name
  @document_name
end

#emailString

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

Returns:

  • (String)


15402
15403
15404
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15402

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)


15408
15409
15410
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15408

def file_id
  @file_id
end

#person_idString

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

Returns:

  • (String)


15413
15414
15415
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15413

def person_id
  @person_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15420
15421
15422
15423
15424
15425
15426
15427
15428
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15420

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