Struct google_clouderrorreporting1_beta1::ServiceContext [−][src]
pub struct ServiceContext { pub resource_type: Option<String>, pub version: Option<String>, pub service: Option<String>, }
Describes a running service that sends errors. Its version changes over time and multiple versions can run in parallel.
This type is not used in any activity, and only used as part of another schema.
Fields
resource_type: Option<String>
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.
version: Option<String>
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.
service: Option<String>
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.
Trait Implementations
impl Default for ServiceContext
[src]
impl Default for ServiceContext
fn default() -> ServiceContext
[src]
fn default() -> ServiceContext
Returns the "default value" for a type. Read more
impl Clone for ServiceContext
[src]
impl Clone for ServiceContext
fn clone(&self) -> ServiceContext
[src]
fn clone(&self) -> ServiceContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ServiceContext
[src]
impl Debug for ServiceContext
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for ServiceContext
[src]
impl Part for ServiceContext
Auto Trait Implementations
impl Send for ServiceContext
impl Send for ServiceContext
impl Sync for ServiceContext
impl Sync for ServiceContext