lib/google/cloud/dialogflow/v2/contexts/client.rb in google-cloud-dialogflow-v2-0.21.0 vs lib/google/cloud/dialogflow/v2/contexts/client.rb in google-cloud-dialogflow-v2-0.22.0

- old
+ new

@@ -212,16 +212,14 @@ # request = Google::Cloud::Dialogflow::V2::ListContextsRequest.new # # # Call the list_contexts method. # result = client.list_contexts request # - # # The returned object is of type Gapic::PagedEnumerable. You can - # # iterate over all elements by calling #each, and the enumerable - # # will lazily make API calls to fetch subsequent pages. Other - # # methods are also available for managing paging directly. - # result.each do |response| + # # The returned object is of type Gapic::PagedEnumerable. You can iterate + # # over elements, and API calls will be issued to fetch pages as needed. + # result.each do |item| # # Each element is of type ::Google::Cloud::Dialogflow::V2::Context. - # p response + # p item # end # def list_contexts request, options = nil raise ::ArgumentError, "request must be provided" if request.nil?