Skip to content

Commit 54f0e46

Browse files
yoshi-automationsofisl
authored andcommitted
fix(travelimpactmodel): update the API
#### travelimpactmodel:v1 The following keys were changed: - schemas.FlightWithEmissions.properties.emissionsGramsPerPax.description
1 parent b2cc28c commit 54f0e46

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discovery/travelimpactmodel-v1.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
}
117117
}
118118
},
119-
"revision": "20231011",
119+
"revision": "20241027",
120120
"rootUrl": "https://travelimpactmodel.googleapis.com/",
121121
"schemas": {
122122
"ComputeFlightEmissionsRequest": {
@@ -234,7 +234,7 @@
234234
"properties": {
235235
"emissionsGramsPerPax": {
236236
"$ref": "EmissionsGramsPerPax",
237-
"description": "Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. Note this field is currently equivalent to ttw_emissions_grams_per_pax until TIM version 1.X.0 which will update this to be total wtw emissions aka wtt_emissions_grams_per_pax + ttw_emissions_grams_per_pax."
237+
"description": "Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. This field uses wtw emissions aka ttw_emissions_grams_per_pax + wtt_emissions_grams_per_pax."
238238
},
239239
"flight": {
240240
"$ref": "Flight",

src/apis/travelimpactmodel/v1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export namespace travelimpactmodel_v1 {
214214
*/
215215
export interface Schema$FlightWithEmissions {
216216
/**
217-
* Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. Note this field is currently equivalent to ttw_emissions_grams_per_pax until TIM version 1.X.0 which will update this to be total wtw emissions aka wtt_emissions_grams_per_pax + ttw_emissions_grams_per_pax.
217+
* Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions. This field uses wtw emissions aka ttw_emissions_grams_per_pax + wtt_emissions_grams_per_pax.
218218
*/
219219
emissionsGramsPerPax?: Schema$EmissionsGramsPerPax;
220220
/**

0 commit comments

Comments
 (0)