Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
- 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
Overview
The SIP headers from the initial SIP INVITE.
Instance Attribute Summary collapse
-
#name ⇒ String
Optional.
-
#value ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
constructor
A new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader
Returns a new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader.
10214 10215 10216 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Optional. The name of the header.
Corresponds to the JSON property name
10207 10208 10209 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10207 def name @name end |
#value ⇒ String
Optional. The value of the header.
Corresponds to the JSON property value
10212 10213 10214 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10212 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10219 10220 10221 10222 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10219 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |