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: 2 additions & 2 deletions clients/google-api-services-homegraph/v1/2.0.0/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-homegraph</artifactId>
<version>v1-rev20260714-2.0.0</version>
<version>v1-rev20260724-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-homegraph:v1-rev20260714-2.0.0'
implementation 'com.google.apis:google-api-services-homegraph:v1-rev20260724-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,40 @@
@SuppressWarnings("javadoc")
public final class ReportStateAndNotificationResponse extends com.google.api.client.json.GenericJson {

/**
* Map from agent device ID to the result of reporting state and notifications. This is only
* populated for UDDM updates for now.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, Result> deviceResults;

/**
* Request ID copied from ReportStateAndNotificationRequest.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String requestId;

/**
* Map from agent device ID to the result of reporting state and notifications. This is only
* populated for UDDM updates for now.
* @return value or {@code null} for none
*/
public java.util.Map<String, Result> getDeviceResults() {
return deviceResults;
}

/**
* Map from agent device ID to the result of reporting state and notifications. This is only
* populated for UDDM updates for now.
* @param deviceResults deviceResults or {@code null} for none
*/
public ReportStateAndNotificationResponse setDeviceResults(java.util.Map<String, Result> deviceResults) {
this.deviceResults = deviceResults;
return this;
}

/**
* Request ID copied from ReportStateAndNotificationRequest.
* @return value or {@code null} for none
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.homegraph.v1.model;

/**
* Result of reporting state and notifications for a single device.
*
* <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 HomeGraph API. For a detailed explanation see:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Result extends com.google.api.client.json.GenericJson {

/**
* The trait commit timestamp of the state update in Home Graph.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String homeTraitCommitTime;

/**
* The trait commit timestamp of the state update in Home Graph.
* @return value or {@code null} for none
*/
public String getHomeTraitCommitTime() {
return homeTraitCommitTime;
}

/**
* The trait commit timestamp of the state update in Home Graph.
* @param homeTraitCommitTime homeTraitCommitTime or {@code null} for none
*/
public Result setHomeTraitCommitTime(String homeTraitCommitTime) {
this.homeTraitCommitTime = homeTraitCommitTime;
return this;
}

@Override
public Result set(String fieldName, Object value) {
return (Result) super.set(fieldName, value);
}

@Override
public Result clone() {
return (Result) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-homegraph/v1/2.0.0/pom.xml
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-homegraph</artifactId>
<version>v1-rev20260714-2.0.0</version>
<name>HomeGraph API v1-rev20260714-2.0.0</name>
<version>v1-rev20260724-2.0.0</version>
<name>HomeGraph API v1-rev20260724-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-homegraph/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-homegraph</artifactId>
<version>v1-rev20260714-2.0.0</version>
<version>v1-rev20260724-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-homegraph:v1-rev20260714-2.0.0'
implementation 'com.google.apis:google-api-services-homegraph:v1-rev20260724-2.0.0'
}
```

Expand Down
Loading