Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id. -
#parts ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart>
Corresponds to the JSON property
parts. -
#repeat_count ⇒ Fixnum
Corresponds to the JSON property
repeatCount.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
constructor
A new instance of GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase.
8786 8787 8788 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
8774 8775 8776 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8774 def id @id end |
#parts ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart>
Corresponds to the JSON property parts
8779 8780 8781 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8779 def parts @parts end |
#repeat_count ⇒ Fixnum
Corresponds to the JSON property repeatCount
8784 8785 8786 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8784 def repeat_count @repeat_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8791 8792 8793 8794 8795 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8791 def update!(**args) @id = args[:id] if args.key?(:id) @parts = args[:parts] if args.key?(:parts) @repeat_count = args[:repeat_count] if args.key?(:repeat_count) end |