google_api_cloud_trace v0.10.0 GoogleApi.CloudTrace.V2.Api.Projects View Source
API calls for all endpoints tagged Projects
.
Link to this section Summary
Functions
Sends new spans to new or existing traces. You cannot update existing spans.
Link to this section Functions
cloudtrace_projects_traces_batch_write(connection, projects_id, optional_params \\ [], opts \\ [])
View Sourcecloudtrace_projects_traces_batch_write( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudTrace.V2.Model.Empty.t()} | {:error, Tesla.Env.t()}
Sends new spans to new or existing traces. You cannot update existing spans.
Parameters
connection
(type:GoogleApi.CloudTrace.V2.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. Required. The name of the project where the spans belong. The format isprojects/[PROJECT_ID]
.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").:body
(type:GoogleApi.CloudTrace.V2.Model.BatchWriteSpansRequest.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.CloudTrace.V2.Model.Empty{}}
on success{:error, info}
on failure
cloudtrace_projects_traces_spans_create_span(connection, projects_id, traces_id, spans_id, optional_params \\ [], opts \\ [])
View Sourcecloudtrace_projects_traces_spans_create_span( Tesla.Env.client(), String.t(), String.t(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudTrace.V2.Model.Span.t()} | {:error, Tesla.Env.t()}
Creates a new span.
Parameters
connection
(type:GoogleApi.CloudTrace.V2.Connection.t
) - Connection to serverprojects_id
(type:String.t
) - Part ofname
. The resource name of the span in the following format:projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace within a project;
it is a 32-character hexadecimal encoding of a 16-byte array.
[SPAN_ID] is a unique identifier for a span within a trace; it is a 16-character hexadecimal encoding of an 8-byte array.
traces_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.spans_id
(type:String.t
) - Part ofname
. See documentation ofprojectsId
.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").:body
(type:GoogleApi.CloudTrace.V2.Model.Span.t
) -
opts
(type:keyword()
) - Call options
Returns
{:ok, %GoogleApi.CloudTrace.V2.Model.Span{}}
on success{:error, info}
on failure