Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookImportStrategy.



10303
10304
10305
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10303

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

Instance Attribute Details

#main_playbook_import_strategyString

Corresponds to the JSON property mainPlaybookImportStrategy

Returns:

  • (String)


10291
10292
10293
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10291

def main_playbook_import_strategy
  @main_playbook_import_strategy
end

#nested_resource_import_strategyString

Corresponds to the JSON property nestedResourceImportStrategy

Returns:

  • (String)


10296
10297
10298
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10296

def nested_resource_import_strategy
  @nested_resource_import_strategy
end

#tool_import_strategyString

Corresponds to the JSON property toolImportStrategy

Returns:

  • (String)


10301
10302
10303
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10301

def tool_import_strategy
  @tool_import_strategy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10308
10309
10310
10311
10312
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10308

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