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
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-travelimpactmodel</artifactId>
<version>v1-rev20260819-2.0.0</version>
<version>v1-rev20261019-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260819-2.0.0'
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20261019-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public final class Scope3FlightEmissions extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private Scope3FlightSegment flight;

/**
* Optional. The model version under which the emissions were computed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ModelVersion modelVersion;

/**
* Optional. The source of the emissions data.
* The value may be {@code null}.
Expand Down Expand Up @@ -84,6 +91,23 @@ public Scope3FlightEmissions setFlight(Scope3FlightSegment flight) {
return this;
}

/**
* Optional. The model version under which the emissions were computed.
* @return value or {@code null} for none
*/
public ModelVersion getModelVersion() {
return modelVersion;
}

/**
* Optional. The model version under which the emissions were computed.
* @param modelVersion modelVersion or {@code null} for none
*/
public Scope3FlightEmissions setModelVersion(ModelVersion modelVersion) {
this.modelVersion = modelVersion;
return this;
}

/**
* Optional. The source of the emissions data.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-travelimpactmodel</artifactId>
<version>v1-rev20260819-2.0.0</version>
<name>Travel Impact Model API v1-rev20260819-2.0.0</name>
<version>v1-rev20261019-2.0.0</version>
<name>Travel Impact Model API v1-rev20261019-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-travelimpactmodel/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-travelimpactmodel</artifactId>
<version>v1-rev20260819-2.0.0</version>
<version>v1-rev20261019-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260819-2.0.0'
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20261019-2.0.0'
}
```

Expand Down
Loading