lib/google/cloud/talent/v4beta1/company_service/client.rb in google-cloud-talent-v4beta1-0.6.1 vs lib/google/cloud/talent/v4beta1/company_service/client.rb in google-cloud-talent-v4beta1-0.7.0

- old
+ new

@@ -363,19 +363,24 @@ # Pass arguments to `update_company` 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 company [::Google::Cloud::Talent::V4beta1::Company, ::Hash] - # Required. The company resource to replace the current resource in the system. + # Required. The company resource to replace the current resource in the + # system. # @param update_mask [::Google::Protobuf::FieldMask, ::Hash] # Strongly recommended for the best service experience. # - # If {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask} is provided, only the specified fields in - # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are updated. Otherwise all the fields are updated. + # If + # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask} + # is provided, only the specified fields in + # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are + # updated. Otherwise all the fields are updated. # # A field mask to specify the company fields to be updated. Only - # top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are supported. + # top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are + # supported. # # @yield [response, operation] Access the result along with the RPC operation # @yieldparam response [::Google::Cloud::Talent::V4beta1::Company] # @yieldparam operation [::GRPC::ActiveCall::Operation] # @@ -566,12 +571,13 @@ # @param require_open_jobs [::Boolean] # Set to true if the companies requested must have open jobs. # # Defaults to false. # - # If true, at most {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which - # only those with open jobs are returned. + # If true, at most + # {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of + # companies are fetched, among which only those with open jobs are returned. # # @yield [response, operation] Access the result along with the RPC operation # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Talent::V4beta1::Company>] # @yieldparam operation [::GRPC::ActiveCall::Operation] # @@ -589,16 +595,14 @@ # request = Google::Cloud::Talent::V4beta1::ListCompaniesRequest.new # # # Call the list_companies method. # result = client.list_companies 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::Talent::V4beta1::Company. - # p response + # p item # end # def list_companies request, options = nil raise ::ArgumentError, "request must be provided" if request.nil?