Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e3a929d

Browse files
committedOct 25, 2022
feat(androiddeviceprovisioning): update the api
#### androiddeviceprovisioning:v1 The following keys were added: - schemas.ClaimDeviceRequest.properties.googleWorkspaceCustomerId.type (Total Keys: 1) - schemas.ClaimDeviceRequest.properties.preProvisioningToken.type (Total Keys: 1) - schemas.Company.properties.googleWorkspaceAccount (Total Keys: 2) - schemas.DeviceClaim.properties.googleWorkspaceCustomerId.type (Total Keys: 1) - schemas.DeviceIdentifier.properties.chromeOsAttestedDeviceId.type (Total Keys: 1) - schemas.DeviceIdentifier.properties.deviceType.type (Total Keys: 1) - schemas.FindDevicesByOwnerRequest.properties.googleWorkspaceCustomerId (Total Keys: 2) - schemas.GoogleWorkspaceAccount (Total Keys: 6) - schemas.PartnerClaim.properties.googleWorkspaceCustomerId.type (Total Keys: 1) - schemas.PartnerClaim.properties.preProvisioningToken.type (Total Keys: 1)
1 parent 9a9b5ad commit e3a929d

7 files changed

+208
-59
lines changed
 

‎docs/dyn/androiddeviceprovisioning_v1.customers.devices.html

+26-14
Large diffs are not rendered by default.

‎docs/dyn/androiddeviceprovisioning_v1.customers.html

+6
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@ <h3>Method Details</h3>
127127
],
128128
&quot;companyId&quot;: &quot;A String&quot;, # Output only. The ID of the company. Assigned by the server.
129129
&quot;companyName&quot;: &quot;A String&quot;, # Required. The name of the company. For example _XYZ Corp_. Displayed to the company&#x27;s employees in the zero-touch enrollment portal.
130+
&quot;googleWorkspaceAccount&quot;: { # A Google Workspace customer. # Output only. The Google Workspace account associated with this customer. Only used for customer Companies.
131+
&quot;customerId&quot;: &quot;A String&quot;, # Required. The customer ID.
132+
&quot;preProvisioningTokens&quot;: [ # Output only. The pre-provisioning tokens previously used to claim devices.
133+
&quot;A String&quot;,
134+
],
135+
},
130136
&quot;languageCode&quot;: &quot;A String&quot;, # Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
131137
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
132138
&quot;ownerEmails&quot;: [ # Required. Input only. Email address of customer&#x27;s users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization&#x27;s portal users.

‎docs/dyn/androiddeviceprovisioning_v1.partners.customers.html

+18
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ <h3>Method Details</h3>
108108
],
109109
&quot;companyId&quot;: &quot;A String&quot;, # Output only. The ID of the company. Assigned by the server.
110110
&quot;companyName&quot;: &quot;A String&quot;, # Required. The name of the company. For example _XYZ Corp_. Displayed to the company&#x27;s employees in the zero-touch enrollment portal.
111+
&quot;googleWorkspaceAccount&quot;: { # A Google Workspace customer. # Output only. The Google Workspace account associated with this customer. Only used for customer Companies.
112+
&quot;customerId&quot;: &quot;A String&quot;, # Required. The customer ID.
113+
&quot;preProvisioningTokens&quot;: [ # Output only. The pre-provisioning tokens previously used to claim devices.
114+
&quot;A String&quot;,
115+
],
116+
},
111117
&quot;languageCode&quot;: &quot;A String&quot;, # Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
112118
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
113119
&quot;ownerEmails&quot;: [ # Required. Input only. Email address of customer&#x27;s users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization&#x27;s portal users.
@@ -132,6 +138,12 @@ <h3>Method Details</h3>
132138
],
133139
&quot;companyId&quot;: &quot;A String&quot;, # Output only. The ID of the company. Assigned by the server.
134140
&quot;companyName&quot;: &quot;A String&quot;, # Required. The name of the company. For example _XYZ Corp_. Displayed to the company&#x27;s employees in the zero-touch enrollment portal.
141+
&quot;googleWorkspaceAccount&quot;: { # A Google Workspace customer. # Output only. The Google Workspace account associated with this customer. Only used for customer Companies.
142+
&quot;customerId&quot;: &quot;A String&quot;, # Required. The customer ID.
143+
&quot;preProvisioningTokens&quot;: [ # Output only. The pre-provisioning tokens previously used to claim devices.
144+
&quot;A String&quot;,
145+
],
146+
},
135147
&quot;languageCode&quot;: &quot;A String&quot;, # Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
136148
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
137149
&quot;ownerEmails&quot;: [ # Required. Input only. Email address of customer&#x27;s users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization&#x27;s portal users.
@@ -166,6 +178,12 @@ <h3>Method Details</h3>
166178
],
167179
&quot;companyId&quot;: &quot;A String&quot;, # Output only. The ID of the company. Assigned by the server.
168180
&quot;companyName&quot;: &quot;A String&quot;, # Required. The name of the company. For example _XYZ Corp_. Displayed to the company&#x27;s employees in the zero-touch enrollment portal.
181+
&quot;googleWorkspaceAccount&quot;: { # A Google Workspace customer. # Output only. The Google Workspace account associated with this customer. Only used for customer Companies.
182+
&quot;customerId&quot;: &quot;A String&quot;, # Required. The customer ID.
183+
&quot;preProvisioningTokens&quot;: [ # Output only. The pre-provisioning tokens previously used to claim devices.
184+
&quot;A String&quot;,
185+
],
186+
},
169187
&quot;languageCode&quot;: &quot;A String&quot;, # Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
170188
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
171189
&quot;ownerEmails&quot;: [ # Required. Input only. Email address of customer&#x27;s users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization&#x27;s portal users.

‎docs/dyn/androiddeviceprovisioning_v1.partners.devices.html

+59-31
Large diffs are not rendered by default.

‎docs/dyn/androiddeviceprovisioning_v1.partners.vendors.customers.html

+6
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ <h3>Method Details</h3>
113113
],
114114
&quot;companyId&quot;: &quot;A String&quot;, # Output only. The ID of the company. Assigned by the server.
115115
&quot;companyName&quot;: &quot;A String&quot;, # Required. The name of the company. For example _XYZ Corp_. Displayed to the company&#x27;s employees in the zero-touch enrollment portal.
116+
&quot;googleWorkspaceAccount&quot;: { # A Google Workspace customer. # Output only. The Google Workspace account associated with this customer. Only used for customer Companies.
117+
&quot;customerId&quot;: &quot;A String&quot;, # Required. The customer ID.
118+
&quot;preProvisioningTokens&quot;: [ # Output only. The pre-provisioning tokens previously used to claim devices.
119+
&quot;A String&quot;,
120+
],
121+
},
116122
&quot;languageCode&quot;: &quot;A String&quot;, # Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
117123
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
118124
&quot;ownerEmails&quot;: [ # Required. Input only. Email address of customer&#x27;s users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization&#x27;s portal users.

‎docs/dyn/androiddeviceprovisioning_v1.partners.vendors.html

+6
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ <h3>Method Details</h3>
120120
],
121121
&quot;companyId&quot;: &quot;A String&quot;, # Output only. The ID of the company. Assigned by the server.
122122
&quot;companyName&quot;: &quot;A String&quot;, # Required. The name of the company. For example _XYZ Corp_. Displayed to the company&#x27;s employees in the zero-touch enrollment portal.
123+
&quot;googleWorkspaceAccount&quot;: { # A Google Workspace customer. # Output only. The Google Workspace account associated with this customer. Only used for customer Companies.
124+
&quot;customerId&quot;: &quot;A String&quot;, # Required. The customer ID.
125+
&quot;preProvisioningTokens&quot;: [ # Output only. The pre-provisioning tokens previously used to claim devices.
126+
&quot;A String&quot;,
127+
],
128+
},
123129
&quot;languageCode&quot;: &quot;A String&quot;, # Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
124130
&quot;name&quot;: &quot;A String&quot;, # Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
125131
&quot;ownerEmails&quot;: [ # Required. Input only. Email address of customer&#x27;s users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization&#x27;s portal users.

‎googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json

+87-14
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@
632632
}
633633
},
634634
"metadata": {
635-
"description": "Updates reseller metadata associated with the device.",
635+
"description": "Updates reseller metadata associated with the device. Android devices only.",
636636
"flatPath": "v1/partners/{partnersId}/devices/{devicesId}/metadata",
637637
"httpMethod": "POST",
638638
"id": "androiddeviceprovisioning.partners.devices.metadata",
@@ -719,7 +719,7 @@
719719
}
720720
},
721721
"updateMetadataAsync": {
722-
"description": "Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read [Long\u2011running batch operations](/zero-touch/guides/how-it-works#operations).",
722+
"description": "Updates the reseller metadata attached to a batch of devices. This method updates devices asynchronously and returns an `Operation` that can be used to track progress. Read [Long\u2011running batch operations](/zero-touch/guides/how-it-works#operations). Android Devices only.",
723723
"flatPath": "v1/partners/{partnersId}/devices:updateMetadataAsync",
724724
"httpMethod": "POST",
725725
"id": "androiddeviceprovisioning.partners.devices.updateMetadataAsync",
@@ -825,15 +825,15 @@
825825
}
826826
}
827827
},
828-
"revision": "20221012",
828+
"revision": "20221023",
829829
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
830830
"schemas": {
831831
"ClaimDeviceRequest": {
832832
"description": "Request message to claim a device on behalf of a customer.",
833833
"id": "ClaimDeviceRequest",
834834
"properties": {
835835
"customerId": {
836-
"description": "Required. The ID of the customer for whom the device is being claimed.",
836+
"description": "The ID of the customer for whom the device is being claimed.",
837837
"format": "int64",
838838
"type": "string"
839839
},
@@ -845,6 +845,14 @@
845845
"$ref": "DeviceMetadata",
846846
"description": "Optional. The metadata to attach to the device."
847847
},
848+
"googleWorkspaceCustomerId": {
849+
"description": "The Google Workspace customer ID.",
850+
"type": "string"
851+
},
852+
"preProvisioningToken": {
853+
"description": "Optional. Must and can only be set for Chrome OS devices.",
854+
"type": "string"
855+
},
848856
"sectionType": {
849857
"description": "Required. The section type of the device's provisioning record.",
850858
"enum": [
@@ -913,6 +921,11 @@
913921
"description": "Required. The name of the company. For example _XYZ Corp_. Displayed to the company's employees in the zero-touch enrollment portal.",
914922
"type": "string"
915923
},
924+
"googleWorkspaceAccount": {
925+
"$ref": "GoogleWorkspaceAccount",
926+
"description": "Output only. The Google Workspace account associated with this customer. Only used for customer Companies.",
927+
"readOnly": true
928+
},
916929
"languageCode": {
917930
"description": "Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)",
918931
"type": "string"
@@ -1116,7 +1129,7 @@
11161129
"type": "object"
11171130
},
11181131
"Device": {
1119-
"description": "An Android device registered for zero-touch enrollment.",
1132+
"description": "An Android or Chrome OS device registered for zero-touch enrollment.",
11201133
"id": "Device",
11211134
"properties": {
11221135
"claims": {
@@ -1169,8 +1182,12 @@
11691182
],
11701183
"type": "string"
11711184
},
1185+
"googleWorkspaceCustomerId": {
1186+
"description": "The ID of the Google Workspace account that owns the Chrome OS device.",
1187+
"type": "string"
1188+
},
11721189
"ownerCompanyId": {
1173-
"description": "The ID of the Customer that purchased the device.",
1190+
"description": "The ID of the Customer that purchased the Android device.",
11741191
"format": "int64",
11751192
"type": "string"
11761193
},
@@ -1211,20 +1228,38 @@
12111228
"description": "Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).",
12121229
"id": "DeviceIdentifier",
12131230
"properties": {
1231+
"chromeOsAttestedDeviceId": {
1232+
"description": "An identifier provided by OEMs, carried through the production and sales process. Only applicable to Chrome OS devices.",
1233+
"type": "string"
1234+
},
1235+
"deviceType": {
1236+
"description": "The type of the device",
1237+
"enum": [
1238+
"DEVICE_TYPE_UNSPECIFIED",
1239+
"DEVICE_TYPE_ANDROID",
1240+
"DEVICE_TYPE_CHROME_OS"
1241+
],
1242+
"enumDescriptions": [
1243+
"Device type is not specified.",
1244+
"Android device",
1245+
"Chrome OS device"
1246+
],
1247+
"type": "string"
1248+
},
12141249
"imei": {
12151250
"description": "The device\u2019s IMEI number. Validated on input.",
12161251
"type": "string"
12171252
},
12181253
"manufacturer": {
1219-
"description": "The device manufacturer\u2019s name. Matches the device's built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).",
1254+
"description": "The device manufacturer\u2019s name. Matches the device's built-in value returned from `android.os.Build.MANUFACTURER`. Allowed values are listed in [Android manufacturers](/zero-touch/resources/manufacturer-names#manufacturers-names).",
12201255
"type": "string"
12211256
},
12221257
"meid": {
12231258
"description": "The device\u2019s MEID number.",
12241259
"type": "string"
12251260
},
12261261
"model": {
1227-
"description": "The device model's name. Matches the device's built-in value returned from `android.os.Build.MODEL`. Allowed values are listed in [models](/zero-touch/resources/manufacturer-names#model-names).",
1262+
"description": "The device model's name. Allowed values are listed in [Android models](/zero-touch/resources/manufacturer-names#model-names) and [Chrome OS models](https://support.google.com/chrome/a/answer/10130175?hl=en#identify_compatible).",
12281263
"type": "string"
12291264
},
12301265
"serialNumber": {
@@ -1290,7 +1325,7 @@
12901325
"type": "string"
12911326
},
12921327
"progress": {
1293-
"description": "The processing progress of the operation. Measured as a number from 0 to 100. A value of 10O doesnt always mean the operation completed\u2014check for the inclusion of a `done` field.",
1328+
"description": "The processing progress of the operation. Measured as a number from 0 to 100. A value of 10O doesn't always mean the operation completed\u2014check for the inclusion of a `done` field.",
12941329
"format": "int32",
12951330
"type": "integer"
12961331
}
@@ -1392,13 +1427,20 @@
13921427
"id": "FindDevicesByOwnerRequest",
13931428
"properties": {
13941429
"customerId": {
1395-
"description": "Required. The list of customer IDs to search for.",
1430+
"description": "The list of customer IDs to search for.",
13961431
"items": {
13971432
"format": "int64",
13981433
"type": "string"
13991434
},
14001435
"type": "array"
14011436
},
1437+
"googleWorkspaceCustomerId": {
1438+
"description": "The list of IDs of Google Workspace accounts to search for.",
1439+
"items": {
1440+
"type": "string"
1441+
},
1442+
"type": "array"
1443+
},
14021444
"limit": {
14031445
"description": "Required. The maximum number of devices to show in a page of results. Must be between 1 and 100 inclusive.",
14041446
"format": "int64",
@@ -1448,6 +1490,25 @@
14481490
},
14491491
"type": "object"
14501492
},
1493+
"GoogleWorkspaceAccount": {
1494+
"description": "A Google Workspace customer.",
1495+
"id": "GoogleWorkspaceAccount",
1496+
"properties": {
1497+
"customerId": {
1498+
"description": "Required. The customer ID.",
1499+
"type": "string"
1500+
},
1501+
"preProvisioningTokens": {
1502+
"description": "Output only. The pre-provisioning tokens previously used to claim devices.",
1503+
"items": {
1504+
"type": "string"
1505+
},
1506+
"readOnly": true,
1507+
"type": "array"
1508+
}
1509+
},
1510+
"type": "object"
1511+
},
14511512
"ListCustomersResponse": {
14521513
"description": "Response message of all customers related to this partner.",
14531514
"id": "ListCustomersResponse",
@@ -1580,7 +1641,7 @@
15801641
"id": "PartnerClaim",
15811642
"properties": {
15821643
"customerId": {
1583-
"description": "Required. The ID of the customer for whom the device is being claimed.",
1644+
"description": "The ID of the customer for whom the device is being claimed.",
15841645
"format": "int64",
15851646
"type": "string"
15861647
},
@@ -1592,6 +1653,14 @@
15921653
"$ref": "DeviceMetadata",
15931654
"description": "Required. The metadata to attach to the device at claim."
15941655
},
1656+
"googleWorkspaceCustomerId": {
1657+
"description": "The Google Workspace customer ID.",
1658+
"type": "string"
1659+
},
1660+
"preProvisioningToken": {
1661+
"description": "Optional. Must and can only be set for Chrome OS devices.",
1662+
"type": "string"
1663+
},
15951664
"sectionType": {
15961665
"description": "Required. The section type of the device's provisioning record.",
15971666
"enum": [
@@ -1654,7 +1723,7 @@
16541723
"id": "PerDeviceStatusInBatch",
16551724
"properties": {
16561725
"deviceId": {
1657-
"description": "If processing succeeds, the device ID of the device.",
1726+
"description": "If processing succeeds, the device ID of the Android device.",
16581727
"format": "int64",
16591728
"type": "string"
16601729
},
@@ -1676,7 +1745,9 @@
16761745
"SINGLE_DEVICE_STATUS_PERMISSION_DENIED",
16771746
"SINGLE_DEVICE_STATUS_INVALID_DEVICE_IDENTIFIER",
16781747
"SINGLE_DEVICE_STATUS_INVALID_SECTION_TYPE",
1679-
"SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS"
1748+
"SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS",
1749+
"SINGLE_DEVICE_STATUS_INVALID_TOKEN",
1750+
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN"
16801751
],
16811752
"enumDescriptions": [
16821753
"Invalid code. Shouldn't be used.",
@@ -1686,7 +1757,9 @@
16861757
"Permission denied.",
16871758
"Invalid device identifier.",
16881759
"Invalid section type.",
1689-
"This section is claimed by another company."
1760+
"This section is claimed by another company.",
1761+
"Invalid pre-provisioning token.",
1762+
"Revoked pre-provisioning token."
16901763
],
16911764
"type": "string"
16921765
}

0 commit comments

Comments
 (0)
Please sign in to comment.