Class: Google::Devtools::Clouderrorreporting::V1beta1::ServiceContext
- Inherits:
-
Object
- Object
- Google::Devtools::Clouderrorreporting::V1beta1::ServiceContext
- Defined in:
- lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb
Overview
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.
Instance Attribute Summary collapse
-
#resource_type ⇒ String
Type of the MonitoredResource.
-
#service ⇒ String
An identifier of the service, such as the name of the executable, job, or Google App Engine service name.
-
#version ⇒ String
Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
Instance Attribute Details
#resource_type ⇒ String
Returns 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.
80 |
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 80 class ServiceContext; end |
#service ⇒ String
Returns 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.
80 |
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 80 class ServiceContext; end |
#version ⇒ String
Returns Represents the source code version that the developer provided, which could represent a version label or a Git SHA-1 hash, for example.
80 |
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb', line 80 class ServiceContext; end |