Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumber
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1PhoneNumber
- 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
-
#conversation_profile ⇒ String
Corresponds to the JSON property
conversationProfile. -
#lifecycle_state ⇒ String
Corresponds to the JSON property
lifecycleState. -
#name ⇒ String
Corresponds to the JSON property
name. -
#phone_number ⇒ String
Corresponds to the JSON property
phoneNumber.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1PhoneNumber
constructor
A new instance of GoogleCloudDialogflowV2beta1PhoneNumber.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1PhoneNumber
Returns a new instance of GoogleCloudDialogflowV2beta1PhoneNumber.
18192 18193 18194 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_profile ⇒ String
Corresponds to the JSON property conversationProfile
18175 18176 18177 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18175 def conversation_profile @conversation_profile end |
#lifecycle_state ⇒ String
Corresponds to the JSON property lifecycleState
18180 18181 18182 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18180 def lifecycle_state @lifecycle_state end |
#name ⇒ String
Corresponds to the JSON property name
18185 18186 18187 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18185 def name @name end |
#phone_number ⇒ String
Corresponds to the JSON property phoneNumber
18190 18191 18192 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18190 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18197 18198 18199 18200 18201 18202 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18197 def update!(**args) @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @name = args[:name] if args.key?(:name) @phone_number = args[:phone_number] if args.key?(:phone_number) end |