Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader

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

Overview

The SIP headers from the initial SIP INVITE.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader.



14255
14256
14257
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14255

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

Instance Attribute Details

#nameString

Optional. The name of the header. Corresponds to the JSON property name

Returns:

  • (String)


14248
14249
14250
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14248

def name
  @name
end

#valueString

Optional. The value of the header. Corresponds to the JSON property value

Returns:

  • (String)


14253
14254
14255
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14253

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14260
14261
14262
14263
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14260

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @value = args[:value] if args.key?(:value)
end