Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse

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

Overview

The response message for Playbooks.ListPlaybooks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1ListPlaybooksResponse.



9627
9628
9629
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9627

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


9619
9620
9621
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9619

def next_page_token
  @next_page_token
end

#playbooksArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Playbook>

The list of playbooks. There will be a maximum number of items returned based on the page_size field in the request. Corresponds to the JSON property playbooks



9625
9626
9627
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9625

def playbooks
  @playbooks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9632
9633
9634
9635
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9632

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