Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportPlaybookRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ImportPlaybookRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#import_strategy ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookImportStrategy
Corresponds to the JSON property
importStrategy. -
#playbook_content ⇒ String
Corresponds to the JSON property
playbookContentNOTE: Values are automatically base64 encoded/decoded in the client library. -
#playbook_uri ⇒ String
Corresponds to the JSON property
playbookUri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportPlaybookRequest
constructor
A new instance of GoogleCloudDialogflowCxV3ImportPlaybookRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ImportPlaybookRequest
Returns a new instance of GoogleCloudDialogflowCxV3ImportPlaybookRequest.
4176 4177 4178 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4176 def initialize(**args) update!(**args) end |
Instance Attribute Details
#import_strategy ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookImportStrategy
Corresponds to the JSON property importStrategy
4163 4164 4165 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4163 def import_strategy @import_strategy end |
#playbook_content ⇒ String
Corresponds to the JSON property playbookContent
NOTE: Values are automatically base64 encoded/decoded in the client library.
4169 4170 4171 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4169 def playbook_content @playbook_content end |
#playbook_uri ⇒ String
Corresponds to the JSON property playbookUri
4174 4175 4176 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4174 def playbook_uri @playbook_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4181 4182 4183 4184 4185 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4181 def update!(**args) @import_strategy = args[:import_strategy] if args.key?(:import_strategy) @playbook_content = args[:playbook_content] if args.key?(:playbook_content) @playbook_uri = args[:playbook_uri] if args.key?(:playbook_uri) end |