GoogleApi.CloudErrorReporting.V1beta1.Api.Projects.clouderrorreporting_projects_events_report
You're seeing just the function
clouderrorreporting_projects_events_report
, go back to GoogleApi.CloudErrorReporting.V1beta1.Api.Projects module for more information.
Link to this function
clouderrorreporting_projects_events_report(connection, projects_id, optional_params \\ [], opts \\ [])
View SourceSpecs
clouderrorreporting_projects_events_report( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.CloudErrorReporting.V1beta1.Model.ReportErrorEventResponse.t()} | {:ok, Tesla.Env.t()} | {:ok, list()} | {:error, any()}
Report an individual error event and record the event to a log. This endpoint accepts either an OAuth token, or an API key for authentication. To use an API key, append it to the URL as the value of a key
parameter. For example: POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456
Note: [Error Reporting] (https://cloud.google.com/error-reporting) is a global service built on Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other Google Cloud projects. For more information, see [Using Error Reporting with regionalized logs] (https://cloud.google.com/error-reporting/docs/regionalization).
Parameters
-
connection
(type:GoogleApi.CloudErrorReporting.V1beta1.Connection.t
) - Connection to server -
projects_id
(type:String.t
) - Part ofprojectName
. Required. The resource name of the Google Cloud Platform project. Written asprojects/{projectId}
, where{projectId}
is the Google Cloud Platform project ID. Example: //projects/my-project-123
. -
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.CloudErrorReporting.V1beta1.Model.ReportedErrorEvent.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.CloudErrorReporting.V1beta1.Model.ReportErrorEventResponse{}}
on success -
{:error, info}
on failure