Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookVersion

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1PlaybookVersion.



10549
10550
10551
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10549

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


10527
10528
10529
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10527

def description
  @description
end

#examplesArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Example>

Corresponds to the JSON property examples



10532
10533
10534
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10532

def examples
  @examples
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


10537
10538
10539
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10537

def name
  @name
end

#playbookGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook

Corresponds to the JSON property playbook



10542
10543
10544
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10542

def playbook
  @playbook
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


10547
10548
10549
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10547

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10554
10555
10556
10557
10558
10559
10560
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10554

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @examples = args[:examples] if args.key?(:examples)
  @name = args[:name] if args.key?(:name)
  @playbook = args[:playbook] if args.key?(:playbook)
  @update_time = args[:update_time] if args.key?(:update_time)
end