google_api_tool_results v0.23.3 GoogleApi.ToolResults.V1beta3.Api.Samples View Source
API calls for all endpoints tagged Samples
.
Link to this section Summary
Link to this section Functions
Link to this function
toolresults_samples_batch_create(connection, project_id, history_id, execution_id, step_id, sample_series_id, optional_params \\ [], opts \\ [])
View SourceSpecs
toolresults_samples_batch_create( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.BatchCreatePerfSamplesResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Creates a batch of PerfSamples
- a client can submit multiple batches of Perf Samples through repeated calls to this method in order to split up a large request payload
- duplicates and existing timestamp entries will be ignored.
- the batch operation may partially succeed
- the set of elements successfully inserted is returned in the response (omits items which already existed in the database).
May return any of the following canonical error codes:
- NOT_FOUND - The containing PerfSampleSeries does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - The cloud projecthistory_id
(type:String.t
) - A tool results history ID.execution_id
(type:String.t
) - A tool results execution ID.step_id
(type:String.t
) - A tool results step ID.sample_series_id
(type:String.t
) - A sample series idoptional_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").:body
(type:GoogleApi.ToolResults.V1beta3.Model.BatchCreatePerfSamplesRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.BatchCreatePerfSamplesResponse{}}
on success{:error, info}
on failure
Link to this function
toolresults_samples_list(connection, project_id, history_id, execution_id, step_id, sample_series_id, optional_params \\ [], opts \\ [])
View SourceSpecs
toolresults_samples_list( Tesla.Env.client(), String.t(), String.t(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.ToolResults.V1beta3.Model.ListPerfSamplesResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Lists the Performance Samples of a given Sample Series
- The list results are sorted by timestamps ascending
- The default page size is 500 samples; and maximum size allowed 5000
- The response token indicates the last returned PerfSample timestamp
- When the results size exceeds the page size, submit a subsequent request including the page token to return the rest of the samples up to the page limit
May return any of the following canonical error codes:
- OUT_OF_RANGE - The specified request page_token is out of valid range
- NOT_FOUND - The containing PerfSampleSeries does not exist
Parameters
connection
(type:GoogleApi.ToolResults.V1beta3.Connection.t
) - Connection to serverproject_id
(type:String.t
) - The cloud projecthistory_id
(type:String.t
) - A tool results history ID.execution_id
(type:String.t
) - A tool results execution ID.step_id
(type:String.t
) - A tool results step ID.sample_series_id
(type:String.t
) - A sample series idoptional_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 default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000:pageToken
(type:String.t
) - Optional, the next_page_token returned in the previous response
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.ToolResults.V1beta3.Model.ListPerfSamplesResponse{}}
on success{:error, info}
on failure