google_api_cloud_error_reporting v0.1.0 GoogleApi.CloudErrorReporting.V1beta1.Model.ServiceContext View Source

Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.

Attributes

  • resourceType (String.t): Type of the MonitoredResource. List of possible values: https://cloud.google.com/monitoring/api/resources Value is set automatically for incoming errors and must not be set when reporting errors. Defaults to: null.
  • service (String.t): An identifier of the service, such as the name of the executable, job, or Google App Engine service name. This field is expected to have a low number of values that are relatively stable over time, as opposed to `version`, which can be changed whenever new code is deployed. Contains the service name for error reports extracted from Google App Engine logs or `default` if the App Engine default service is used. Defaults to: null.
  • version (String.t): Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example. For App Engine standard environment, the version is set to the version of the app. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.CloudErrorReporting.V1beta1.Model.ServiceContext{
  resourceType: any(),
  service: any(),
  version: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.