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.



8875
8876
8877
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8875

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


8873
8874
8875
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8873

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8880
8881
8882
8883
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8880

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