Skip to content

Commit 5bc4505

Browse files
feat: Automated regeneration of travelimpactmodel v1 client (#27248)
Auto-created at 2026-07-05 11:11:36 +0000 using the toys pull request generator.
1 parent ee0b091 commit 5bc4505

4 files changed

Lines changed: 6 additions & 67 deletions

File tree

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.16.0 (2026-07-05)
4+
5+
* Regenerated from discovery document revision 20260624
6+
37
### v0.15.0 (2026-06-21)
48

59
* Regenerated from discovery document revision 20260615

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

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,6 @@ class EmissionsProvenanceEntry
490490
# @return [String]
491491
attr_accessor :provenance_entry_type
492492

493-
# Seat area ratio data values. Economy is always 1.0 and serves as the reference
494-
# point; other class values are relative to economy. All 4 fields are always set
495-
# whether the seating class exists on the aircraft or not.
496-
# Corresponds to the JSON property `seatAreaRatioData`
497-
# @return [Google::Apis::TravelimpactmodelV1::SeatAreaRatioData]
498-
attr_accessor :seat_area_ratio_data
499-
500493
# Output only. Strategy for IATA seat area ratios.
501494
# Corresponds to the JSON property `seatAreaRatioIataStrategy`
502495
# @return [String]
@@ -528,7 +521,6 @@ def update!(**args)
528521
@load_factors_data = args[:load_factors_data] if args.key?(:load_factors_data)
529522
@load_factors_t100_strategy = args[:load_factors_t100_strategy] if args.key?(:load_factors_t100_strategy)
530523
@provenance_entry_type = args[:provenance_entry_type] if args.key?(:provenance_entry_type)
531-
@seat_area_ratio_data = args[:seat_area_ratio_data] if args.key?(:seat_area_ratio_data)
532524
@seat_area_ratio_iata_strategy = args[:seat_area_ratio_iata_strategy] if args.key?(:seat_area_ratio_iata_strategy)
533525
@source = args[:source] if args.key?(:source)
534526
@source_version = args[:source_version] if args.key?(:source_version)
@@ -905,45 +897,6 @@ def update!(**args)
905897
end
906898
end
907899

908-
# Seat area ratio data values. Economy is always 1.0 and serves as the reference
909-
# point; other class values are relative to economy. All 4 fields are always set
910-
# whether the seating class exists on the aircraft or not.
911-
class SeatAreaRatioData
912-
include Google::Apis::Core::Hashable
913-
914-
# Output only. Business seating class data value.
915-
# Corresponds to the JSON property `business`
916-
# @return [Float]
917-
attr_accessor :business
918-
919-
# Output only. Economy seating class data value.
920-
# Corresponds to the JSON property `economy`
921-
# @return [Float]
922-
attr_accessor :economy
923-
924-
# Output only. First seating class data value.
925-
# Corresponds to the JSON property `first`
926-
# @return [Float]
927-
attr_accessor :first
928-
929-
# Output only. Premium economy seating class data value.
930-
# Corresponds to the JSON property `premiumEconomy`
931-
# @return [Float]
932-
attr_accessor :premium_economy
933-
934-
def initialize(**args)
935-
update!(**args)
936-
end
937-
938-
# Update properties of this object
939-
def update!(**args)
940-
@business = args[:business] if args.key?(:business)
941-
@economy = args[:economy] if args.key?(:economy)
942-
@first = args[:first] if args.key?(:first)
943-
@premium_economy = args[:premium_economy] if args.key?(:premium_economy)
944-
end
945-
end
946-
947900
# Typical flight emission estimates for a certain market
948901
class TypicalFlightEmissions
949902
include Google::Apis::Core::Hashable

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.15.0"
19+
GEM_VERSION = "0.16.0"
2020

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

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

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
160160
include Google::Apis::Core::JsonObjectSupport
161161
end
162162

163-
class SeatAreaRatioData
164-
class Representation < Google::Apis::Core::JsonRepresentation; end
165-
166-
include Google::Apis::Core::JsonObjectSupport
167-
end
168-
169163
class TypicalFlightEmissions
170164
class Representation < Google::Apis::Core::JsonRepresentation; end
171165

@@ -319,8 +313,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
319313
property :load_factors_data, as: 'loadFactorsData'
320314
property :load_factors_t100_strategy, as: 'loadFactorsT100Strategy'
321315
property :provenance_entry_type, as: 'provenanceEntryType'
322-
property :seat_area_ratio_data, as: 'seatAreaRatioData', class: Google::Apis::TravelimpactmodelV1::SeatAreaRatioData, decorator: Google::Apis::TravelimpactmodelV1::SeatAreaRatioData::Representation
323-
324316
property :seat_area_ratio_iata_strategy, as: 'seatAreaRatioIataStrategy'
325317
property :source, as: 'source'
326318
property :source_version, as: 'sourceVersion'
@@ -421,16 +413,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
421413
end
422414
end
423415

424-
class SeatAreaRatioData
425-
# @private
426-
class Representation < Google::Apis::Core::JsonRepresentation
427-
property :business, as: 'business'
428-
property :economy, as: 'economy'
429-
property :first, as: 'first'
430-
property :premium_economy, as: 'premiumEconomy'
431-
end
432-
end
433-
434416
class TypicalFlightEmissions
435417
# @private
436418
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)