Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInstruction

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

Returns a new instance of GoogleCloudDialogflowCxV3PlaybookInstruction.



5935
5936
5937
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5935

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

Instance Attribute Details

#guidelinesString

Corresponds to the JSON property guidelines

Returns:

  • (String)


5928
5929
5930
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5928

def guidelines
  @guidelines
end

#stepsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookStep>

Corresponds to the JSON property steps



5933
5934
5935
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5933

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5940
5941
5942
5943
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5940

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