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-rev20260724-2.0.0</version>
<version>v1-rev20260731-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-rev20260724-2.0.0'
implementation 'com.google.apis:google-api-services-homegraph:v1-rev20260731-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* 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;

/**
* This cluster defines the camera event stream used by GHP for their Cloud-to-Cloud eventing flow
*
* <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 CameraEventStreamTrait extends com.google.api.client.json.GenericJson {

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

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/*
* 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;

/**
* Common camera event 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 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 CommonEventDataStruct extends com.google.api.client.json.GenericJson {

/**
* Contains media urls for the event
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private MediaUrlsStruct mediaUrls;

/**
* Camera event session id. Used for identifying a unique event session
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sessionId;

/**
* Id of the track this object belongs to
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String trackId;

/**
* Contains media urls for the event
* @return value or {@code null} for none
*/
public MediaUrlsStruct getMediaUrls() {
return mediaUrls;
}

/**
* Contains media urls for the event
* @param mediaUrls mediaUrls or {@code null} for none
*/
public CommonEventDataStruct setMediaUrls(MediaUrlsStruct mediaUrls) {
this.mediaUrls = mediaUrls;
return this;
}

/**
* Camera event session id. Used for identifying a unique event session
* @return value or {@code null} for none
*/
public java.lang.String getSessionId() {
return sessionId;
}

/**
* Camera event session id. Used for identifying a unique event session
* @param sessionId sessionId or {@code null} for none
*/
public CommonEventDataStruct setSessionId(java.lang.String sessionId) {
this.sessionId = sessionId;
return this;
}

/**
* Id of the track this object belongs to
* @return value or {@code null} for none
*/
public java.lang.String getTrackId() {
return trackId;
}

/**
* Id of the track this object belongs to
* @param trackId trackId or {@code null} for none
*/
public CommonEventDataStruct setTrackId(java.lang.String trackId) {
this.trackId = trackId;
return this;
}

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

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

}
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;

/**
* Contains metadata about the cause of presence state change attributed to a 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 DeviceBlameStruct extends com.google.api.client.json.GenericJson {

/**
* Required. Specifies the device blame type.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String blameType;

/**
* Required. Specifies the device blame type.
* @return value or {@code null} for none
*/
public java.lang.String getBlameType() {
return blameType;
}

/**
* Required. Specifies the device blame type.
* @param blameType blameType or {@code null} for none
*/
public DeviceBlameStruct setBlameType(java.lang.String blameType) {
this.blameType = blameType;
return this;
}

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

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

}
Loading
Loading