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-rev20260624-2.0.0</version>
<version>v1-rev20260819-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-rev20260624-2.0.0'
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260819-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@

/**
* Information about the provenance of the data used to calculate emissions estimates, including
* contributing factors and their data sources.
* contributing factors and their data sources. In `provenance_entries`, `provenance_entry_type`
* acts as the "key" identifying the contributing factor, and there is always only one entry per
* entry type. The remaining fields in each entry describe that specific entry type and may or may
* not be populated depending on the contributing factor and available data.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Travel Impact Model API. For a detailed explanation
Expand All @@ -32,22 +35,31 @@
public final class EmissionsProvenance extends com.google.api.client.json.GenericJson {

/**
* Output only. All contributing factors used to calculate emissions.
* Output only. All contributing factors used to calculate emissions. Each entry type
* (`provenance_entry_type`) acts as a "key" identifying the factor, with always only one entry
* per entry type. The remaining fields describe that specific factor and may or may not be
* populated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<EmissionsProvenanceEntry> provenanceEntries;

/**
* Output only. All contributing factors used to calculate emissions.
* Output only. All contributing factors used to calculate emissions. Each entry type
* (`provenance_entry_type`) acts as a "key" identifying the factor, with always only one entry
* per entry type. The remaining fields describe that specific factor and may or may not be
* populated.
* @return value or {@code null} for none
*/
public java.util.List<EmissionsProvenanceEntry> getProvenanceEntries() {
return provenanceEntries;
}

/**
* Output only. All contributing factors used to calculate emissions.
* Output only. All contributing factors used to calculate emissions. Each entry type
* (`provenance_entry_type`) acts as a "key" identifying the factor, with always only one entry
* per entry type. The remaining fields describe that specific factor and may or may not be
* populated.
* @param provenanceEntries provenanceEntries or {@code null} for none
*/
public EmissionsProvenance setProvenanceEntries(java.util.List<EmissionsProvenanceEntry> provenanceEntries) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
package com.google.api.services.travelimpactmodel.v1.model;

/**
* Details about a single contributing factor in emissions calculations.
* Details about a single contributing factor in emissions calculations. Each entry represents a
* single factor where `provenance_entry_type` acts as the key identifying the factor, and the other
* fields describe it and may or may not be populated.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Travel Impact Model API. For a detailed explanation
Expand Down Expand Up @@ -97,7 +99,8 @@ public final class EmissionsProvenanceEntry extends com.google.api.client.json.G
private java.lang.String loadFactorsT100Strategy;

/**
* Output only. The type of the provenance entry.
* Output only. The type of the provenance entry. Acts as the "key" identifying the contributing
* factor; the remaining fields in this message describe it and may or may not be populated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -284,15 +287,17 @@ public EmissionsProvenanceEntry setLoadFactorsT100Strategy(java.lang.String load
}

/**
* Output only. The type of the provenance entry.
* Output only. The type of the provenance entry. Acts as the "key" identifying the contributing
* factor; the remaining fields in this message describe it and may or may not be populated.
* @return value or {@code null} for none
*/
public java.lang.String getProvenanceEntryType() {
return provenanceEntryType;
}

/**
* Output only. The type of the provenance entry.
* Output only. The type of the provenance entry. Acts as the "key" identifying the contributing
* factor; the remaining fields in this message describe it and may or may not be populated.
* @param provenanceEntryType provenanceEntryType or {@code null} for none
*/
public EmissionsProvenanceEntry setProvenanceEntryType(java.lang.String provenanceEntryType) {
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-rev20260624-2.0.0</version>
<name>Travel Impact Model API v1-rev20260624-2.0.0</name>
<version>v1-rev20260819-2.0.0</version>
<name>Travel Impact Model API v1-rev20260819-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-rev20260624-2.0.0</version>
<version>v1-rev20260819-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-rev20260624-2.0.0'
implementation 'com.google.apis:google-api-services-travelimpactmodel:v1-rev20260819-2.0.0'
}
```

Expand Down
Loading