lib/google/cloud/app_engine/v1/firewall/client.rb in google-cloud-app_engine-v1-0.5.0 vs lib/google/cloud/app_engine/v1/firewall/client.rb in google-cloud-app_engine-v1-0.6.0
- old
+ new
@@ -199,16 +199,14 @@
# request = Google::Cloud::AppEngine::V1::ListIngressRulesRequest.new
#
# # Call the list_ingress_rules method.
# result = client.list_ingress_rules 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::AppEngine::V1::FirewallRule.
- # p response
+ # p item
# end
#
def list_ingress_rules request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?