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.



14318
14319
14320
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14318

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

Instance Attribute Details

#agent_desktop_sourceString

Corresponds to the JSON property agentDesktopSource

Returns:

  • (String)


14291
14292
14293
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14291

def agent_desktop_source
  @agent_desktop_source
end

#documents_metadata_filtersHash<String,String>

Corresponds to the JSON property documentsMetadataFilters

Returns:

  • (Hash<String,String>)


14296
14297
14298
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14296

def 
  @documents_metadata_filters
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


14301
14302
14303
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14301

def name
  @name
end

#obfuscated_external_user_idString

Corresponds to the JSON property obfuscatedExternalUserId

Returns:

  • (String)


14306
14307
14308
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14306

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

Corresponds to the JSON property role

Returns:

  • (String)


14311
14312
14313
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14311

def role
  @role
end

#sip_recording_media_labelString

Corresponds to the JSON property sipRecordingMediaLabel

Returns:

  • (String)


14316
14317
14318
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14316

def sip_recording_media_label
  @sip_recording_media_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14323
14324
14325
14326
14327
14328
14329
14330
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14323

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