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.



10366
10367
10368
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10366

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

Instance Attribute Details

#guidelinesString

Corresponds to the JSON property guidelines

Returns:

  • (String)


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

def guidelines
  @guidelines
end

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

Corresponds to the JSON property steps



10364
10365
10366
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10364

def steps
  @steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10371
10372
10373
10374
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10371

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