Skip to content

Commit 5b2c0e5

Browse files
feat: Automated regeneration of travelimpactmodel v1 client (#24920)
Auto-created at 2025-11-09 10:13:53 +0000 using the toys pull request generator.
1 parent 31a3f5e commit 5b2c0e5

File tree

3 files changed

+28
-23
lines changed

3 files changed

+28
-23
lines changed

generated/google-apis-travelimpactmodel_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-travelimpactmodel_v1
22

3+
### v0.11.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251102
6+
37
### v0.10.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251008

generated/google-apis-travelimpactmodel_v1/lib/google/apis/travelimpactmodel_v1/classes.rb

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,8 @@ class Scope3FlightSegment
529529
# @return [String]
530530
attr_accessor :cabin_class
531531

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

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

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

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

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

generated/google-apis-travelimpactmodel_v1/lib/google/apis/travelimpactmodel_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TravelimpactmodelV1
1818
# Version of the google-apis-travelimpactmodel_v1 gem
19-
GEM_VERSION = "0.10.0"
19+
GEM_VERSION = "0.11.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251008"
25+
REVISION = "20251102"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)