Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationPhoneNumber
- 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
-
#country_code ⇒ Fixnum
Corresponds to the JSON property
countryCode. -
#phone_number ⇒ String
Corresponds to the JSON property
phoneNumber.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationPhoneNumber
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationPhoneNumber.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationPhoneNumber
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationPhoneNumber.
12445 12446 12447 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12445 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_code ⇒ Fixnum
Corresponds to the JSON property countryCode
12438 12439 12440 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12438 def country_code @country_code end |
#phone_number ⇒ String
Corresponds to the JSON property phoneNumber
12443 12444 12445 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12443 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12450 12451 12452 12453 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12450 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) @phone_number = args[:phone_number] if args.key?(:phone_number) end |