google_api_tool_results v0.22.0 GoogleApi.ToolResults.V1beta3.Api.Thumbnails View Source

API calls for all endpoints tagged Thumbnails.

Link to this section Summary

Link to this section Functions

Link to this function

toolresults_thumbnails_list(connection, project_id, history_id, execution_id, step_id, optional_params \\ [], opts \\ [])

View Source
toolresults_thumbnails_list(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  keyword(),
  keyword()
) ::
  {:ok, GoogleApi.ToolResults.V1beta3.Model.ListStepThumbnailsResponse.t()}
  | {:ok, Tesla.Env.t()}
  | {:error, Tesla.Env.t()}

Lists thumbnails of images attached to a step.

May return any of the following canonical error codes:

  • PERMISSION_DENIED - if the user is not authorized to read from the

                    project, or from any of the images
  • INVALID_ARGUMENT - if the request is malformed
  • NOT_FOUND - if the step does not exist, or if any of the images

            do not exist

Parameters

  • connection (type: GoogleApi.ToolResults.V1beta3.Connection.t) - Connection to server

  • project_id (type: String.t) - A Project id.

    Required.

  • history_id (type: String.t) - A History id.

    Required.

  • execution_id (type: String.t) - An Execution id.

    Required.

  • step_id (type: String.t) - A Step id.

    Required.

  • optional_params (type: keyword()) - Optional parameters

    • :"$.xgafv" (type: String.t) - V1 error format.

    • :access_token (type: String.t) - OAuth access token.

    • :alt (type: String.t) - Data format for response.

    • :callback (type: String.t) - JSONP

    • :fields (type: String.t) - Selector specifying which fields to include in a partial response.

    • :key (type: String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

    • :oauth_token (type: String.t) - OAuth 2.0 token for the current user.

    • :prettyPrint (type: boolean()) - Returns response with indentations and line breaks.

    • :quotaUser (type: String.t) - 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.

    • :uploadType (type: String.t) - Legacy upload protocol for media (e.g. "media", "multipart").

    • :upload_protocol (type: String.t) - Upload protocol for media (e.g. "raw", "multipart").

    • :pageSize (type: integer()) - The maximum number of thumbnails to fetch.

      Default value: 50. The server will use this default if the field is not set or has a value of 0.

      Optional.

    • :pageToken (type: String.t) - A continuation token to resume the query at the next item.

      Optional.

  • opts (type: keyword()) - Call options

Returns

  • {:ok, %GoogleApi.ToolResults.V1beta3.Model.ListStepThumbnailsResponse{}} on success
  • {:error, info} on failure