google_api_tool_results v0.23.3 GoogleApi.ToolResults.V1beta3.Api.Executions View Source
API calls for all endpoints tagged Executions
.
Link to this section Summary
Functions
Creates an Execution.
Gets an Execution.
Lists Executions for a given History.
Updates an existing Execution with the supplied partial entity.
Link to this section Functions
toolresults_executions_create(connection, project_id, history_id, optional_params \\ [], opts \\ [])
View SourceSpecs
toolresults_executions_create( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.Execution.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Creates an Execution.
The returned Execution will have the id set.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project
- INVALID_ARGUMENT - if the request is malformed
- NOT_FOUND - if the containing History does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project id.Required.
history_id
(type:String.t
) - A History 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").:requestId
(type:String.t
) - A unique request ID for server to detect duplicated requests. For example, a UUID.Optional, but strongly recommended.
:body
(type:GoogleApi.ToolResults.V1beta3.Model.Execution.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.Execution{}}
on success{:error, info}
on failure
toolresults_executions_get(connection, project_id, history_id, execution_id, optional_params \\ [], opts \\ [])
View SourceSpecs
toolresults_executions_get( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.Execution.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Gets an Execution.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project
- INVALID_ARGUMENT - if the request is malformed
- NOT_FOUND - if the Execution does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_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.
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").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.Execution{}}
on success{:error, info}
on failure
toolresults_executions_list(connection, project_id, history_id, optional_params \\ [], opts \\ [])
View SourceSpecs
toolresults_executions_list( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.ListExecutionsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Lists Executions for a given History.
The executions are sorted by creation_time in descending order. The execution_id key will be used to order the executions with the same creation_time.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to read project
- INVALID_ARGUMENT - if the request is malformed
- NOT_FOUND - if the containing History does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project id.Required.
history_id
(type:String.t
) - A History 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 Executions to fetch.Default value: 25. 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.ListExecutionsResponse{}}
on success{:error, info}
on failure
toolresults_executions_patch(connection, project_id, history_id, execution_id, optional_params \\ [], opts \\ [])
View SourceSpecs
toolresults_executions_patch( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.Execution.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Updates an existing Execution with the supplied partial entity.
May return any of the following canonical error codes:
- PERMISSION_DENIED - if the user is not authorized to write to project
- INVALID_ARGUMENT - if the request is malformed
- FAILED_PRECONDITION - if the requested state transition is illegal
- NOT_FOUND - if the containing History does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project id. Required.history_id
(type:String.t
) - Required.execution_id
(type:String.t
) - 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").:requestId
(type:String.t
) - A unique request ID for server to detect duplicated requests. For example, a UUID.Optional, but strongly recommended.
:body
(type:GoogleApi.ToolResults.V1beta3.Model.Execution.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.Execution{}}
on success{:error, info}
on failure