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.



8893
8894
8895
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8893

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

Instance Attribute Details

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8886
8887
8888
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8886

def name
  @name
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


8891
8892
8893
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8891

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8898
8899
8900
8901
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8898

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