chore: Update discovery artifacts (#1291)
* chore: update docs/dyn/index.md
* chore(abusiveexperiencereport): update the api
* chore(acceleratedmobilepageurl): update the api
* chore(accessapproval): update the api
* chore(accesscontextmanager): update the api
* chore(adexchangebuyer2): update the api
* chore(adexperiencereport): update the api
* chore(admob): update the api
* chore(analytics): update the api
* chore(analyticsreporting): update the api
* chore(androiddeviceprovisioning): update the api
* chore(androidenterprise): update the api
* chore(androidpublisher): update the api
* chore(apigateway): update the api
* chore(artifactregistry): update the api
* chore(bigqueryconnection): update the api
* chore(bigquerydatatransfer): update the api
* chore(billingbudgets): update the api
* chore(binaryauthorization): update the api
* chore(blogger): update the api
* chore(books): update the api
* chore(calendar): update the api
* chore(chat): update the api
* chore(chromeuxreport): update the api
* chore(civicinfo): update the api
* chore(classroom): update the api
* chore(cloudbilling): update the api
* chore(cloudbuild): update the api
* chore(clouddebugger): update the api
* chore(clouderrorreporting): update the api
* chore(cloudfunctions): update the api
* chore(cloudidentity): update the api
* chore(cloudiot): update the api
* chore(cloudkms): update the api
* chore(cloudprofiler): update the api
* chore(cloudresourcemanager): update the api
* chore(cloudscheduler): update the api
* chore(cloudshell): update the api
* chore(cloudtasks): update the api
* chore(cloudtrace): update the api
* chore(composer): update the api
* chore(containeranalysis): update the api
* chore(content): update the api
* chore(customsearch): update the api
* chore(datacatalog): update the api
* chore(datafusion): update the api
* chore(datamigration): update the api
* chore(datastore): update the api
* chore(deploymentmanager): update the api
* chore(digitalassetlinks): update the api
* chore(displayvideo): update the api
* chore(dlp): update the api
* chore(dns): update the api
* chore(docs): update the api
* chore(domains): update the api
* chore(domainsrdap): update the api
* chore(doubleclickbidmanager): update the api
* chore(doubleclicksearch): update the api
* chore(drive): update the api
* chore(driveactivity): update the api
* chore(eventarc): update the api
* chore(factchecktools): update the api
* chore(fcm): update the api
* chore(file): update the api
* chore(firebase): update the api
* chore(firebasedatabase): update the api
* chore(firebasedynamiclinks): update the api
* chore(firebasehosting): update the api
* chore(firebaseml): update the api
* chore(firebaserules): update the api
* chore(firestore): update the api
* chore(fitness): update the api
* chore(gamesConfiguration): update the api
* chore(gamesManagement): update the api
* chore(gameservices): update the api
* chore(genomics): update the api
* chore(gmail): update the api
* chore(gmailpostmastertools): update the api
* chore(groupsmigration): update the api
* chore(groupssettings): update the api
* chore(healthcare): update the api
* chore(iam): update the api
* chore(iamcredentials): update the api
* chore(iap): update the api
* chore(identitytoolkit): update the api
* chore(indexing): update the api
* chore(jobs): update the api
* chore(kgsearch): update the api
* chore(language): update the api
* chore(libraryagent): update the api
* chore(licensing): update the api
* chore(lifesciences): update the api
* chore(logging): update the api
* chore(managedidentities): update the api
* chore(manufacturers): update the api
* chore(memcache): update the api
* chore(ml): update the api
* chore(monitoring): update the api
* chore(networkmanagement): update the api
* chore(osconfig): update the api
* chore(pagespeedonline): update the api
* chore(playablelocations): update the api
* chore(playcustomapp): update the api
* chore(policytroubleshooter): update the api
* chore(poly): update the api
* chore(privateca): update the api
* chore(prod_tt_sasportal): update the api
* chore(pubsub): update the api
* chore(pubsublite): update the api
* chore(realtimebidding): update the api
* chore(recommendationengine): update the api
* chore(recommender): update the api
* chore(redis): update the api
* chore(remotebuildexecution): update the api
* chore(reseller): update the api
* chore(runtimeconfig): update the api
* chore(safebrowsing): update the api
* chore(sasportal): update the api
* chore(script): update the api
* chore(searchconsole): update the api
* chore(secretmanager): update the api
* chore(servicecontrol): update the api
* chore(servicedirectory): update the api
* chore(siteVerification): update the api
* chore(slides): update the api
* chore(smartdevicemanagement): update the api
* chore(sourcerepo): update the api
* chore(sqladmin): update the api
* chore(storage): update the api
* chore(storagetransfer): update the api
* chore(streetviewpublish): update the api
* chore(sts): update the api
* chore(tagmanager): update the api
* chore(tasks): update the api
* chore(testing): update the api
* chore(texttospeech): update the api
* chore(toolresults): update the api
* chore(trafficdirector): update the api
* chore(transcoder): update the api
* chore(translate): update the api
* chore(vault): update the api
* chore(vectortile): update the api
* chore(verifiedaccess): update the api
* chore(videointelligence): update the api
* chore(vision): update the api
* chore(webfonts): update the api
* chore(webmasters): update the api
* chore(websecurityscanner): update the api
* chore(workflowexecutions): update the api
* chore(workflows): update the api
* chore(youtubeAnalytics): update the api
* chore(youtubereporting): update the api
* chore(docs): Add new discovery artifacts and reference documents
diff --git a/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json b/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
index c3bd4e9..0eefd83 100644
--- a/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
+++ b/googleapiclient/discovery_cache/documents/smartdevicemanagement.v1.json
@@ -1,533 +1,533 @@
{
- "auth": {
- "oauth2": {
- "scopes": {
- "https://www.googleapis.com/auth/sdm.service": {
- "description": "See and/or control the devices that you selected"
- }
- }
+ "auth": {
+ "oauth2": {
+ "scopes": {
+ "https://www.googleapis.com/auth/sdm.service": {
+ "description": "See and/or control the devices that you selected"
}
+ }
+ }
+ },
+ "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"
},
- "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"
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
},
- "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"
- }
+ "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"
},
- "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"
- ]
- }
- }
- },
- "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"
- ]
- }
- }
- }
- }
- }
- }
- }
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
},
- "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": {
+ "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": "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"
+ "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"
+ ]
},
- "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"
+ "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"
},
- "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"
+ "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"
},
- "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"
+ "pageToken": {
+ "description": "Optional token of the page to retrieve.",
+ "location": "query",
+ "type": "string"
},
"parent": {
- "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"
+ "description": "The parent enterprise to list devices under. E.g. \"enterprises/XYZ\".",
+ "location": "path",
+ "pattern": "^enterprises/[^/]+$",
+ "required": true,
+ "type": "string"
}
- },
- "type": "object"
+ },
+ "path": "v1/{+parent}/devices",
+ "response": {
+ "$ref": "GoogleHomeEnterpriseSdmV1ListDevicesResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/sdm.service"
+ ]
+ }
+ }
},
- "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": {
+ "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": "Output only. The resource name of the room. For example: \"enterprises/XYZ/structures/ABC/rooms/123\".",
- "readOnly": true,
- "type": "string"
- },
- "traits": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "Room traits.",
- "type": "object"
+ "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"
+ ]
},
- "type": "object"
- },
- "GoogleHomeEnterpriseSdmV1Structure": {
- "description": "Structure resource represents an instance of enterprise managed home or hotel room.",
- "id": "GoogleHomeEnterpriseSdmV1Structure",
- "properties": {
- "name": {
- "description": "Output only. The resource name of the structure. For example: \"enterprises/XYZ/structures/ABC\".",
- "readOnly": true,
- "type": "string"
+ "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"
},
- "traits": {
- "additionalProperties": {
- "description": "Properties of the object.",
- "type": "any"
- },
- "description": "Structure traits.",
- "type": "object"
+ "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"
}
- },
- "type": "object"
+ },
+ "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": "20210403",
+ "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"
},
- "servicePath": "",
- "title": "Smart Device Management API",
- "version": "v1",
- "version_module": true
+ "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": {
+ "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"
+ }
+ },
+ "type": "object"
+ },
+ "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"
+ },
+ "traits": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Room traits.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "GoogleHomeEnterpriseSdmV1Structure": {
+ "description": "Structure resource represents an instance of enterprise managed home or hotel room.",
+ "id": "GoogleHomeEnterpriseSdmV1Structure",
+ "properties": {
+ "name": {
+ "description": "Output only. The resource name of the structure. For example: \"enterprises/XYZ/structures/ABC\".",
+ "readOnly": true,
+ "type": "string"
+ },
+ "traits": {
+ "additionalProperties": {
+ "description": "Properties of the object.",
+ "type": "any"
+ },
+ "description": "Structure traits.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Smart Device Management API",
+ "version": "v1",
+ "version_module": true
}
\ No newline at end of file