lib/google/cloud/dataform/v1beta1/dataform/client.rb in google-cloud-dataform-v1beta1-0.1.0 vs lib/google/cloud/dataform/v1beta1/dataform/client.rb in google-cloud-dataform-v1beta1-0.2.0
- old
+ new
@@ -229,17 +229,15 @@
# request = Google::Cloud::Dataform::V1beta1::ListRepositoriesRequest.new
#
# # Call the list_repositories method.
# result = client.list_repositories 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::Dataform::V1beta1::Repository.
- # p response
+ # p item
# end
#
def list_repositories request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -776,17 +774,15 @@
# request = Google::Cloud::Dataform::V1beta1::ListWorkspacesRequest.new
#
# # Call the list_workspaces method.
# result = client.list_workspaces 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::Dataform::V1beta1::Workspace.
- # p response
+ # p item
# end
#
def list_workspaces request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -1850,17 +1846,15 @@
# request = Google::Cloud::Dataform::V1beta1::QueryDirectoryContentsRequest.new
#
# # Call the query_directory_contents method.
# result = client.query_directory_contents 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::Dataform::V1beta1::QueryDirectoryContentsResponse::DirectoryEntry.
- # p response
+ # p item
# end
#
def query_directory_contents request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -2573,17 +2567,15 @@
# request = Google::Cloud::Dataform::V1beta1::ListCompilationResultsRequest.new
#
# # Call the list_compilation_results method.
# result = client.list_compilation_results 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::Dataform::V1beta1::CompilationResult.
- # p response
+ # p item
# end
#
def list_compilation_results request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -2852,17 +2844,15 @@
# request = Google::Cloud::Dataform::V1beta1::QueryCompilationResultActionsRequest.new
#
# # Call the query_compilation_result_actions method.
# result = client.query_compilation_result_actions 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::Dataform::V1beta1::CompilationResultAction.
- # p response
+ # p item
# end
#
def query_compilation_result_actions request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -2955,17 +2945,15 @@
# request = Google::Cloud::Dataform::V1beta1::ListWorkflowInvocationsRequest.new
#
# # Call the list_workflow_invocations method.
# result = client.list_workflow_invocations 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::Dataform::V1beta1::WorkflowInvocation.
- # p response
+ # p item
# end
#
def list_workflow_invocations request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -3401,16 +3389,14 @@
# request = Google::Cloud::Dataform::V1beta1::QueryWorkflowInvocationActionsRequest.new
#
# # Call the query_workflow_invocation_actions method.
# result = client.query_workflow_invocation_actions 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::Dataform::V1beta1::WorkflowInvocationAction.
- # p response
+ # p item
# end
#
def query_workflow_invocation_actions request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?