Show / Hide Table of Contents

Class Status

Represents an error encountered while processing an individual flight or market in a request. When emission estimates cannot be computed for a requested item, the errors field contains one or more Status objects describing why: * INVALID_ARGUMENT (code 3): Reports input errors on the requested item, such as missing or invalid airport codes, operating carrier codes, flight numbers, or departure dates. Multiple Status entries may be returned if multiple input fields are invalid. * NOT_FOUND (code 5): Indicates that no emission estimates matched the requested flight or market inputs.

Inheritance
object
Status
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.TravelImpactModel.v1.Data
Assembly: Google.Apis.TravelImpactModel.v1.dll
Syntax
public class Status : IDirectResponseSchema

Properties

Code

The numeric status code corresponding to a google.rpc.Code enum value: * 3 (INVALID_ARGUMENT): Input error (for example, a missing or invalid airport or carrier code). * 5 (NOT_FOUND): No emission estimates matched the requested inputs.

Declaration
[JsonProperty("code")]
public virtual int? Code { get; set; }
Property Value
Type Description
int?

Details

Additional structured error details, when available.

Declaration
[JsonProperty("details")]
public virtual IList<IDictionary<string, object>> Details { get; set; }
Property Value
Type Description
IList<IDictionary<string, object>>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Message

A human-readable error message in English describing why emission estimates could not be returned for the requested item.

Declaration
[JsonProperty("message")]
public virtual string Message { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX