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.



14332
14333
14334
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14332

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

Instance Attribute Details

#agent_desktop_sourceString

Corresponds to the JSON property agentDesktopSource

Returns:

  • (String)


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

def agent_desktop_source
  @agent_desktop_source
end

#documents_metadata_filtersHash<String,String>

Corresponds to the JSON property documentsMetadataFilters

Returns:

  • (Hash<String,String>)


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

def 
  @documents_metadata_filters
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#obfuscated_external_user_idString

Corresponds to the JSON property obfuscatedExternalUserId

Returns:

  • (String)


14320
14321
14322
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14320

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

Corresponds to the JSON property role

Returns:

  • (String)


14325
14326
14327
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14325

def role
  @role
end

#sip_recording_media_labelString

Corresponds to the JSON property sipRecordingMediaLabel

Returns:

  • (String)


14330
14331
14332
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14330

def sip_recording_media_label
  @sip_recording_media_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14337
14338
14339
14340
14341
14342
14343
14344
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14337

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