Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Participant

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2Participant

Returns a new instance of GoogleCloudDialogflowV2Participant.



14444
14445
14446
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14444

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

Instance Attribute Details

#agent_desktop_sourceString

Corresponds to the JSON property agentDesktopSource

Returns:

  • (String)


14417
14418
14419
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14417

def agent_desktop_source
  @agent_desktop_source
end

#documents_metadata_filtersHash<String,String>

Corresponds to the JSON property documentsMetadataFilters

Returns:

  • (Hash<String,String>)


14422
14423
14424
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14422

def 
  @documents_metadata_filters
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


14427
14428
14429
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14427

def name
  @name
end

#obfuscated_external_user_idString

Corresponds to the JSON property obfuscatedExternalUserId

Returns:

  • (String)


14432
14433
14434
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14432

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

Corresponds to the JSON property role

Returns:

  • (String)


14437
14438
14439
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14437

def role
  @role
end

#sip_recording_media_labelString

Corresponds to the JSON property sipRecordingMediaLabel

Returns:

  • (String)


14442
14443
14444
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14442

def sip_recording_media_label
  @sip_recording_media_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14449
14450
14451
14452
14453
14454
14455
14456
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14449

def update!(**args)
  @agent_desktop_source = args[:agent_desktop_source] if args.key?(:agent_desktop_source)
  @documents_metadata_filters = args[:documents_metadata_filters] if args.key?(:documents_metadata_filters)
  @name = args[:name] if args.key?(:name)
  @obfuscated_external_user_id = args[:obfuscated_external_user_id] if args.key?(:obfuscated_external_user_id)
  @role = args[:role] if args.key?(:role)
  @sip_recording_media_label = args[:sip_recording_media_label] if args.key?(:sip_recording_media_label)
end