Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader

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

Returns a new instance of GoogleCloudDialogflowV2ConversationTelephonyConnectionInfoSipHeader.



8861
8862
8863
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8861

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8854
8855
8856
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8854

def name
  @name
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


8859
8860
8861
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8859

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8866
8867
8868
8869
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8866

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