google_api_testing v0.14.0 GoogleApi.Testing.V1.Api.Projects View Source
API calls for all endpoints tagged Projects
.
Link to this section Summary
Functions
Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asychronously. If the matrix is already final, this operation will have no effect.
Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200 supported executions.
Checks the status of a test matrix.
Link to this section Functions
testing_projects_test_matrices_cancel(connection, project_id, test_matrix_id, optional_params \\ [], opts \\ [])
View Sourcetesting_projects_test_matrices_cancel( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Testing.V1.Model.CancelTestMatrixResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asychronously. If the matrix is already final, this operation will have no effect.
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 Test Matrix does not exist
Parameters
connection
(type:GoogleApi.Testing.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Cloud project that owns the test.test_matrix_id
(type:String.t
) - Test matrix that will be canceled.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.Testing.V1.Model.CancelTestMatrixResponse{}}
on success{:error, info}
on failure
testing_projects_test_matrices_create(connection, project_id, optional_params \\ [], opts \\ [])
View Sourcetesting_projects_test_matrices_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Testing.V1.Model.TestMatrix.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200 supported executions.
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 or if the matrix expands
to more than 200 supported executions
Parameters
connection
(type:GoogleApi.Testing.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - The GCE project under which this job will run.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 string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended.Optional, but strongly recommended.
:body
(type:GoogleApi.Testing.V1.Model.TestMatrix.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.Testing.V1.Model.TestMatrix{}}
on success{:error, info}
on failure
testing_projects_test_matrices_get(connection, project_id, test_matrix_id, optional_params \\ [], opts \\ [])
View Sourcetesting_projects_test_matrices_get( Tesla.Env.client(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.Testing.V1.Model.TestMatrix.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Checks the status of a test matrix.
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 Test Matrix does not exist
Parameters
connection
(type:GoogleApi.Testing.V1.Connection.t
) - Connection to serverproject_id
(type:String.t
) - Cloud project that owns the test matrix.test_matrix_id
(type:String.t
) - Unique test matrix id which was assigned by the service.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.Testing.V1.Model.TestMatrix{}}
on success{:error, info}
on failure