Skip to content

Commit bda409c

Browse files
Regenerate homegraph client (googleapis#7723)
This PR was generated using Autosynth. 🌈 <details><summary>Log from Synthtool</summary> ``` 2021-04-08 03:51:30,749 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-java-client-services/synth.py. On branch autosynth-homegraph nothing to commit, working tree clean 2021-04-08 03:51:31,190 synthtool [DEBUG] > Cloning https://github.com/googleapis/discovery-artifact-manager.git. DEBUG:synthtool:Cloning https://github.com/googleapis/discovery-artifact-manager.git. 2021-04-08 03:51:31,605 synthtool [DEBUG] > Cleaning output directory. DEBUG:synthtool:Cleaning output directory. 2021-04-08 03:51:31,607 synthtool [DEBUG] > Installing dependencies. DEBUG:synthtool:Installing dependencies. 2021-04-08 03:51:33,340 synthtool [INFO] > Generating homegraph v1. INFO:synthtool:Generating homegraph v1. 2021-04-08 03:51:33,340 synthtool [INFO] > 1.31.0 INFO:synthtool: 1.31.0 WARNING:root:object without properties Empty: OrderedDict([(u'type', u'object'), (u'description', u'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.'), (u'properties', OrderedDict()), (u'id', u'Empty')]) WARNING:root:object without properties RequestSyncDevicesResponse: OrderedDict([(u'id', u'RequestSyncDevicesResponse'), (u'type', u'object'), (u'properties', OrderedDict()), (u'description', u'Response type for the [`RequestSyncDevices`](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) call. Intentionally empty upon success. An HTTP response code is returned with more details upon failure.')]) Writing json metadata to clients/google-api-services-homegraph/v1.metadata.json 2021-04-08 03:51:33,911 synthtool [DEBUG] > Wrote metadata to clients/google-api-services-homegraph/synth.metadata. DEBUG:synthtool:Wrote metadata to clients/google-api-services-homegraph/synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/39180f8b-fa3f-46df-80b2-3c951da31206/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
1 parent 4906e9b commit bda409c

File tree

6 files changed

+8
-59
lines changed

6 files changed

+8
-59
lines changed

clients/google-api-services-homegraph/v1.metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"maven": {
33
"groupId": "com.google.apis",
44
"artifactId": "google-api-services-homegraph",
5-
"version": "v1-rev20210318-1.31.0"
5+
"version": "v1-rev20210402-1.31.0"
66
}
77
}

clients/google-api-services-homegraph/v1/1.31.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-homegraph</artifactId>
25-
<version>v1-rev20210318-1.31.0</version>
25+
<version>v1-rev20210402-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-homegraph:v1-rev20210318-1.31.0'
38+
compile 'com.google.apis:google-api-services-homegraph:v1-rev20210402-1.31.0'
3939
}
4040
```
4141

clients/google-api-services-homegraph/v1/1.31.0/com/google/api/services/homegraph/v1/model/Device.java

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,6 @@ public final class Device extends com.google.api.client.json.GenericJson {
6868
@com.google.api.client.util.Key
6969
private DeviceNames name;
7070

71-
/**
72-
* See description for "traits". For Smart Home Entertainment Devices (SHED) devices, some traits
73-
* can only be executed on 3P cloud, e.g. "non_local_traits": [ { "trait":
74-
* "action.devices.traits.MediaInitiation" }, { "trait": "action.devices.traits.Channel" } ] go
75-
* /shed-per-trait-routing.
76-
* The value may be {@code null}.
77-
*/
78-
@com.google.api.client.util.Key
79-
private java.util.List<NonLocalTrait> nonLocalTraits;
80-
8171
/**
8272
* Indicates whether your smart home Action will report notifications to Google for this device
8373
* via ReportStateAndNotification. If your smart home Action enables users to control device
@@ -235,29 +225,6 @@ public Device setName(DeviceNames name) {
235225
return this;
236226
}
237227

238-
/**
239-
* See description for "traits". For Smart Home Entertainment Devices (SHED) devices, some traits
240-
* can only be executed on 3P cloud, e.g. "non_local_traits": [ { "trait":
241-
* "action.devices.traits.MediaInitiation" }, { "trait": "action.devices.traits.Channel" } ] go
242-
* /shed-per-trait-routing.
243-
* @return value or {@code null} for none
244-
*/
245-
public java.util.List<NonLocalTrait> getNonLocalTraits() {
246-
return nonLocalTraits;
247-
}
248-
249-
/**
250-
* See description for "traits". For Smart Home Entertainment Devices (SHED) devices, some traits
251-
* can only be executed on 3P cloud, e.g. "non_local_traits": [ { "trait":
252-
* "action.devices.traits.MediaInitiation" }, { "trait": "action.devices.traits.Channel" } ] go
253-
* /shed-per-trait-routing.
254-
* @param nonLocalTraits nonLocalTraits or {@code null} for none
255-
*/
256-
public Device setNonLocalTraits(java.util.List<NonLocalTrait> nonLocalTraits) {
257-
this.nonLocalTraits = nonLocalTraits;
258-
return this;
259-
}
260-
261228
/**
262229
* Indicates whether your smart home Action will report notifications to Google for this device
263230
* via ReportStateAndNotification. If your smart home Action enables users to control device

clients/google-api-services-homegraph/v1/1.31.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-homegraph</artifactId>
11-
<version>v1-rev20210318-1.31.0</version>
12-
<name>HomeGraph API v1-rev20210318-1.31.0</name>
11+
<version>v1-rev20210402-1.31.0</version>
12+
<name>HomeGraph API v1-rev20210402-1.31.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-homegraph/v1/1.31.0/resources/homegraph.v1.json

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
}
217217
}
218218
},
219-
"revision": "20210318",
219+
"revision": "20210402",
220220
"rootUrl": "https://homegraph.googleapis.com/",
221221
"schemas": {
222222
"AgentDeviceId": {
@@ -277,13 +277,6 @@
277277
"$ref": "DeviceNames",
278278
"description": "Names given to this device by your smart home Action."
279279
},
280-
"nonLocalTraits": {
281-
"description": "See description for \"traits\". For Smart Home Entertainment Devices (SHED) devices, some traits can only be executed on 3P cloud, e.g. \"non_local_traits\": [ { \"trait\": \"action.devices.traits.MediaInitiation\" }, { \"trait\": \"action.devices.traits.Channel\" } ] go/shed-per-trait-routing.",
282-
"items": {
283-
"$ref": "NonLocalTrait"
284-
},
285-
"type": "array"
286-
},
287280
"notificationSupportedByAgent": {
288281
"description": "Indicates whether your smart home Action will report notifications to Google for this device via ReportStateAndNotification. If your smart home Action enables users to control device notifications, you should update this field and call RequestSyncDevices.",
289282
"type": "boolean"
@@ -375,17 +368,6 @@
375368
"properties": {},
376369
"type": "object"
377370
},
378-
"NonLocalTrait": {
379-
"description": "LINT.IfChange go/shed-per-trait-routing. Making it object to allow for extendible design, where we can add attributes in future.",
380-
"id": "NonLocalTrait",
381-
"properties": {
382-
"trait": {
383-
"description": "Trait name, e.g., \"action.devices.traits.MediaInitiation\". See [device traits](https://developers.google.com/assistant/smarthome/traits).",
384-
"type": "string"
385-
}
386-
},
387-
"type": "object"
388-
},
389371
"QueryRequest": {
390372
"description": "Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.",
391373
"id": "QueryRequest",

clients/google-api-services-homegraph/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-homegraph</artifactId>
25-
<version>v1-rev20210318-1.31.0</version>
25+
<version>v1-rev20210402-1.31.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
compile 'com.google.apis:google-api-services-homegraph:v1-rev20210318-1.31.0'
38+
compile 'com.google.apis:google-api-services-homegraph:v1-rev20210402-1.31.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)