event) {
@@ -101,6 +108,23 @@ public EventData setEventTime(String eventTime) {
return this;
}
+ /**
+ * Optional. Contains the dynamic JSON trait event payload.
+ * @return value or {@code null} for none
+ */
+ public JsonTraitEvent getJsonTraitEvent() {
+ return jsonTraitEvent;
+ }
+
+ /**
+ * Optional. Contains the dynamic JSON trait event payload.
+ * @param jsonTraitEvent jsonTraitEvent or {@code null} for none
+ */
+ public EventData setJsonTraitEvent(JsonTraitEvent jsonTraitEvent) {
+ this.jsonTraitEvent = jsonTraitEvent;
+ return this;
+ }
+
@Override
public EventData set(String fieldName, Object value) {
return (EventData) super.set(fieldName, value);
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/Events.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/Events.java
index b7ddc32edd0..670872f9425 100644
--- a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/Events.java
+++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/Events.java
@@ -31,7 +31,7 @@ public final class Events extends com.google.api.client.json.GenericJson {
/**
* Optional. The ID of the provider component if the events are associated with a specific
- * component. Optional for WHDM events, required for UDDM events.
+ * component. Optional for WHDM events, required for UDDM and JSON events.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -52,7 +52,7 @@ public final class Events extends com.google.api.client.json.GenericJson {
/**
* Optional. The ID of the provider component if the events are associated with a specific
- * component. Optional for WHDM events, required for UDDM events.
+ * component. Optional for WHDM events, required for UDDM and JSON events.
* @return value or {@code null} for none
*/
public java.lang.String getComponentId() {
@@ -61,7 +61,7 @@ public java.lang.String getComponentId() {
/**
* Optional. The ID of the provider component if the events are associated with a specific
- * component. Optional for WHDM events, required for UDDM events.
+ * component. Optional for WHDM events, required for UDDM and JSON events.
* @param componentId componentId or {@code null} for none
*/
public Events setComponentId(java.lang.String componentId) {
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/HomeTraitPayload.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/HomeTraitPayload.java
index 47f8376dc0d..ebc1cb7f724 100644
--- a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/HomeTraitPayload.java
+++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/HomeTraitPayload.java
@@ -17,7 +17,7 @@
package com.google.api.services.homegraph.v1.model;
/**
- * Container for UDDM trait data associated with a device.
+ * Container for UDDM or JSON trait data associated with a device.
*
* 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:
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/JsonTraitEvent.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/JsonTraitEvent.java
new file mode 100644
index 00000000000..ebca08246ae
--- /dev/null
+++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/JsonTraitEvent.java
@@ -0,0 +1,93 @@
+/*
+ * 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;
+
+/**
+ * Dynamic JSON event payload conforming to `json_trait_schema.md`.
+ *
+ *
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:
+ * https://developers.google.com/api-client-library/java/google-http-java-client/json
+ *
+ *
+ * @author Google, Inc.
+ */
+@SuppressWarnings("javadoc")
+public final class JsonTraitEvent extends com.google.api.client.json.GenericJson {
+
+ /**
+ * Optional. Event payload fields conforming to the event's registered JSON Schema.
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.util.Map data;
+
+ /**
+ * Required. Fully qualified event ID: `.` (e.g., `matter.doorLock.lockOperation`,
+ * `ghp.acme.warranty.claimUpdated`).
+ * The value may be {@code null}.
+ */
+ @com.google.api.client.util.Key
+ private java.lang.String id;
+
+ /**
+ * Optional. Event payload fields conforming to the event's registered JSON Schema.
+ * @return value or {@code null} for none
+ */
+ public java.util.Map getData() {
+ return data;
+ }
+
+ /**
+ * Optional. Event payload fields conforming to the event's registered JSON Schema.
+ * @param data data or {@code null} for none
+ */
+ public JsonTraitEvent setData(java.util.Map data) {
+ this.data = data;
+ return this;
+ }
+
+ /**
+ * Required. Fully qualified event ID: `.` (e.g., `matter.doorLock.lockOperation`,
+ * `ghp.acme.warranty.claimUpdated`).
+ * @return value or {@code null} for none
+ */
+ public java.lang.String getId() {
+ return id;
+ }
+
+ /**
+ * Required. Fully qualified event ID: `.` (e.g., `matter.doorLock.lockOperation`,
+ * `ghp.acme.warranty.claimUpdated`).
+ * @param id id or {@code null} for none
+ */
+ public JsonTraitEvent setId(java.lang.String id) {
+ this.id = id;
+ return this;
+ }
+
+ @Override
+ public JsonTraitEvent set(String fieldName, Object value) {
+ return (JsonTraitEvent) super.set(fieldName, value);
+ }
+
+ @Override
+ public JsonTraitEvent clone() {
+ return (JsonTraitEvent) super.clone();
+ }
+
+}
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryRequest.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryRequest.java
index cfae423a7fb..301b0272801 100644
--- a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryRequest.java
+++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryRequest.java
@@ -39,7 +39,7 @@ public final class QueryRequest extends com.google.api.client.json.GenericJson {
/**
* Optional. Specifies the type of device data to be returned in the response. This allows callers
* to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If
- * unspecified, defaults to SMART_HOME_TRAIT_ONLY.
+ * unspecified, defaults to `SMART_HOME_TRAIT_ONLY`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -86,7 +86,7 @@ public QueryRequest setAgentUserId(java.lang.String agentUserId) {
/**
* Optional. Specifies the type of device data to be returned in the response. This allows callers
* to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If
- * unspecified, defaults to SMART_HOME_TRAIT_ONLY.
+ * unspecified, defaults to `SMART_HOME_TRAIT_ONLY`.
* @return value or {@code null} for none
*/
public java.lang.String getDeviceView() {
@@ -96,7 +96,7 @@ public java.lang.String getDeviceView() {
/**
* Optional. Specifies the type of device data to be returned in the response. This allows callers
* to request traditional Smart Home traits, Unified Device Data Model (UDDM) traits, or both. If
- * unspecified, defaults to SMART_HOME_TRAIT_ONLY.
+ * unspecified, defaults to `SMART_HOME_TRAIT_ONLY`.
* @param deviceView deviceView or {@code null} for none
*/
public QueryRequest setDeviceView(java.lang.String deviceView) {
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryResponsePayload.java b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryResponsePayload.java
index 51a5ea4a68d..a854e43b66c 100644
--- a/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryResponsePayload.java
+++ b/clients/google-api-services-homegraph/v1/2.0.0/com/google/api/services/homegraph/v1/model/QueryResponsePayload.java
@@ -51,8 +51,9 @@ public final class QueryResponsePayload extends com.google.api.client.json.Gener
private java.util.Map> devices;
/**
- * Map of device IDs to their Unified Device Data Model (UDDM) trait payloads. This field is
- * populated when `device_view` is set to HOME_TRAIT_ONLY or HOME_TRAIT_AND_SMART_HOME_TRAIT.
+ * Map of device IDs to their Unified Device Data Model (UDDM) or JSON trait payloads. This field
+ * is populated when `device_view` is set to `HOME_TRAIT_ONLY`, `HOME_TRAIT_AND_SMART_HOME_TRAIT`,
+ * or `JSON_TRAIT_ONLY`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -101,8 +102,9 @@ public QueryResponsePayload setDevices(java.util.Map getHomeTraitPayload() {
@@ -110,8 +112,9 @@ public java.util.Map getHomeTraitPayload() {
}
/**
- * Map of device IDs to their Unified Device Data Model (UDDM) trait payloads. This field is
- * populated when `device_view` is set to HOME_TRAIT_ONLY or HOME_TRAIT_AND_SMART_HOME_TRAIT.
+ * Map of device IDs to their Unified Device Data Model (UDDM) or JSON trait payloads. This field
+ * is populated when `device_view` is set to `HOME_TRAIT_ONLY`, `HOME_TRAIT_AND_SMART_HOME_TRAIT`,
+ * or `JSON_TRAIT_ONLY`.
* @param homeTraitPayload homeTraitPayload or {@code null} for none
*/
public QueryResponsePayload setHomeTraitPayload(java.util.Map homeTraitPayload) {
diff --git a/clients/google-api-services-homegraph/v1/2.0.0/pom.xml b/clients/google-api-services-homegraph/v1/2.0.0/pom.xml
index 1fd8b388432..0ca742e82b8 100644
--- a/clients/google-api-services-homegraph/v1/2.0.0/pom.xml
+++ b/clients/google-api-services-homegraph/v1/2.0.0/pom.xml
@@ -8,8 +8,8 @@
com.google.apis
google-api-services-homegraph
- v1-rev20261020-2.9.2
- HomeGraph API v1-rev20261020-2.9.2
+ v1-rev20261023-2.9.2
+ HomeGraph API v1-rev20261023-2.9.2
jar
2011
diff --git a/clients/google-api-services-homegraph/v1/README.md b/clients/google-api-services-homegraph/v1/README.md
index 5af89dad4ad..96015b9da4e 100644
--- a/clients/google-api-services-homegraph/v1/README.md
+++ b/clients/google-api-services-homegraph/v1/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
com.google.apis
google-api-services-homegraph
- v1-rev20261020-2.9.2
+ v1-rev20261023-2.9.2
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-homegraph:v1-rev20261020-2.9.2'
+ implementation 'com.google.apis:google-api-services-homegraph:v1-rev20261023-2.9.2'
}
```