Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInstruction

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) ⇒ GoogleCloudDialogflowCxV3beta1PlaybookInstruction

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookInstruction.



10354
10355
10356
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10354

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

Instance Attribute Details

#guidelinesString

Corresponds to the JSON property guidelines

Returns:

  • (String)


10347
10348
10349
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10347

def guidelines
  @guidelines
end

#stepsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookStep>

Corresponds to the JSON property steps



10352
10353
10354
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10352

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10359
10360
10361
10362
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10359

def update!(**args)
  @guidelines = args[:guidelines] if args.key?(:guidelines)
  @steps = args[:steps] if args.key?(:steps)
end