Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookImportStrategy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3PlaybookImportStrategy

Returns a new instance of GoogleCloudDialogflowCxV3PlaybookImportStrategy.



5890
5891
5892
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5890

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#main_playbook_import_strategyString

Corresponds to the JSON property mainPlaybookImportStrategy

Returns:

  • (String)


5878
5879
5880
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5878

def main_playbook_import_strategy
  @main_playbook_import_strategy
end

#nested_resource_import_strategyString

Corresponds to the JSON property nestedResourceImportStrategy

Returns:

  • (String)


5883
5884
5885
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5883

def nested_resource_import_strategy
  @nested_resource_import_strategy
end

#tool_import_strategyString

Corresponds to the JSON property toolImportStrategy

Returns:

  • (String)


5888
5889
5890
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5888

def tool_import_strategy
  @tool_import_strategy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5895
5896
5897
5898
5899
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5895

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