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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationTelephonyConnectionInfoSipHeader.



12815
12816
12817
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12815

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


12808
12809
12810
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12808

def name
  @name
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


12813
12814
12815
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12813

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12820
12821
12822
12823
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12820

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