Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
- 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
Overview
The playbook import strategy used for resource conflict resolution associated with an ImportPlaybookRequest.
Instance Attribute Summary collapse
-
#main_playbook_import_strategy ⇒ String
Optional.
-
#nested_resource_import_strategy ⇒ String
Optional.
-
#tool_import_strategy ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
constructor
A new instance of GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy
Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy.
10737 10738 10739 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10737 def initialize(**args) update!(**args) end |
Instance Attribute Details
#main_playbook_import_strategy ⇒ String
Optional. Specifies the import strategy used when resolving conflicts with the
main playbook. If not specified, 'CREATE_NEW' is assumed.
Corresponds to the JSON property mainPlaybookImportStrategy
10721 10722 10723 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10721 def main_playbook_import_strategy @main_playbook_import_strategy end |
#nested_resource_import_strategy ⇒ String
Optional. Specifies the import strategy used when resolving referenced
playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
Corresponds to the JSON property nestedResourceImportStrategy
10727 10728 10729 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10727 def nested_resource_import_strategy @nested_resource_import_strategy end |
#tool_import_strategy ⇒ String
Optional. Specifies the import strategy used when resolving tool conflicts. If
not specified, 'CREATE_NEW' is assumed. This will be applied after the main
playbook and nested resource import strategies, meaning if the playbook that
references the tool is skipped, the tool will also be skipped.
Corresponds to the JSON property toolImportStrategy
10735 10736 10737 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10735 def tool_import_strategy @tool_import_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10742 10743 10744 10745 10746 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10742 def update!(**args) @main_playbook_import_strategy = args[:main_playbook_import_strategy] if args.key?(:main_playbook_import_strategy) @nested_resource_import_strategy = args[:nested_resource_import_strategy] if args.key?(:nested_resource_import_strategy) @tool_import_strategy = args[:tool_import_strategy] if args.key?(:tool_import_strategy) end |