lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb in google-cloud-video-transcoder-v1-0.5.0 vs lib/google/cloud/video/transcoder/v1/transcoder_service/client.rb in google-cloud-video-transcoder-v1-0.6.0

- old
+ new

@@ -309,17 +309,15 @@ # request = Google::Cloud::Video::Transcoder::V1::ListJobsRequest.new # # # Call the list_jobs method. # result = client.list_jobs 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::Video::Transcoder::V1::Job. - # p response + # p item # end # def list_jobs request, options = nil raise ::ArgumentError, "request must be provided" if request.nil? @@ -559,12 +557,12 @@ # Required. The parent location to create this job template. # Format: `projects/{project}/locations/{location}` # @param job_template [::Google::Cloud::Video::Transcoder::V1::JobTemplate, ::Hash] # Required. Parameters for creating job template. # @param job_template_id [::String] - # Required. The ID to use for the job template, which will become the final component - # of the job template's resource name. + # Required. The ID to use for the job template, which will become the final + # component of the job template's resource name. # # This value should be 4-63 characters, and valid characters must match the # regular expression `[a-zA-Z][a-zA-Z0-9_-]*`. # # @yield [response, operation] Access the result along with the RPC operation @@ -648,12 +646,12 @@ # Pass arguments to `list_job_templates` via keyword arguments. Note that at # least one keyword argument is required. To specify no parameters, or to keep all # the default parameter values, pass an empty Hash as a request object (see above). # # @param parent [::String] - # Required. The parent location from which to retrieve the collection of job templates. - # Format: `projects/{project}/locations/{location}` + # Required. The parent location from which to retrieve the collection of job + # templates. Format: `projects/{project}/locations/{location}` # @param page_size [::Integer] # The maximum number of items to return. # @param page_token [::String] # The `next_page_token` value returned from a previous List request, if # any. @@ -682,16 +680,14 @@ # request = Google::Cloud::Video::Transcoder::V1::ListJobTemplatesRequest.new # # # Call the list_job_templates method. # result = client.list_job_templates 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::Video::Transcoder::V1::JobTemplate. - # p response + # p item # end # def list_job_templates request, options = nil raise ::ArgumentError, "request must be provided" if request.nil?