Skip to content

Commit c59088d

Browse files
yoshi-automationBenjamin E. Coe
authored andcommitted
feat(androiddeviceprovisioning): update the API
#### androiddeviceprovisioning:v1 The following keys were added: - schemas.ClaimDeviceRequest.properties.simlockProfileId.description - schemas.ClaimDeviceRequest.properties.simlockProfileId.format - schemas.ClaimDeviceRequest.properties.simlockProfileId.type The following keys were changed: - schemas.DeviceClaim.properties.ownerCompanyId.description - schemas.DeviceIdentifier.properties.model.description - schemas.PerDeviceStatusInBatch.properties.deviceId.description
1 parent fd01686 commit c59088d

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

discovery/androiddeviceprovisioning-v1.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@
825825
}
826826
}
827827
},
828-
"revision": "20221026",
828+
"revision": "20221203",
829829
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
830830
"schemas": {
831831
"ClaimDeviceRequest": {
@@ -866,6 +866,11 @@
866866
"Zero-touch enrollment section type."
867867
],
868868
"type": "string"
869+
},
870+
"simlockProfileId": {
871+
"description": "Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile (go/simlock/profiles).",
872+
"format": "int64",
873+
"type": "string"
869874
}
870875
},
871876
"type": "object"
@@ -1187,7 +1192,7 @@
11871192
"type": "string"
11881193
},
11891194
"ownerCompanyId": {
1190-
"description": "The ID of the Customer that purchased the Android device.",
1195+
"description": "The ID of the Customer that purchased the device.",
11911196
"format": "int64",
11921197
"type": "string"
11931198
},
@@ -1259,7 +1264,7 @@
12591264
"type": "string"
12601265
},
12611266
"model": {
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).",
1267+
"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#identify_compatible).",
12631268
"type": "string"
12641269
},
12651270
"serialNumber": {
@@ -1723,7 +1728,7 @@
17231728
"id": "PerDeviceStatusInBatch",
17241729
"properties": {
17251730
"deviceId": {
1726-
"description": "If processing succeeds, the device ID of the Android device.",
1731+
"description": "If processing succeeds, the device ID of the device.",
17271732
"format": "int64",
17281733
"type": "string"
17291734
},

src/apis/androiddeviceprovisioning/v1.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ export namespace androiddeviceprovisioning_v1 {
156156
* Required. The section type of the device's provisioning record.
157157
*/
158158
sectionType?: string | null;
159+
/**
160+
* Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile (go/simlock/profiles).
161+
*/
162+
simlockProfileId?: string | null;
159163
}
160164
/**
161165
* Response message containing device id of the claim.
@@ -391,7 +395,7 @@ export namespace androiddeviceprovisioning_v1 {
391395
*/
392396
googleWorkspaceCustomerId?: string | null;
393397
/**
394-
* The ID of the Customer that purchased the Android device.
398+
* The ID of the Customer that purchased the device.
395399
*/
396400
ownerCompanyId?: string | null;
397401
/**
@@ -436,7 +440,7 @@ export namespace androiddeviceprovisioning_v1 {
436440
*/
437441
meid?: string | null;
438442
/**
439-
* 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).
443+
* 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#identify_compatible).
440444
*/
441445
model?: string | null;
442446
/**
@@ -762,7 +766,7 @@ export namespace androiddeviceprovisioning_v1 {
762766
*/
763767
export interface Schema$PerDeviceStatusInBatch {
764768
/**
765-
* If processing succeeds, the device ID of the Android device.
769+
* If processing succeeds, the device ID of the device.
766770
*/
767771
deviceId?: string | null;
768772
/**
@@ -3216,7 +3220,8 @@ export namespace androiddeviceprovisioning_v1 {
32163220
* // "deviceMetadata": {},
32173221
* // "googleWorkspaceCustomerId": "my_googleWorkspaceCustomerId",
32183222
* // "preProvisioningToken": "my_preProvisioningToken",
3219-
* // "sectionType": "my_sectionType"
3223+
* // "sectionType": "my_sectionType",
3224+
* // "simlockProfileId": "my_simlockProfileId"
32203225
* // }
32213226
* },
32223227
* });

0 commit comments

Comments
 (0)