google_api_tool_results v0.22.0 GoogleApi.ToolResults.V1beta3.Api.Histories View Source
API calls for all endpoints tagged Histories
.
Link to this section Summary
Link to this section Functions
toolresults_histories_create(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcetoolresults_histories_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.History.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Creates a History.
The returned History 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 project does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project 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.History.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.History{}}
on success{:error, info}
on failure
toolresults_histories_get(connection, project_id, history_id, optional_params \\ [], opts \\ [])
View Sourcetoolresults_histories_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.History.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Gets a History.
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 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").
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.History{}}
on success{:error, info}
on failure
toolresults_histories_list(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcetoolresults_histories_list(Tesla.Env.client(), String.t(), keyword(), keyword()) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.ListHistoriesResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Lists Histories for a given Project.
The histories are sorted by modification time in descending order. The history_id key will be used to order the history with the same modification 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 History does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - A Project 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").:filterByName
(type:String.t
) - If set, only return histories with the given name.Optional.
:pageSize
(type:integer()
) - The maximum number of Histories to fetch.Default value: 20. The server will use this default if the field is not set or has a value of 0. Any value greater than 100 will be treated as 100.
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.ListHistoriesResponse{}}
on success{:error, info}
on failure