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.



14281
14282
14283
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14281

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

Instance Attribute Details

#agent_desktop_sourceString

Corresponds to the JSON property agentDesktopSource

Returns:

  • (String)


14254
14255
14256
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14254

def agent_desktop_source
  @agent_desktop_source
end

#documents_metadata_filtersHash<String,String>

Corresponds to the JSON property documentsMetadataFilters

Returns:

  • (Hash<String,String>)


14259
14260
14261
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14259

def 
  @documents_metadata_filters
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


14264
14265
14266
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14264

def name
  @name
end

#obfuscated_external_user_idString

Corresponds to the JSON property obfuscatedExternalUserId

Returns:

  • (String)


14269
14270
14271
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14269

def obfuscated_external_user_id
  @obfuscated_external_user_id
end

#roleString

Corresponds to the JSON property role

Returns:

  • (String)


14274
14275
14276
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14274

def role
  @role
end

#sip_recording_media_labelString

Corresponds to the JSON property sipRecordingMediaLabel

Returns:

  • (String)


14279
14280
14281
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14279

def sip_recording_media_label
  @sip_recording_media_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14286
14287
14288
14289
14290
14291
14292
14293
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14286

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