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.



14493
14494
14495
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14493

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

Instance Attribute Details

#agent_desktop_sourceString

Corresponds to the JSON property agentDesktopSource

Returns:

  • (String)


14466
14467
14468
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14466

def agent_desktop_source
  @agent_desktop_source
end

#documents_metadata_filtersHash<String,String>

Corresponds to the JSON property documentsMetadataFilters

Returns:

  • (Hash<String,String>)


14471
14472
14473
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14471

def 
  @documents_metadata_filters
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


14476
14477
14478
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14476

def name
  @name
end

#obfuscated_external_user_idString

Corresponds to the JSON property obfuscatedExternalUserId

Returns:

  • (String)


14481
14482
14483
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14481

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

Corresponds to the JSON property role

Returns:

  • (String)


14486
14487
14488
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14486

def role
  @role
end

#sip_recording_media_labelString

Corresponds to the JSON property sipRecordingMediaLabel

Returns:

  • (String)


14491
14492
14493
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14491

def sip_recording_media_label
  @sip_recording_media_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14498
14499
14500
14501
14502
14503
14504
14505
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14498

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