Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListEnvironmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
The response message for Environments.ListEnvironments.
Instance Attribute Summary collapse
-
#environments ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment>
The list of agent environments.
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ListEnvironmentsResponse
constructor
A new instance of GoogleCloudDialogflowV2ListEnvironmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ListEnvironmentsResponse
Returns a new instance of GoogleCloudDialogflowV2ListEnvironmentsResponse.
13849 13850 13851 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13849 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environments ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment>
The list of agent environments. There will be a maximum number of items
returned based on the page_size field in the request.
Corresponds to the JSON property environments
13841 13842 13843 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13841 def environments @environments end |
#next_page_token ⇒ String
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
13847 13848 13849 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13847 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13854 13855 13856 13857 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13854 def update!(**args) @environments = args[:environments] if args.key?(:environments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |