chore: Update discovery artifacts (#1208)
## Discovery Artifact Change Summary:
admindirectory_v1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/3fc3b7614d5df2917e6285a1d4834cbcffd7c665)
adminreports_v1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/3fc3b7614d5df2917e6285a1d4834cbcffd7c665)
admobv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a2400d9c226a479be6532e1e2822efecc72b87c5)
admobv1beta[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a2400d9c226a479be6532e1e2822efecc72b87c5)
analyticsv3[ [More details]](https://github.com/googleapis/google-api-python-client/commit/61136a15f60ec8deedca3f31a575865c3a28e49b)
analyticsreportingv4[ [More details]](https://github.com/googleapis/google-api-python-client/commit/03ee301449791d11cb7653d9a6431418304e5fbe)
androidenterprisev1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/09a9ddc212d0062fcac494136a4fc21015cfa527)
assuredworkloadsv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a7b9f4cadc1168ec764f0839027d17a9a474a9ed)
bigquerydatatransferv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/52de288372258c6c926f646e8b77ced31245f705)
classroomv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/ec6203468fc483eec6a65c9464443f2d1a0b79c0)
cloudassetv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/0e739c196ee75a225348798e2eb29b1ba599841a)
cloudassetv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/0e739c196ee75a225348798e2eb29b1ba599841a)
cloudassetv1p1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/0e739c196ee75a225348798e2eb29b1ba599841a)
cloudassetv1p4beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/0e739c196ee75a225348798e2eb29b1ba599841a)
cloudassetv1p5beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/0e739c196ee75a225348798e2eb29b1ba599841a)
cloudassetv1p7beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/0e739c196ee75a225348798e2eb29b1ba599841a)
clouderrorreportingv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/aee2d1da567892798889b6231852bfb48a749de1)
cloudiotv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/c1635fdcd108c85ca6be0901ecb9f7f7468b7e3d)
cloudsearchv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/3ee9ab15d37a6c933d8b48eda9fec8125309040a)
cloudshellv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/e10759569feb88aa1a02472719a21f7beaa8a349)
containerv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/47958636b0fa68d9c23bacd765b90954293c7551)
datalabelingv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/ad487d5fd8455823ed044dd6567d1e1a85729755)
dfareportingv3.3[ [More details]](https://github.com/googleapis/google-api-python-client/commit/fc38ed0d8aabe80a003866059d59f03b67c9de9f)
dfareportingv3.4[ [More details]](https://github.com/googleapis/google-api-python-client/commit/fc38ed0d8aabe80a003866059d59f03b67c9de9f)
docsv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/c6dcde43ee5c4bf53fcbbdbc52a88b73b9c45e2d)
domainsv1alpha2[ [More details]](https://github.com/googleapis/google-api-python-client/commit/92b5958ee1e954019be6582e7ce80703ff91f17d)
domainsv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/92b5958ee1e954019be6582e7ce80703ff91f17d)
doubleclickbidmanagerv1.1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/2cf24fd0a733a07b55ad481165e9635b4e7bf9a3)
drivev2[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a060399fea6a34ed6982db0186345eac27eedadd)
drivev3[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a060399fea6a34ed6982db0186345eac27eedadd)
fcmv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/348a8bc10b44abe8e994b1619bee5e2333074411)
firebasehostingv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/15eb02bb44876ab6873539c206c064bd08e6684c)
fitnessv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/b40a9bb9c0f0c18c4839f58ecbe5f85c84053259)
gmailv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/6a77c586893584132d964293e1be34356d5fbfcb)
groupssettingsv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/bbbcfde0767f9dff176b9dce7432b4d7f2bc739e)
homegraphv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a867202c70cd9e7ee711ae13e43b8c5ce3f4cdbf)
indexnan[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a867202c70cd9e7ee711ae13e43b8c5ce3f4cdbf)
loggingv2[ [More details]](https://github.com/googleapis/google-api-python-client/commit/8fcbde03c7790ced3dbcba11e05bea7a8f451ac4)
peoplev1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/6e4c87a393b295e72ec11a5b1e752e2c139685df)
recommendationenginev1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/e6ace9e4dfbe429016788fd3a4a32de8f359a2d1)
recommenderv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/c340d3f0d43cb250159fda91a0f884c06aa19346)
recommenderv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/c340d3f0d43cb250159fda91a0f884c06aa19346)
redisv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/f0d31fe127c3bcac9285457ff6510a6d9b4d7025)
redisv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/f0d31fe127c3bcac9285457ff6510a6d9b4d7025)
scriptv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/d235c949a32d1ce099cc6f1f161dc4930949bd80)
servicedirectoryv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/b8e06d2e15229e868b698cb4a296f3202f84bf24)
servicemanagementv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/eb37d585a103ca332e3af48a0f46c1408e805863)
smartdevicemanagementv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/67bfa0e50eb1a761222f3d424e662043b0a29171)
streetviewpublishv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/5825e78ab4c5b3a0bbfc85fa332e4962096fdb55)
tasksv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/dcd228af6573a3163da3cfaca9c0cb6cd679d282)
texttospeechv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/43220b5cd401440812e76821e6cbd5c3099659cd)
texttospeechv1beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/43220b5cd401440812e76821e6cbd5c3099659cd)
trafficdirectorv2[ [More details]](https://github.com/googleapis/google-api-python-client/commit/4141254d0c9f8627a35a5be19f23f673fc619164)
translatev3[ [More details]](https://github.com/googleapis/google-api-python-client/commit/b0bec6c2662ed00b6e80c5fd361fadf396f4e00c)
translatev3beta1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/b0bec6c2662ed00b6e80c5fd361fadf396f4e00c)
vaultv1[ [More details]](https://github.com/googleapis/google-api-python-client/commit/f946ac2b3cfa3f8566ceea85110b919a7d974352)
workflowsv1beta[ [More details]](https://github.com/googleapis/google-api-python-client/commit/a4ff4fcf07923786768354ab7f5cdef28ba3e29f)
diff --git a/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json b/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
index 06188ce..c3bd4e9 100644
--- a/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
@@ -1,533 +1,533 @@
{
- "rootUrl": "https://smartdevicemanagement.googleapis.com/",
- "icons": {
- "x32": "http://www.google.com/images/icons/product/search-32.gif",
- "x16": "http://www.google.com/images/icons/product/search-16.gif"
- },
- "discoveryVersion": "v1",
- "resources": {
- "enterprises": {
- "resources": {
- "devices": {
- "methods": {
- "get": {
- "httpMethod": "GET",
- "path": "v1/{+name}",
- "parameterOrder": [
- "name"
- ],
- "description": "Gets a device managed by the enterprise.",
- "flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}",
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1Device"
- },
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ],
- "parameters": {
- "name": {
- "pattern": "^enterprises/[^/]+/devices/[^/]+$",
- "required": true,
- "description": "The name of the device requested. For example: \"enterprises/XYZ/devices/123\"",
- "location": "path",
- "type": "string"
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/sdm.service": {
+ "description": "See and/or control the devices that you selected"
}
- },
- "id": "smartdevicemanagement.enterprises.devices.get"
- },
- "list": {
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1ListDevicesResponse"
- },
- "httpMethod": "GET",
- "id": "smartdevicemanagement.enterprises.devices.list",
- "parameters": {
- "filter": {
- "type": "string",
- "description": "Optional filter to list devices. Filters can be done on: Device custom name (substring match): 'customName=wing'",
- "location": "query"
+ }
+ }
+ },
+ "basePath": "",
+ "baseUrl": "https://smartdevicemanagement.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Smart Device Management",
+ "description": "Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/nest/device-access",
+ "fullyEncodeReservedExpansion": true,
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "smartdevicemanagement:v1",
+ "kind": "discovery#restDescription",
+ "mtlsRootUrl": "https://smartdevicemanagement.mtls.googleapis.com/",
+ "name": "smartdevicemanagement",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json",
+ "Media download with context-dependent Content-Type",
+ "Responses with Content-Type of application/x-protobuf"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "enterprises": {
+ "resources": {
+ "devices": {
+ "methods": {
+ "executeCommand": {
+ "description": "Executes a command to device managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}:executeCommand",
+ "httpMethod": "POST",
+ "id": "smartdevicemanagement.enterprises.devices.executeCommand",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the device requested. For example: \"enterprises/XYZ/devices/123\"",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+/devices/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:executeCommand",
+ "request": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest"
+ },
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ },
+ "get": {
+ "description": "Gets a device managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}",
+ "httpMethod": "GET",
+ "id": "smartdevicemanagement.enterprises.devices.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the device requested. For example: \"enterprises/XYZ/devices/123\"",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+/devices/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1Device"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ },
+ "list": {
+ "description": "Lists devices managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/devices",
+ "httpMethod": "GET",
+ "id": "smartdevicemanagement.enterprises.devices.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "Optional filter to list devices. Filters can be done on: Device custom name (substring match): 'customName=wing'",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Optional requested page size. Server may return fewer devices than requested. If unspecified, server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "Optional token of the page to retrieve.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The parent enterprise to list devices under. E.g. \"enterprises/XYZ\".",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/devices",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ListDevicesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ }
+ }
},
- "pageToken": {
- "type": "string",
- "description": "Optional token of the page to retrieve.",
- "location": "query"
+ "structures": {
+ "methods": {
+ "get": {
+ "description": "Gets a structure managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}",
+ "httpMethod": "GET",
+ "id": "smartdevicemanagement.enterprises.structures.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the structure requested. For example: \"enterprises/XYZ/structures/ABC\".",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+/structures/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1Structure"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ },
+ "list": {
+ "description": "Lists structures managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/structures",
+ "httpMethod": "GET",
+ "id": "smartdevicemanagement.enterprises.structures.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "Optional filter to list structures.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer structures than requested. If unspecified, server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The token of the page to retrieve.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The parent enterprise to list structures under. E.g. \"enterprises/XYZ\".",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/structures",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ListStructuresResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ }
+ },
+ "resources": {
+ "rooms": {
+ "methods": {
+ "get": {
+ "description": "Gets a room managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms/{roomsId}",
+ "httpMethod": "GET",
+ "id": "smartdevicemanagement.enterprises.structures.rooms.get",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name of the room requested. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+/structures/[^/]+/rooms/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1Room"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ },
+ "list": {
+ "description": "Lists rooms managed by the enterprise.",
+ "flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms",
+ "httpMethod": "GET",
+ "id": "smartdevicemanagement.enterprises.structures.rooms.list",
+ "parameterOrder": [
+ "parent"
+ ],
+ "parameters": {
+ "pageSize": {
+ "description": "Requested page size. Server may return fewer rooms than requested. If unspecified, server will pick an appropriate default.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "pageToken": {
+ "description": "The token of the page to retrieve.",
+ "location": "query",
+ "type": "string"
+ },
+ "parent": {
+ "description": "The parent resource name of the rooms requested. For example: \"enterprises/XYZ/structures/ABC\".",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+/structures/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+parent}/rooms",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ListRoomsResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20210213",
+ "rootUrl": "https://smartdevicemanagement.googleapis.com/",
+ "schemas": {
+ "GoogleHomeEnterpriseSdmV1Device": {
+ "description": "Device resource represents an instance of enterprise managed device in the property.",
+ "id": "GoogleHomeEnterpriseSdmV1Device",
+ "properties": {
+ "name": {
+ "description": "Required. The resource name of the device. For example: \"enterprises/XYZ/devices/123\".",
+ "type": "string"
+ },
+ "parentRelations": {
+ "description": "Assignee details of the device.",
+ "items": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ParentRelation"
+ },
+ "type": "array"
+ },
+ "traits": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Output only. Device traits.",
+ "readOnly": true,
+ "type": "object"
+ },
+ "type": {
+ "description": "Output only. Type of the device for general display purposes. For example: \"THERMOSTAT\". The device type should not be used to deduce or infer functionality of the actual device it is assigned to. Instead, use the returned traits for the device.",
+ "readOnly": true,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest": {
+ "description": "Request message for SmartDeviceManagementService.ExecuteDeviceCommand",
+ "id": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest",
+ "properties": {
+ "command": {
+ "description": "The command name to execute, represented by the fully qualified protobuf message name.",
+ "type": "string"
+ },
+ "params": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The command message to execute, represented as a Struct.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse": {
+ "description": "Response message for SmartDeviceManagementService.ExecuteDeviceCommand",
+ "id": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse",
+ "properties": {
+ "results": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "The results of executing the command.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1ListDevicesResponse": {
+ "description": "Response message for SmartDeviceManagementService.ListDevices",
+ "id": "GoogleHomeEnterpriseSdmV1ListDevicesResponse",
+ "properties": {
+ "devices": {
+ "description": "The list of devices.",
+ "items": {
+ "$ref": "GoogleHomeEnterpriseSdmV1Device"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "The pagination token to retrieve the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1ListRoomsResponse": {
+ "description": "Response message for SmartDeviceManagementService.ListRooms",
+ "id": "GoogleHomeEnterpriseSdmV1ListRoomsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages.",
+ "type": "string"
+ },
+ "rooms": {
+ "description": "The list of rooms.",
+ "items": {
+ "$ref": "GoogleHomeEnterpriseSdmV1Room"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1ListStructuresResponse": {
+ "description": "Response message for SmartDeviceManagementService.ListStructures",
+ "id": "GoogleHomeEnterpriseSdmV1ListStructuresResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages.",
+ "type": "string"
+ },
+ "structures": {
+ "description": "The list of structures.",
+ "items": {
+ "$ref": "GoogleHomeEnterpriseSdmV1Structure"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1ParentRelation": {
+ "description": "Represents device relationships, for instance, structure/room to which the device is assigned to.",
+ "id": "GoogleHomeEnterpriseSdmV1ParentRelation",
+ "properties": {
+ "displayName": {
+ "description": "Output only. The custom name of the relation -- e.g., structure/room where the device is assigned to.",
+ "readOnly": true,
+ "type": "string"
},
"parent": {
- "required": true,
- "pattern": "^enterprises/[^/]+$",
- "description": "The parent enterprise to list devices under. E.g. \"enterprises/XYZ\".",
- "location": "path",
- "type": "string"
- },
- "pageSize": {
- "description": "Optional requested page size. Server may return fewer devices than requested. If unspecified, server will pick an appropriate default.",
- "location": "query",
- "type": "integer",
- "format": "int32"
+ "description": "Output only. The name of the relation -- e.g., structure/room where the device is assigned to. For example: \"enterprises/XYZ/structures/ABC\" or \"enterprises/XYZ/structures/ABC/rooms/123\"",
+ "readOnly": true,
+ "type": "string"
}
- },
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ],
- "flatPath": "v1/enterprises/{enterprisesId}/devices",
- "parameterOrder": [
- "parent"
- ],
- "path": "v1/{+parent}/devices",
- "description": "Lists devices managed by the enterprise."
},
- "executeCommand": {
- "parameters": {
- "name": {
- "required": true,
- "pattern": "^enterprises/[^/]+/devices/[^/]+$",
- "description": "The name of the device requested. For example: \"enterprises/XYZ/devices/123\"",
- "type": "string",
- "location": "path"
- }
- },
- "id": "smartdevicemanagement.enterprises.devices.executeCommand",
- "path": "v1/{+name}:executeCommand",
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ],
- "flatPath": "v1/enterprises/{enterprisesId}/devices/{devicesId}:executeCommand",
- "description": "Executes a command to device managed by the enterprise.",
- "httpMethod": "POST",
- "request": {
- "$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest"
- },
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse"
- },
- "parameterOrder": [
- "name"
- ]
- }
- }
+ "type": "object"
},
- "structures": {
- "methods": {
- "list": {
- "httpMethod": "GET",
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1ListStructuresResponse"
- },
- "parameters": {
- "filter": {
- "description": "Optional filter to list structures.",
- "type": "string",
- "location": "query"
+ "GoogleHomeEnterpriseSdmV1Room": {
+ "description": "Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment.",
+ "id": "GoogleHomeEnterpriseSdmV1Room",
+ "properties": {
+ "name": {
+ "description": "Output only. The resource name of the room. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".",
+ "readOnly": true,
+ "type": "string"
},
- "parent": {
- "description": "The parent enterprise to list structures under. E.g. \"enterprises/XYZ\".",
- "location": "path",
- "pattern": "^enterprises/[^/]+$",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "type": "string",
- "description": "The token of the page to retrieve.",
- "location": "query"
- },
- "pageSize": {
- "description": "Requested page size. Server may return fewer structures than requested. If unspecified, server will pick an appropriate default.",
- "format": "int32",
- "type": "integer",
- "location": "query"
+ "traits": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Room traits.",
+ "type": "object"
}
- },
- "description": "Lists structures managed by the enterprise.",
- "parameterOrder": [
- "parent"
- ],
- "flatPath": "v1/enterprises/{enterprisesId}/structures",
- "path": "v1/{+parent}/structures",
- "id": "smartdevicemanagement.enterprises.structures.list",
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ]
},
- "get": {
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1Structure"
- },
- "id": "smartdevicemanagement.enterprises.structures.get",
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ],
- "parameters": {
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1Structure": {
+ "description": "Structure resource represents an instance of enterprise managed home or hotel room.",
+ "id": "GoogleHomeEnterpriseSdmV1Structure",
+ "properties": {
"name": {
- "required": true,
- "pattern": "^enterprises/[^/]+/structures/[^/]+$",
- "description": "The name of the structure requested. For example: \"enterprises/XYZ/structures/ABC\".",
- "type": "string",
- "location": "path"
- }
- },
- "parameterOrder": [
- "name"
- ],
- "httpMethod": "GET",
- "description": "Gets a structure managed by the enterprise.",
- "flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}",
- "path": "v1/{+name}"
- }
- },
- "resources": {
- "rooms": {
- "methods": {
- "list": {
- "parameterOrder": [
- "parent"
- ],
- "httpMethod": "GET",
- "flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms",
- "id": "smartdevicemanagement.enterprises.structures.rooms.list",
- "description": "Lists rooms managed by the enterprise.",
- "path": "v1/{+parent}/rooms",
- "parameters": {
- "pageToken": {
- "type": "string",
- "location": "query",
- "description": "The token of the page to retrieve."
- },
- "pageSize": {
- "location": "query",
- "format": "int32",
- "type": "integer",
- "description": "Requested page size. Server may return fewer rooms than requested. If unspecified, server will pick an appropriate default."
- },
- "parent": {
- "pattern": "^enterprises/[^/]+/structures/[^/]+$",
- "type": "string",
- "description": "The parent resource name of the rooms requested. For example: \"enterprises/XYZ/structures/ABC\".",
- "location": "path",
- "required": true
- }
- },
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ],
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1ListRoomsResponse"
- }
+ "description": "Output only. The resource name of the structure. For example: \"enterprises/XYZ/structures/ABC\".",
+ "readOnly": true,
+ "type": "string"
},
- "get": {
- "parameters": {
- "name": {
- "required": true,
- "location": "path",
- "pattern": "^enterprises/[^/]+/structures/[^/]+/rooms/[^/]+$",
- "description": "The name of the room requested. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".",
- "type": "string"
- }
- },
- "scopes": [
- "https://www.googleapis.com/auth/sdm.service"
- ],
- "flatPath": "v1/enterprises/{enterprisesId}/structures/{structuresId}/rooms/{roomsId}",
- "response": {
- "$ref": "GoogleHomeEnterpriseSdmV1Room"
- },
- "id": "smartdevicemanagement.enterprises.structures.rooms.get",
- "path": "v1/{+name}",
- "description": "Gets a room managed by the enterprise.",
- "httpMethod": "GET",
- "parameterOrder": [
- "name"
- ]
+ "traits": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Structure traits.",
+ "type": "object"
}
- }
- }
- }
+ },
+ "type": "object"
}
- }
- }
- },
- "batchPath": "batch",
- "mtlsRootUrl": "https://smartdevicemanagement.mtls.googleapis.com/",
- "auth": {
- "oauth2": {
- "scopes": {
- "https://www.googleapis.com/auth/sdm.service": {
- "description": "See and/or control the devices that you selected"
- }
- }
- }
- },
- "version": "v1",
- "documentationLink": "https://developers.google.com/nest/device-access",
- "basePath": "",
- "ownerDomain": "google.com",
- "name": "smartdevicemanagement",
- "baseUrl": "https://smartdevicemanagement.googleapis.com/",
- "schemas": {
- "GoogleHomeEnterpriseSdmV1ParentRelation": {
- "description": "Represents device relationships, for instance, structure/room to which the device is assigned to. For now this is only filled in the enterprise flow.",
- "properties": {
- "displayName": {
- "readOnly": true,
- "description": "Output only. The custom name of the relation -- e.g., structure/room where the device is assigned to.",
- "type": "string"
- },
- "parent": {
- "readOnly": true,
- "type": "string",
- "description": "Output only. The name of the relation -- e.g., structure/room where the device is assigned to. For example: \"enterprises/XYZ/structures/ABC\" or \"enterprises/XYZ/structures/ABC/rooms/123\""
- }
- },
- "type": "object",
- "id": "GoogleHomeEnterpriseSdmV1ParentRelation"
},
- "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse": {
- "type": "object",
- "id": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandResponse",
- "properties": {
- "results": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "type": "object",
- "description": "The results of executing the command."
- }
- },
- "description": "Response message for SmartDeviceManagementService.ExecuteDeviceCommand"
- },
- "GoogleHomeEnterpriseSdmV1Device": {
- "id": "GoogleHomeEnterpriseSdmV1Device",
- "type": "object",
- "properties": {
- "traits": {
- "additionalProperties": {
- "type": "any",
- "description": "Properties of the object."
- },
- "type": "object",
- "description": "Output only. Device traits.",
- "readOnly": true
- },
- "name": {
- "description": "Required. The resource name of the device. For example: \"enterprises/XYZ/devices/123\".",
- "type": "string"
- },
- "type": {
- "type": "string",
- "description": "Output only. Type of the device for general display purposes. For example: \"THERMOSTAT\". The device type should not be used to deduce or infer functionality of the actual device it is assigned to. Instead, use the returned traits for the device.",
- "readOnly": true
- },
- "parentRelations": {
- "type": "array",
- "description": "Assignee details of the device.",
- "items": {
- "$ref": "GoogleHomeEnterpriseSdmV1ParentRelation"
- }
- }
- },
- "description": "Device resource represents an instance of enterprise managed device in the property."
- },
- "GoogleHomeEnterpriseSdmV1Structure": {
- "id": "GoogleHomeEnterpriseSdmV1Structure",
- "properties": {
- "name": {
- "readOnly": true,
- "description": "Output only. The resource name of the structure. For example: \"enterprises/XYZ/structures/ABC\".",
- "type": "string"
- },
- "traits": {
- "type": "object",
- "description": "Structure traits.",
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- }
- }
- },
- "description": "Structure resource represents an instance of enterprise managed home or hotel room.",
- "type": "object"
- },
- "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest": {
- "type": "object",
- "id": "GoogleHomeEnterpriseSdmV1ExecuteDeviceCommandRequest",
- "properties": {
- "params": {
- "additionalProperties": {
- "type": "any",
- "description": "Properties of the object."
- },
- "description": "The command message to execute, represented as a Struct.",
- "type": "object"
- },
- "command": {
- "description": "The command name to execute, represented by the fully qualified protobuf message name.",
- "type": "string"
- }
- },
- "description": "Request message for SmartDeviceManagementService.ExecuteDeviceCommand"
- },
- "GoogleHomeEnterpriseSdmV1ListDevicesResponse": {
- "id": "GoogleHomeEnterpriseSdmV1ListDevicesResponse",
- "properties": {
- "devices": {
- "type": "array",
- "description": "The list of devices.",
- "items": {
- "$ref": "GoogleHomeEnterpriseSdmV1Device"
- }
- },
- "nextPageToken": {
- "type": "string",
- "description": "The pagination token to retrieve the next page of results."
- }
- },
- "type": "object",
- "description": "Response message for SmartDeviceManagementService.ListDevices"
- },
- "GoogleHomeEnterpriseSdmV1ListStructuresResponse": {
- "properties": {
- "structures": {
- "description": "The list of structures.",
- "items": {
- "$ref": "GoogleHomeEnterpriseSdmV1Structure"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages.",
- "type": "string"
- }
- },
- "type": "object",
- "description": "Response message for SmartDeviceManagementService.ListStructures",
- "id": "GoogleHomeEnterpriseSdmV1ListStructuresResponse"
- },
- "GoogleHomeEnterpriseSdmV1Room": {
- "id": "GoogleHomeEnterpriseSdmV1Room",
- "properties": {
- "name": {
- "readOnly": true,
- "description": "Output only. The resource name of the room. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".",
- "type": "string"
- },
- "traits": {
- "description": "Room traits.",
- "additionalProperties": {
- "type": "any",
- "description": "Properties of the object."
- },
- "type": "object"
- }
- },
- "type": "object",
- "description": "Room resource represents an instance of sub-space within a structure such as rooms in a hotel suite or rental apartment."
- },
- "GoogleHomeEnterpriseSdmV1ListRoomsResponse": {
- "description": "Response message for SmartDeviceManagementService.ListRooms",
- "type": "object",
- "properties": {
- "nextPageToken": {
- "type": "string",
- "description": "The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages."
- },
- "rooms": {
- "items": {
- "$ref": "GoogleHomeEnterpriseSdmV1Room"
- },
- "type": "array",
- "description": "The list of rooms."
- }
- },
- "id": "GoogleHomeEnterpriseSdmV1ListRoomsResponse"
- }
- },
- "parameters": {
- "upload_protocol": {
- "location": "query",
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
- "type": "string"
- },
- "uploadType": {
- "location": "query",
- "type": "string",
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
- },
- "callback": {
- "location": "query",
- "type": "string",
- "description": "JSONP"
- },
- "oauth_token": {
- "location": "query",
- "description": "OAuth 2.0 token for the current user.",
- "type": "string"
- },
- "$.xgafv": {
- "enumDescriptions": [
- "v1 error format",
- "v2 error format"
- ],
- "enum": [
- "1",
- "2"
- ],
- "location": "query",
- "description": "V1 error format.",
- "type": "string"
- },
- "quotaUser": {
- "type": "string",
- "location": "query",
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters."
- },
- "access_token": {
- "location": "query",
- "type": "string",
- "description": "OAuth access token."
- },
- "fields": {
- "type": "string",
- "location": "query",
- "description": "Selector specifying which fields to include in a partial response."
- },
- "alt": {
- "description": "Data format for response.",
- "enumDescriptions": [
- "Responses with Content-Type of application/json",
- "Media download with context-dependent Content-Type",
- "Responses with Content-Type of application/x-protobuf"
- ],
- "type": "string",
- "enum": [
- "json",
- "media",
- "proto"
- ],
- "location": "query",
- "default": "json"
- },
- "key": {
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
- "type": "string",
- "location": "query"
- },
- "prettyPrint": {
- "type": "boolean",
- "default": "true",
- "location": "query",
- "description": "Returns response with indentations and line breaks."
- }
- },
- "revision": "20201022",
- "protocol": "rest",
- "description": "Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.",
- "servicePath": "",
- "title": "Smart Device Management API",
- "ownerName": "Google",
- "version_module": true,
- "id": "smartdevicemanagement:v1",
- "canonicalName": "Smart Device Management",
- "kind": "discovery#restDescription",
- "fullyEncodeReservedExpansion": true
-}
+ "servicePath": "",
+ "title": "Smart Device Management API",
+ "version": "v1",
+ "version_module": true
+}
\ No newline at end of file