Skip to content

Commit db8e670

Browse files
1 parent 541ab7e commit db8e670

File tree

4 files changed

+84
-69
lines changed

4 files changed

+84
-69
lines changed

clients/google-api-services-travelimpactmodel/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-travelimpactmodel</artifactId>
25-
<version>v1-rev20251008-2.0.0</version>
25+
<version>v1-rev20251102-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20251008-2.0.0'
38+
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20251102-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-travelimpactmodel/v1/2.0.0/com/google/api/services/travelimpactmodel/v1/model/Scope3FlightSegment.java

Lines changed: 78 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ public final class Scope3FlightSegment extends com.google.api.client.json.Generi
3838
private java.lang.String cabinClass;
3939

4040
/**
41-
* Optional. IATA carrier code, e.g. `KE`. This is required if specific flight matching is
42-
* desired. Otherwise, this is unused for typical flight and distance-based emissions models. This
43-
* could be both operating and marketing carrier code (i.e. codeshare is covered).
41+
* Optional. 2-character [IATA carrier
42+
* code](https://www.iata.org/en/publications/directories/code-search/), e.g. `KE`. This is
43+
* required if specific flight matching is desired. Otherwise, this is unused for typical flight
44+
* and distance-based emissions models. This could be both operating and marketing carrier code
45+
* (i.e. codeshare is covered).
4446
* The value may be {@code null}.
4547
*/
4648
@com.google.api.client.util.Key
@@ -58,42 +60,45 @@ public final class Scope3FlightSegment extends com.google.api.client.json.Generi
5860
private Date departureDate;
5961

6062
/**
61-
* Optional. IATA airport code for flight destination, e.g. `ICN`. This is used to match specific
62-
* flight if provided alongside origin, carrier, and flight number. If there is no match, we will
63-
* first try to match the flight to a typical flight between the provided origin and destination
64-
* airports. Otherwise, we will use the distance-based emissions model if the flight distance is
65-
* provided.
63+
* Optional. 3-character [IATA airport
64+
* code](https://www.iata.org/en/publications/directories/code-search/) for flight destination,
65+
* e.g. `ICN`. This is used to match specific flight if provided alongside origin, carrier, and
66+
* flight number. If there is no match, we will first try to match the flight to a typical flight
67+
* between the provided origin and destination airports. Otherwise, we will use the distance-based
68+
* emissions model if the flight distance is provided.
6669
* The value may be {@code null}.
6770
*/
6871
@com.google.api.client.util.Key
6972
private java.lang.String destination;
7073

7174
/**
72-
* Optional. Distance in kilometers, e.g. `2423`. This is used to match a flight to distance-based
73-
* emissions when origin and destination are not provided or there are no matching typical
74-
* flights. This field supports values between 0 and 2.5e16 km.
75+
* Optional. Distance in kilometers, e.g. `2423`, from [1, 2.5e16) km. This is used to match a
76+
* flight to distance-based emissions when origin and destination are not provided or there are no
77+
* matching typical flights.
7578
* The value may be {@code null}.
7679
*/
7780
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
7881
private java.lang.Long distanceKm;
7982

8083
/**
81-
* Optional. Flight number, e.g. `71`. This is first used to match a specific flight if a flight
82-
* number is specified alongside origin, destination, and carrier. If a flight number is not
83-
* specified, we will first try to match the flight to a typical flight between the provided
84-
* origin and destination airports. If that fails and/or origin & destination are not provided, we
85-
* will use the distance-based emissions model based on the flight distance provided.
84+
* Optional. Up to 4-digit [flight number](https://en.wikipedia.org/wiki/Flight_number), e.g.
85+
* `71`, from [1, 9999]. This is first used to match a specific flight if a flight number is
86+
* specified alongside origin, destination, and carrier. If a flight number is not specified, we
87+
* will first try to match the flight to a typical flight between the provided origin and
88+
* destination airports. If that fails and/or origin & destination are not provided, we will use
89+
* the distance-based emissions model based on the flight distance provided.
8690
* The value may be {@code null}.
8791
*/
8892
@com.google.api.client.util.Key
8993
private java.lang.Integer flightNumber;
9094

9195
/**
92-
* Optional. IATA airport code for flight origin, e.g. `YVR`. This is used to match specific
93-
* flight if provided alongside destination, carrier, and flight number. If there is no match, we
94-
* will first try to match the flight to a typical flight between the provided origin and
95-
* destination airports. Otherwise, we will use the distance-based emissions model if the flight
96-
* distance is provided.
96+
* Optional. 3-character [IATA airport
97+
* code](https://www.iata.org/en/publications/directories/code-search/) for flight origin, e.g.
98+
* `YVR`. This is used to match specific flight if provided alongside destination, carrier, and
99+
* flight number. If there is no match, we will first try to match the flight to a typical flight
100+
* between the provided origin and destination airports. Otherwise, we will use the distance-based
101+
* emissions model if the flight distance is provided.
97102
* The value may be {@code null}.
98103
*/
99104
@com.google.api.client.util.Key
@@ -117,19 +122,23 @@ public Scope3FlightSegment setCabinClass(java.lang.String cabinClass) {
117122
}
118123

119124
/**
120-
* Optional. IATA carrier code, e.g. `KE`. This is required if specific flight matching is
121-
* desired. Otherwise, this is unused for typical flight and distance-based emissions models. This
122-
* could be both operating and marketing carrier code (i.e. codeshare is covered).
125+
* Optional. 2-character [IATA carrier
126+
* code](https://www.iata.org/en/publications/directories/code-search/), e.g. `KE`. This is
127+
* required if specific flight matching is desired. Otherwise, this is unused for typical flight
128+
* and distance-based emissions models. This could be both operating and marketing carrier code
129+
* (i.e. codeshare is covered).
123130
* @return value or {@code null} for none
124131
*/
125132
public java.lang.String getCarrierCode() {
126133
return carrierCode;
127134
}
128135

129136
/**
130-
* Optional. IATA carrier code, e.g. `KE`. This is required if specific flight matching is
131-
* desired. Otherwise, this is unused for typical flight and distance-based emissions models. This
132-
* could be both operating and marketing carrier code (i.e. codeshare is covered).
137+
* Optional. 2-character [IATA carrier
138+
* code](https://www.iata.org/en/publications/directories/code-search/), e.g. `KE`. This is
139+
* required if specific flight matching is desired. Otherwise, this is unused for typical flight
140+
* and distance-based emissions models. This could be both operating and marketing carrier code
141+
* (i.e. codeshare is covered).
133142
* @param carrierCode carrierCode or {@code null} for none
134143
*/
135144
public Scope3FlightSegment setCarrierCode(java.lang.String carrierCode) {
@@ -163,23 +172,25 @@ public Scope3FlightSegment setDepartureDate(Date departureDate) {
163172
}
164173

165174
/**
166-
* Optional. IATA airport code for flight destination, e.g. `ICN`. This is used to match specific
167-
* flight if provided alongside origin, carrier, and flight number. If there is no match, we will
168-
* first try to match the flight to a typical flight between the provided origin and destination
169-
* airports. Otherwise, we will use the distance-based emissions model if the flight distance is
170-
* provided.
175+
* Optional. 3-character [IATA airport
176+
* code](https://www.iata.org/en/publications/directories/code-search/) for flight destination,
177+
* e.g. `ICN`. This is used to match specific flight if provided alongside origin, carrier, and
178+
* flight number. If there is no match, we will first try to match the flight to a typical flight
179+
* between the provided origin and destination airports. Otherwise, we will use the distance-based
180+
* emissions model if the flight distance is provided.
171181
* @return value or {@code null} for none
172182
*/
173183
public java.lang.String getDestination() {
174184
return destination;
175185
}
176186

177187
/**
178-
* Optional. IATA airport code for flight destination, e.g. `ICN`. This is used to match specific
179-
* flight if provided alongside origin, carrier, and flight number. If there is no match, we will
180-
* first try to match the flight to a typical flight between the provided origin and destination
181-
* airports. Otherwise, we will use the distance-based emissions model if the flight distance is
182-
* provided.
188+
* Optional. 3-character [IATA airport
189+
* code](https://www.iata.org/en/publications/directories/code-search/) for flight destination,
190+
* e.g. `ICN`. This is used to match specific flight if provided alongside origin, carrier, and
191+
* flight number. If there is no match, we will first try to match the flight to a typical flight
192+
* between the provided origin and destination airports. Otherwise, we will use the distance-based
193+
* emissions model if the flight distance is provided.
183194
* @param destination destination or {@code null} for none
184195
*/
185196
public Scope3FlightSegment setDestination(java.lang.String destination) {
@@ -188,19 +199,19 @@ public Scope3FlightSegment setDestination(java.lang.String destination) {
188199
}
189200

190201
/**
191-
* Optional. Distance in kilometers, e.g. `2423`. This is used to match a flight to distance-based
192-
* emissions when origin and destination are not provided or there are no matching typical
193-
* flights. This field supports values between 0 and 2.5e16 km.
202+
* Optional. Distance in kilometers, e.g. `2423`, from [1, 2.5e16) km. This is used to match a
203+
* flight to distance-based emissions when origin and destination are not provided or there are no
204+
* matching typical flights.
194205
* @return value or {@code null} for none
195206
*/
196207
public java.lang.Long getDistanceKm() {
197208
return distanceKm;
198209
}
199210

200211
/**
201-
* Optional. Distance in kilometers, e.g. `2423`. This is used to match a flight to distance-based
202-
* emissions when origin and destination are not provided or there are no matching typical
203-
* flights. This field supports values between 0 and 2.5e16 km.
212+
* Optional. Distance in kilometers, e.g. `2423`, from [1, 2.5e16) km. This is used to match a
213+
* flight to distance-based emissions when origin and destination are not provided or there are no
214+
* matching typical flights.
204215
* @param distanceKm distanceKm or {@code null} for none
205216
*/
206217
public Scope3FlightSegment setDistanceKm(java.lang.Long distanceKm) {
@@ -209,23 +220,25 @@ public Scope3FlightSegment setDistanceKm(java.lang.Long distanceKm) {
209220
}
210221

211222
/**
212-
* Optional. Flight number, e.g. `71`. This is first used to match a specific flight if a flight
213-
* number is specified alongside origin, destination, and carrier. If a flight number is not
214-
* specified, we will first try to match the flight to a typical flight between the provided
215-
* origin and destination airports. If that fails and/or origin & destination are not provided, we
216-
* will use the distance-based emissions model based on the flight distance provided.
223+
* Optional. Up to 4-digit [flight number](https://en.wikipedia.org/wiki/Flight_number), e.g.
224+
* `71`, from [1, 9999]. This is first used to match a specific flight if a flight number is
225+
* specified alongside origin, destination, and carrier. If a flight number is not specified, we
226+
* will first try to match the flight to a typical flight between the provided origin and
227+
* destination airports. If that fails and/or origin & destination are not provided, we will use
228+
* the distance-based emissions model based on the flight distance provided.
217229
* @return value or {@code null} for none
218230
*/
219231
public java.lang.Integer getFlightNumber() {
220232
return flightNumber;
221233
}
222234

223235
/**
224-
* Optional. Flight number, e.g. `71`. This is first used to match a specific flight if a flight
225-
* number is specified alongside origin, destination, and carrier. If a flight number is not
226-
* specified, we will first try to match the flight to a typical flight between the provided
227-
* origin and destination airports. If that fails and/or origin & destination are not provided, we
228-
* will use the distance-based emissions model based on the flight distance provided.
236+
* Optional. Up to 4-digit [flight number](https://en.wikipedia.org/wiki/Flight_number), e.g.
237+
* `71`, from [1, 9999]. This is first used to match a specific flight if a flight number is
238+
* specified alongside origin, destination, and carrier. If a flight number is not specified, we
239+
* will first try to match the flight to a typical flight between the provided origin and
240+
* destination airports. If that fails and/or origin & destination are not provided, we will use
241+
* the distance-based emissions model based on the flight distance provided.
229242
* @param flightNumber flightNumber or {@code null} for none
230243
*/
231244
public Scope3FlightSegment setFlightNumber(java.lang.Integer flightNumber) {
@@ -234,23 +247,25 @@ public Scope3FlightSegment setFlightNumber(java.lang.Integer flightNumber) {
234247
}
235248

236249
/**
237-
* Optional. IATA airport code for flight origin, e.g. `YVR`. This is used to match specific
238-
* flight if provided alongside destination, carrier, and flight number. If there is no match, we
239-
* will first try to match the flight to a typical flight between the provided origin and
240-
* destination airports. Otherwise, we will use the distance-based emissions model if the flight
241-
* distance is provided.
250+
* Optional. 3-character [IATA airport
251+
* code](https://www.iata.org/en/publications/directories/code-search/) for flight origin, e.g.
252+
* `YVR`. This is used to match specific flight if provided alongside destination, carrier, and
253+
* flight number. If there is no match, we will first try to match the flight to a typical flight
254+
* between the provided origin and destination airports. Otherwise, we will use the distance-based
255+
* emissions model if the flight distance is provided.
242256
* @return value or {@code null} for none
243257
*/
244258
public java.lang.String getOrigin() {
245259
return origin;
246260
}
247261

248262
/**
249-
* Optional. IATA airport code for flight origin, e.g. `YVR`. This is used to match specific
250-
* flight if provided alongside destination, carrier, and flight number. If there is no match, we
251-
* will first try to match the flight to a typical flight between the provided origin and
252-
* destination airports. Otherwise, we will use the distance-based emissions model if the flight
253-
* distance is provided.
263+
* Optional. 3-character [IATA airport
264+
* code](https://www.iata.org/en/publications/directories/code-search/) for flight origin, e.g.
265+
* `YVR`. This is used to match specific flight if provided alongside destination, carrier, and
266+
* flight number. If there is no match, we will first try to match the flight to a typical flight
267+
* between the provided origin and destination airports. Otherwise, we will use the distance-based
268+
* emissions model if the flight distance is provided.
254269
* @param origin origin or {@code null} for none
255270
*/
256271
public Scope3FlightSegment setOrigin(java.lang.String origin) {

clients/google-api-services-travelimpactmodel/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-travelimpactmodel</artifactId>
11-
<version>v1-rev20251008-2.0.0</version>
12-
<name>Travel Impact Model API v1-rev20251008-2.0.0</name>
11+
<version>v1-rev20251102-2.0.0</version>
12+
<name>Travel Impact Model API v1-rev20251102-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-travelimpactmodel/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-travelimpactmodel</artifactId>
25-
<version>v1-rev20251008-2.0.0</version>
25+
<version>v1-rev20251102-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20251008-2.0.0'
38+
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20251102-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)