Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions generated/google-apis-travelimpactmodel_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-travelimpactmodel_v1

### v0.11.0 (2025-11-09)

* Regenerated from discovery document revision 20251102

### v0.10.0 (2025-10-12)

* Regenerated from discovery document revision 20251008
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ class Scope3FlightSegment
# @return [String]
attr_accessor :cabin_class

# Optional. IATA carrier code, e.g. `KE`. This is required if specific flight
# Optional. 2-character [IATA carrier code](https://www.iata.org/en/publications/
# directories/code-search/), e.g. `KE`. This is required if specific flight
# matching is desired. Otherwise, this is unused for typical flight and distance-
# based emissions models. This could be both operating and marketing carrier
# code (i.e. codeshare is covered).
Expand All @@ -549,40 +550,40 @@ class Scope3FlightSegment
# @return [Google::Apis::TravelimpactmodelV1::Date]
attr_accessor :departure_date

# Optional. IATA airport code for flight destination, e.g. `ICN`. This is used
# to match specific flight if provided alongside origin, carrier, and flight
# number. If there is no match, we will first try to match the flight to a
# typical flight between the provided origin and destination airports. Otherwise,
# we will use the distance-based emissions model if the flight distance is
# provided.
# Optional. 3-character [IATA airport code](https://www.iata.org/en/publications/
# directories/code-search/) for flight destination, e.g. `ICN`. This is used to
# match specific flight if provided alongside origin, carrier, and flight number.
# If there is no match, we will first try to match the flight to a typical
# flight between the provided origin and destination airports. Otherwise, we
# will use the distance-based emissions model if the flight distance is provided.
# Corresponds to the JSON property `destination`
# @return [String]
attr_accessor :destination

# Optional. Distance in kilometers, e.g. `2423`. This is used to match a flight
# to distance-based emissions when origin and destination are not provided or
# there are no matching typical flights. This field supports values between 0
# and 2.5e16 km.
# Optional. Distance in kilometers, e.g. `2423`, from [1, 2.5e16) km. This is
# used to match a flight to distance-based emissions when origin and destination
# are not provided or there are no matching typical flights.
# Corresponds to the JSON property `distanceKm`
# @return [Fixnum]
attr_accessor :distance_km

# Optional. Flight number, e.g. `71`. This is first used to match a specific
# flight if a flight number is specified alongside origin, destination, and
# carrier. If a flight number is not specified, we will first try to match the
# flight to a typical flight between the provided origin and destination
# Optional. Up to 4-digit [flight number](https://en.wikipedia.org/wiki/
# Flight_number), e.g. `71`, from [1, 9999]. This is first used to match a
# specific flight if a flight number is specified alongside origin, destination,
# and carrier. If a flight number is not specified, we will first try to match
# the flight to a typical flight between the provided origin and destination
# airports. If that fails and/or origin & destination are not provided, we will
# use the distance-based emissions model based on the flight distance provided.
# Corresponds to the JSON property `flightNumber`
# @return [Fixnum]
attr_accessor :flight_number

# Optional. IATA airport code for flight origin, e.g. `YVR`. This is used to
# match specific flight if provided alongside destination, carrier, and flight
# number. If there is no match, we will first try to match the flight to a
# typical flight between the provided origin and destination airports. Otherwise,
# we will use the distance-based emissions model if the flight distance is
# provided.
# Optional. 3-character [IATA airport code](https://www.iata.org/en/publications/
# directories/code-search/) for flight origin, e.g. `YVR`. This is used to match
# specific flight if provided alongside destination, carrier, and flight number.
# If there is no match, we will first try to match the flight to a typical
# flight between the provided origin and destination airports. Otherwise, we
# will use the distance-based emissions model if the flight distance is provided.
# Corresponds to the JSON property `origin`
# @return [String]
attr_accessor :origin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module TravelimpactmodelV1
# Version of the google-apis-travelimpactmodel_v1 gem
GEM_VERSION = "0.10.0"
GEM_VERSION = "0.11.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.18.0"

# Revision of the discovery document this client was generated from
REVISION = "20251008"
REVISION = "20251102"
end
end
end