Skip to content

Commit

Permalink
feat(androiddeviceprovisioning): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and bcoe committed Dec 22, 2022
1 parent fd01686 commit c59088d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
13 changes: 9 additions & 4 deletions discovery/androiddeviceprovisioning-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@
}
}
},
"revision": "20221026",
"revision": "20221203",
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
"schemas": {
"ClaimDeviceRequest": {
Expand Down Expand Up @@ -866,6 +866,11 @@
"Zero-touch enrollment section type."
],
"type": "string"
},
"simlockProfileId": {
"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).",
"format": "int64",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -1187,7 +1192,7 @@
"type": "string"
},
"ownerCompanyId": {
"description": "The ID of the Customer that purchased the Android device.",
"description": "The ID of the Customer that purchased the device.",
"format": "int64",
"type": "string"
},
Expand Down Expand Up @@ -1259,7 +1264,7 @@
"type": "string"
},
"model": {
"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).",
"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).",
"type": "string"
},
"serialNumber": {
Expand Down Expand Up @@ -1723,7 +1728,7 @@
"id": "PerDeviceStatusInBatch",
"properties": {
"deviceId": {
"description": "If processing succeeds, the device ID of the Android device.",
"description": "If processing succeeds, the device ID of the device.",
"format": "int64",
"type": "string"
},
Expand Down
13 changes: 9 additions & 4 deletions src/apis/androiddeviceprovisioning/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export namespace androiddeviceprovisioning_v1 {
* Required. The section type of the device's provisioning record.
*/
sectionType?: string | null;
/**
* Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile (go/simlock/profiles).
*/
simlockProfileId?: string | null;
}
/**
* Response message containing device id of the claim.
Expand Down Expand Up @@ -391,7 +395,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
googleWorkspaceCustomerId?: string | null;
/**
* The ID of the Customer that purchased the Android device.
* The ID of the Customer that purchased the device.
*/
ownerCompanyId?: string | null;
/**
Expand Down Expand Up @@ -436,7 +440,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
meid?: string | null;
/**
* 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).
* 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).
*/
model?: string | null;
/**
Expand Down Expand Up @@ -762,7 +766,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
export interface Schema$PerDeviceStatusInBatch {
/**
* If processing succeeds, the device ID of the Android device.
* If processing succeeds, the device ID of the device.
*/
deviceId?: string | null;
/**
Expand Down Expand Up @@ -3216,7 +3220,8 @@ export namespace androiddeviceprovisioning_v1 {
* // "deviceMetadata": {},
* // "googleWorkspaceCustomerId": "my_googleWorkspaceCustomerId",
* // "preProvisioningToken": "my_preProvisioningToken",
* // "sectionType": "my_sectionType"
* // "sectionType": "my_sectionType",
* // "simlockProfileId": "my_simlockProfileId"
* // }
* },
* });
Expand Down

0 comments on commit c59088d

Please sign in to comment.