Skip to content

Commit 3e3934e

Browse files
1 parent fdf94a6 commit 3e3934e

File tree

6 files changed

+45
-33
lines changed

6 files changed

+45
-33
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-rev20250603-2.0.0</version>
25+
<version>v1-rev20250605-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-rev20250603-2.0.0'
38+
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20250605-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ public Flights flights() {
154154
public class Flights {
155155

156156
/**
157-
* Stateless method to retrieve emission estimates. Details on how emission estimates are computed:
158-
* https://github.com/google/travel-impact-model The response will contain all entries that match
159-
* the input flight legs, in the same order. If there are no estimates available for a certain
160-
* flight leg, the response will return the flight leg object with empty emission fields. The
161-
* request will still be considered successful. Reasons for missing emission estimates include: *
162-
* The flight is unknown to the server. * The input flight leg is missing one or more identifiers. *
163-
* The flight date is in the past. * The aircraft type is not supported by the model. * Missing seat
164-
* configuration. The request can contain up to 1000 flight legs. If the request has more than 1000
165-
* direct flights, if will fail with an INVALID_ARGUMENT error.
157+
* Stateless method to retrieve emission estimates. Details on how emission estimates are computed
158+
* are in [GitHub](https://github.com/google/travel-impact-model) The response will contain all
159+
* entries that match the input flight legs, in the same order. If there are no estimates available
160+
* for a certain flight leg, the response will return the flight leg object with empty emission
161+
* fields. The request will still be considered successful. Reasons for missing emission estimates
162+
* include: * The flight is unknown to the server. * The input flight leg is missing one or more
163+
* identifiers. * The flight date is in the past. * The aircraft type is not supported by the model.
164+
* * Missing seat configuration. The request can contain up to 1000 flight legs. If the request has
165+
* more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
166166
*
167167
* Create a request for the method "flights.computeFlightEmissions".
168168
*
@@ -184,14 +184,14 @@ public class ComputeFlightEmissions extends TravelImpactModelRequest<com.google.
184184
private static final String REST_PATH = "v1/flights:computeFlightEmissions";
185185

186186
/**
187-
* Stateless method to retrieve emission estimates. Details on how emission estimates are
188-
* computed: https://github.com/google/travel-impact-model The response will contain all entries
189-
* that match the input flight legs, in the same order. If there are no estimates available for a
190-
* certain flight leg, the response will return the flight leg object with empty emission fields.
191-
* The request will still be considered successful. Reasons for missing emission estimates
192-
* include: * The flight is unknown to the server. * The input flight leg is missing one or more
193-
* identifiers. * The flight date is in the past. * The aircraft type is not supported by the
194-
* model. * Missing seat configuration. The request can contain up to 1000 flight legs. If the
187+
* Stateless method to retrieve emission estimates. Details on how emission estimates are computed
188+
* are in [GitHub](https://github.com/google/travel-impact-model) The response will contain all
189+
* entries that match the input flight legs, in the same order. If there are no estimates
190+
* available for a certain flight leg, the response will return the flight leg object with empty
191+
* emission fields. The request will still be considered successful. Reasons for missing emission
192+
* estimates include: * The flight is unknown to the server. * The input flight leg is missing one
193+
* or more identifiers. * The flight date is in the past. * The aircraft type is not supported by
194+
* the model. * Missing seat configuration. The request can contain up to 1000 flight legs. If the
195195
* request has more than 1000 direct flights, if will fail with an INVALID_ARGUMENT error.
196196
*
197197
* Create a request for the method "flights.computeFlightEmissions".

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
/**
2020
* Travel Impact Model version. For more information about the model versioning see
21-
* https://github.com/google/travel-impact-model/#versioning.
21+
* [GitHub](https://github.com/google/travel-impact-model/#versioning).
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Travel Impact Model API. For a detailed explanation
@@ -42,8 +42,9 @@ public final class ModelVersion extends com.google.api.client.json.GenericJson {
4242
/**
4343
* Major versions: Major changes to methodology (e.g. adding new data sources to the model that
4444
* lead to major output changes). Such changes will be infrequent and announced well in advance.
45-
* Might involve API version changes, which will respect guidelines in
46-
* https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-incompatible
45+
* Might involve API version changes, which will respect [Google Cloud API
46+
* guidelines](https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-
47+
* incompatible)
4748
* The value may be {@code null}.
4849
*/
4950
@com.google.api.client.util.Key
@@ -87,8 +88,9 @@ public ModelVersion setDated(java.lang.String dated) {
8788
/**
8889
* Major versions: Major changes to methodology (e.g. adding new data sources to the model that
8990
* lead to major output changes). Such changes will be infrequent and announced well in advance.
90-
* Might involve API version changes, which will respect guidelines in
91-
* https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-incompatible
91+
* Might involve API version changes, which will respect [Google Cloud API
92+
* guidelines](https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-
93+
* incompatible)
9294
* @return value or {@code null} for none
9395
*/
9496
public java.lang.Integer getMajor() {
@@ -98,8 +100,9 @@ public java.lang.Integer getMajor() {
98100
/**
99101
* Major versions: Major changes to methodology (e.g. adding new data sources to the model that
100102
* lead to major output changes). Such changes will be infrequent and announced well in advance.
101-
* Might involve API version changes, which will respect guidelines in
102-
* https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-incompatible
103+
* Might involve API version changes, which will respect [Google Cloud API
104+
* guidelines](https://cloud.google.com/endpoints/docs/openapi/versioning-an-api#backwards-
105+
* incompatible)
103106
* @param major major or {@code null} for none
104107
*/
105108
public ModelVersion setMajor(java.lang.Integer major) {

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@
3131
public final class TypicalFlightEmissions extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Optional. Typical flight emissions per passenger for requested market.
34+
* Optional. Typical flight emissions per passenger for requested market. Will not be present if a
35+
* typical emissions could not be computed. For the list of reasons why typical flight emissions
36+
* could not be computed, see [GitHub](https://github.com/google/travel-impact-
37+
* model/blob/main/projects/typical_flight_emissions.md#step-7-validate-dataset).
3538
* The value may be {@code null}.
3639
*/
3740
@com.google.api.client.util.Key
@@ -45,15 +48,21 @@ public final class TypicalFlightEmissions extends com.google.api.client.json.Gen
4548
private Market market;
4649

4750
/**
48-
* Optional. Typical flight emissions per passenger for requested market.
51+
* Optional. Typical flight emissions per passenger for requested market. Will not be present if a
52+
* typical emissions could not be computed. For the list of reasons why typical flight emissions
53+
* could not be computed, see [GitHub](https://github.com/google/travel-impact-
54+
* model/blob/main/projects/typical_flight_emissions.md#step-7-validate-dataset).
4955
* @return value or {@code null} for none
5056
*/
5157
public EmissionsGramsPerPax getEmissionsGramsPerPax() {
5258
return emissionsGramsPerPax;
5359
}
5460

5561
/**
56-
* Optional. Typical flight emissions per passenger for requested market.
62+
* Optional. Typical flight emissions per passenger for requested market. Will not be present if a
63+
* typical emissions could not be computed. For the list of reasons why typical flight emissions
64+
* could not be computed, see [GitHub](https://github.com/google/travel-impact-
65+
* model/blob/main/projects/typical_flight_emissions.md#step-7-validate-dataset).
5766
* @param emissionsGramsPerPax emissionsGramsPerPax or {@code null} for none
5867
*/
5968
public TypicalFlightEmissions setEmissionsGramsPerPax(EmissionsGramsPerPax emissionsGramsPerPax) {

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-rev20250603-2.0.0</version>
12-
<name>Travel Impact Model API v1-rev20250603-2.0.0</name>
11+
<version>v1-rev20250605-2.0.0</version>
12+
<name>Travel Impact Model API v1-rev20250605-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-rev20250603-2.0.0</version>
25+
<version>v1-rev20250605-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-rev20250603-2.0.0'
38+
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20250605-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)