Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfo.



12596
12597
12598
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12596

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

Instance Attribute Details

#dialed_numberString

Corresponds to the JSON property dialedNumber

Returns:

  • (String)


12579
12580
12581
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12579

def dialed_number
  @dialed_number
end

#extra_mime_contentsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoMimeContent>

Corresponds to the JSON property extraMimeContents



12584
12585
12586
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12584

def extra_mime_contents
  @extra_mime_contents
end

#sdpString

Corresponds to the JSON property sdp

Returns:

  • (String)


12589
12590
12591
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12589

def sdp
  @sdp
end

#sip_headersArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader>

Corresponds to the JSON property sipHeaders



12594
12595
12596
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12594

def sip_headers
  @sip_headers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12601
12602
12603
12604
12605
12606
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12601

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