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.16.0 (2026-07-05)

* Regenerated from discovery document revision 20260624

### v0.15.0 (2026-06-21)

* Regenerated from discovery document revision 20260615
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,13 +490,6 @@ class EmissionsProvenanceEntry
# @return [String]
attr_accessor :provenance_entry_type

# Seat area ratio data values. Economy is always 1.0 and serves as the reference
# point; other class values are relative to economy. All 4 fields are always set
# whether the seating class exists on the aircraft or not.
# Corresponds to the JSON property `seatAreaRatioData`
# @return [Google::Apis::TravelimpactmodelV1::SeatAreaRatioData]
attr_accessor :seat_area_ratio_data

# Output only. Strategy for IATA seat area ratios.
# Corresponds to the JSON property `seatAreaRatioIataStrategy`
# @return [String]
Expand Down Expand Up @@ -528,7 +521,6 @@ def update!(**args)
@load_factors_data = args[:load_factors_data] if args.key?(:load_factors_data)
@load_factors_t100_strategy = args[:load_factors_t100_strategy] if args.key?(:load_factors_t100_strategy)
@provenance_entry_type = args[:provenance_entry_type] if args.key?(:provenance_entry_type)
@seat_area_ratio_data = args[:seat_area_ratio_data] if args.key?(:seat_area_ratio_data)
@seat_area_ratio_iata_strategy = args[:seat_area_ratio_iata_strategy] if args.key?(:seat_area_ratio_iata_strategy)
@source = args[:source] if args.key?(:source)
@source_version = args[:source_version] if args.key?(:source_version)
Expand Down Expand Up @@ -905,45 +897,6 @@ def update!(**args)
end
end

# Seat area ratio data values. Economy is always 1.0 and serves as the reference
# point; other class values are relative to economy. All 4 fields are always set
# whether the seating class exists on the aircraft or not.
class SeatAreaRatioData
include Google::Apis::Core::Hashable

# Output only. Business seating class data value.
# Corresponds to the JSON property `business`
# @return [Float]
attr_accessor :business

# Output only. Economy seating class data value.
# Corresponds to the JSON property `economy`
# @return [Float]
attr_accessor :economy

# Output only. First seating class data value.
# Corresponds to the JSON property `first`
# @return [Float]
attr_accessor :first

# Output only. Premium economy seating class data value.
# Corresponds to the JSON property `premiumEconomy`
# @return [Float]
attr_accessor :premium_economy

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@business = args[:business] if args.key?(:business)
@economy = args[:economy] if args.key?(:economy)
@first = args[:first] if args.key?(:first)
@premium_economy = args[:premium_economy] if args.key?(:premium_economy)
end
end

# Typical flight emission estimates for a certain market
class TypicalFlightEmissions
include Google::Apis::Core::Hashable
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.15.0"
GEM_VERSION = "0.16.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260615"
REVISION = "20260624"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class SeatAreaRatioData
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class TypicalFlightEmissions
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -319,8 +313,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :load_factors_data, as: 'loadFactorsData'
property :load_factors_t100_strategy, as: 'loadFactorsT100Strategy'
property :provenance_entry_type, as: 'provenanceEntryType'
property :seat_area_ratio_data, as: 'seatAreaRatioData', class: Google::Apis::TravelimpactmodelV1::SeatAreaRatioData, decorator: Google::Apis::TravelimpactmodelV1::SeatAreaRatioData::Representation

property :seat_area_ratio_iata_strategy, as: 'seatAreaRatioIataStrategy'
property :source, as: 'source'
property :source_version, as: 'sourceVersion'
Expand Down Expand Up @@ -421,16 +413,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class SeatAreaRatioData
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :business, as: 'business'
property :economy, as: 'economy'
property :first, as: 'first'
property :premium_economy, as: 'premiumEconomy'
end
end

class TypicalFlightEmissions
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down
Loading