generated/google/apis/toolresults_v1beta3firstparty/service.rb in google-api-client-0.13.4 vs generated/google/apis/toolresults_v1beta3firstparty/service.rb in google-api-client-0.13.5

- old
+ new

@@ -505,9 +505,57 @@ command.query['quotaUser'] = quota_user unless quota_user.nil? command.query['userIp'] = user_ip unless user_ip.nil? execute_or_queue_command(command, &block) end + # Retrieves a single screenshot cluster by its ID + # @param [String] project_id + # A Project id. + # Required. + # @param [String] history_id + # A History id. + # Required. + # @param [String] execution_id + # An Execution id. + # Required. + # @param [String] cluster_id + # A Cluster id + # Required. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # Overrides userIp if both are provided. + # @param [String] user_ip + # IP address of the site where the request originates. Use this if you want to + # enforce per-user limits. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_history_execution_cluster(project_id, history_id, execution_id, cluster_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}', options) + command.response_representation = Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster::Representation + command.response_class = Google::Apis::ToolresultsV1beta3firstparty::ScreenshotCluster + command.params['projectId'] = project_id unless project_id.nil? + command.params['historyId'] = history_id unless history_id.nil? + command.params['executionId'] = execution_id unless execution_id.nil? + command.params['clusterId'] = cluster_id unless cluster_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Lists Screenshot Clusters # Returns the list of screenshot clusters corresponding to an execution. # Screenshot clusters are created after the execution is finished. Clusters are # created from a set of screenshots. Between any two screenshots, a matching # score is calculated based off their metadata that determines how similar they