Skip to content

Commit c852e3b

Browse files
fix(travelimpactmodel): update the API
#### travelimpactmodel:v1 The following keys were changed: - schemas.FlightWithEmissions.properties.emissionsGramsPerPax.description
1 parent a8ddf06 commit c852e3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discovery/travelimpactmodel-v1.json

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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)