Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo

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) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo

Returns a new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo.



8808
8809
8810
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8808

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

Instance Attribute Details

#dialed_numberString

Corresponds to the JSON property dialedNumber

Returns:

  • (String)


8791
8792
8793
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8791

def dialed_number
  @dialed_number
end

#extra_mime_contentsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoMimeContent>

Corresponds to the JSON property extraMimeContents



8796
8797
8798
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8796

def extra_mime_contents
  @extra_mime_contents
end

#sdpString

Corresponds to the JSON property sdp

Returns:

  • (String)


8801
8802
8803
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8801

def sdp
  @sdp
end

#sip_headersArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader>

Corresponds to the JSON property sipHeaders



8806
8807
8808
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8806

def sip_headers
  @sip_headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8813
8814
8815
8816
8817
8818
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8813

def update!(**args)
  @dialed_number = args[:dialed_number] if args.key?(:dialed_number)
  @extra_mime_contents = args[:extra_mime_contents] if args.key?(:extra_mime_contents)
  @sdp = args[:sdp] if args.key?(:sdp)
  @sip_headers = args[:sip_headers] if args.key?(:sip_headers)
end