Skip to content

Commit

Permalink
fix(androiddeviceprovisioning): update the API
Browse files Browse the repository at this point in the history
#### androiddeviceprovisioning:v1
The following keys were changed:
- schemas.ClaimDeviceRequest.properties.deviceIdentifier.description
- schemas.Company.properties.adminEmails.description
- schemas.Company.properties.ownerEmails.description
- schemas.Device.properties.deviceIdentifier.description
- schemas.Device.properties.deviceMetadata.description
- schemas.DeviceIdentifier.description
- schemas.DeviceMetadata.description
- schemas.DeviceReference.description
- schemas.FindDevicesByDeviceIdentifierRequest.properties.deviceIdentifier.description
- schemas.PartnerClaim.properties.deviceIdentifier.description
- schemas.PartnerUnclaim.properties.deviceId.description
- schemas.PartnerUnclaim.properties.deviceIdentifier.description
- schemas.PartnerUnclaim.properties.vacationModeDays.description
- schemas.PartnerUnclaim.properties.vacationModeExpireTime.description
- schemas.UnclaimDeviceRequest.properties.deviceId.description
- schemas.UnclaimDeviceRequest.properties.deviceIdentifier.description
- schemas.UpdateMetadataArguments.properties.deviceId.description
- schemas.UpdateMetadataArguments.properties.deviceIdentifier.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 571c96a commit 265d4c0
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
38 changes: 19 additions & 19 deletions discovery/androiddeviceprovisioning-v1.json
Expand Up @@ -825,7 +825,7 @@
}
}
},
"revision": "20200512",
"revision": "20200708",
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
"schemas": {
"ClaimDeviceRequest": {
Expand All @@ -839,7 +839,7 @@
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "Required. The device identifier of the device to claim."
"description": "Required. Required. The device identifier of the device to claim."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
Expand Down Expand Up @@ -897,7 +897,7 @@
"id": "Company",
"properties": {
"adminEmails": {
"description": "Optional. Input only. Email address of customer's users in the admin role.\nEach email address must be associated with a Google Account.",
"description": "Optional. Email address of customer's users in the admin role.\nEach email address must be associated with a Google Account.",
"items": {
"type": "string"
},
Expand All @@ -917,7 +917,7 @@
"type": "string"
},
"ownerEmails": {
"description": "Input only. Email address of customer's users in the owner role. At least\none `owner_email` is required. Each email address must be associated with a\nGoogle Account. Owners share the same access as admins but can also add,\ndelete, and edit your organization's portal users.",
"description": "Required. Input only. Email address of customer's users in the owner role. At least\none `owner_email` is required. Each email address must be associated with a\nGoogle Account. Owners share the same access as admins but can also add,\ndelete, and edit your organization's portal users.",
"items": {
"type": "string"
},
Expand Down Expand Up @@ -1124,11 +1124,11 @@
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "The hardware IDs that identify a manufactured device. To learn more, read\n[Identifiers](/zero-touch/guides/identifiers)."
"description": "The hardware IDs that identify a manufactured device. To learn more, read\n[Identifiers](https://developers.google.com/zero-touch/guides/identifiers)."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
"description": "The metadata attached to the device. Structured as key-value pairs. To\nlearn more, read [Device metadata](/zero-touch/guides/metadata)."
"description": "The metadata attached to the device. Structured as key-value pairs. To\nlearn more, read [Device\nmetadata](https://developers.google.com/zero-touch/guides/metadata)."
},
"name": {
"description": "Output only. The API resource name in the format\n`partners/[PARTNER_ID]/devices/[DEVICE_ID]`. Assigned by the server.",
Expand Down Expand Up @@ -1179,7 +1179,7 @@
"type": "object"
},
"DeviceIdentifier": {
"description": "Encapsulates hardware and product IDs to identify a manufactured device.\nTo understand requirements on identifier sets, read\n[Identifiers](/zero-touch/guides/identifiers).",
"description": "Encapsulates hardware and product IDs to identify a manufactured device.\nTo understand requirements on identifier sets, read\n[Identifiers](https://developers.google.com/zero-touch/guides/identifiers).",
"id": "DeviceIdentifier",
"properties": {
"imei": {
Expand All @@ -1206,7 +1206,7 @@
"type": "object"
},
"DeviceMetadata": {
"description": "Metadata entries that can be attached to a `Device`. To learn more, read\n[Device metadata](/zero-touch/guides/metadata).",
"description": "Metadata entries that can be attached to a `Device`. To learn more, read\n[Device metadata](https://developers.google.com/zero-touch/guides/metadata).",
"id": "DeviceMetadata",
"properties": {
"entries": {
Expand All @@ -1220,7 +1220,7 @@
"type": "object"
},
"DeviceReference": {
"description": "A `DeviceReference` is an API abstraction that lets you supply a _device_\nargument to a method using one of the following identifier types:\n\n* A numeric API resource ID.\n* Real-world hardware IDs, such as IMEI number, belonging to the manufactured\n device.\n\nMethods that operate on devices take a `DeviceReference` as a parameter type\nbecause it's more flexible for the caller. To learn more about device\nidentifiers, read [Identifiers](/zero-touch/guides/identifiers).",
"description": "A `DeviceReference` is an API abstraction that lets you supply a _device_\nargument to a method using one of the following identifier types:\n\n* A numeric API resource ID.\n* Real-world hardware IDs, such as IMEI number, belonging to the manufactured\n device.\n\nMethods that operate on devices take a `DeviceReference` as a parameter type\nbecause it's more flexible for the caller. To learn more about device\nidentifiers, read\n[Identifiers](https://developers.google.com/zero-touch/guides/identifiers).",
"id": "DeviceReference",
"properties": {
"deviceId": {
Expand Down Expand Up @@ -1318,7 +1318,7 @@
"properties": {
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "Required. The device identifier to search for."
"description": "Required. Required. The device identifier to search for."
},
"limit": {
"description": "Required. The maximum number of devices to show in a page of results. Must\nbe between 1 and 100 inclusive.",
Expand Down Expand Up @@ -1554,7 +1554,7 @@
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "Required. Device identifier of the device."
"description": "Required. Required. Device identifier of the device."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
Expand Down Expand Up @@ -1582,13 +1582,13 @@
"id": "PartnerUnclaim",
"properties": {
"deviceId": {
"description": "Device ID of the device.",
"description": "Required. Device ID of the device.",
"format": "int64",
"type": "string"
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "Device identifier of the device."
"description": "Required. Device identifier of the device."
},
"sectionType": {
"description": "Required. The section type of the device's provisioning record.",
Expand All @@ -1605,12 +1605,12 @@
"type": "string"
},
"vacationModeDays": {
"description": "The duration of the vacation unlock starting from when the request is\nprocessed. (1 day is treated as 24 hours)",
"description": "Optional. The duration of the vacation unlock starting from when the request is\nprocessed. (1 day is treated as 24 hours)",
"format": "int32",
"type": "integer"
},
"vacationModeExpireTime": {
"description": "The expiration time of the vacation unlock.",
"description": "Optional. The expiration time of the vacation unlock.",
"format": "google-datetime",
"type": "string"
}
Expand Down Expand Up @@ -1693,13 +1693,13 @@
"id": "UnclaimDeviceRequest",
"properties": {
"deviceId": {
"description": "The device ID returned by `ClaimDevice`.",
"description": "Required. The device ID returned by `ClaimDevice`.",
"format": "int64",
"type": "string"
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "The device identifier you used when you claimed this device."
"description": "Required. The device identifier you used when you claimed this device."
},
"sectionType": {
"description": "Required. The section type of the device's provisioning record.",
Expand Down Expand Up @@ -1772,13 +1772,13 @@
"id": "UpdateMetadataArguments",
"properties": {
"deviceId": {
"description": "Device ID of the device.",
"description": "Required. Device ID of the device.",
"format": "int64",
"type": "string"
},
"deviceIdentifier": {
"$ref": "DeviceIdentifier",
"description": "Device identifier."
"description": "Required. Device identifier."
},
"deviceMetadata": {
"$ref": "DeviceMetadata",
Expand Down
36 changes: 18 additions & 18 deletions src/apis/androiddeviceprovisioning/v1.ts
Expand Up @@ -140,7 +140,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
customerId?: string | null;
/**
* Required. The device identifier of the device to claim.
* Required. Required. The device identifier of the device to claim.
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
Expand Down Expand Up @@ -179,7 +179,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
export interface Schema$Company {
/**
* Optional. Input only. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.
* Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.
*/
adminEmails?: string[] | null;
/**
Expand All @@ -195,7 +195,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
name?: string | null;
/**
* Input only. Email address of customer's users in the owner role. At least one `owner_email` is required. Each email address must be associated with a Google Account. Owners share the same access as admins but can also add, delete, and edit your organization's portal users.
* Required. Input only. Email address of customer's users in the owner role. At least one `owner_email` is required. Each email address must be associated with a Google Account. Owners share the same access as admins but can also add, delete, and edit your organization's portal users.
*/
ownerEmails?: string[] | null;
/**
Expand Down Expand Up @@ -349,11 +349,11 @@ export namespace androiddeviceprovisioning_v1 {
*/
deviceId?: string | null;
/**
* The hardware IDs that identify a manufactured device. To learn more, read [Identifiers](/zero-touch/guides/identifiers).
* The hardware IDs that identify a manufactured device. To learn more, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
* The metadata attached to the device. Structured as key-value pairs. To learn more, read [Device metadata](/zero-touch/guides/metadata).
* The metadata attached to the device. Structured as key-value pairs. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
*/
deviceMetadata?: Schema$DeviceMetadata;
/**
Expand Down Expand Up @@ -387,7 +387,7 @@ export namespace androiddeviceprovisioning_v1 {
vacationModeStartTime?: string | null;
}
/**
* Encapsulates hardware and product IDs to identify a manufactured device. To understand requirements on identifier sets, read [Identifiers](/zero-touch/guides/identifiers).
* 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).
*/
export interface Schema$DeviceIdentifier {
/**
Expand All @@ -412,7 +412,7 @@ export namespace androiddeviceprovisioning_v1 {
serialNumber?: string | null;
}
/**
* Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](/zero-touch/guides/metadata).
* Metadata entries that can be attached to a `Device`. To learn more, read [Device metadata](https://developers.google.com/zero-touch/guides/metadata).
*/
export interface Schema$DeviceMetadata {
/**
Expand All @@ -421,7 +421,7 @@ export namespace androiddeviceprovisioning_v1 {
entries?: {[key: string]: string} | null;
}
/**
* A `DeviceReference` is an API abstraction that lets you supply a _device_ argument to a method using one of the following identifier types: * A numeric API resource ID. * Real-world hardware IDs, such as IMEI number, belonging to the manufactured device. Methods that operate on devices take a `DeviceReference` as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read [Identifiers](/zero-touch/guides/identifiers).
* A `DeviceReference` is an API abstraction that lets you supply a _device_ argument to a method using one of the following identifier types: * A numeric API resource ID. * Real-world hardware IDs, such as IMEI number, belonging to the manufactured device. Methods that operate on devices take a `DeviceReference` as a parameter type because it's more flexible for the caller. To learn more about device identifiers, read [Identifiers](https://developers.google.com/zero-touch/guides/identifiers).
*/
export interface Schema$DeviceReference {
/**
Expand Down Expand Up @@ -489,7 +489,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
export interface Schema$FindDevicesByDeviceIdentifierRequest {
/**
* Required. The device identifier to search for.
* Required. Required. The device identifier to search for.
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
Expand Down Expand Up @@ -662,7 +662,7 @@ export namespace androiddeviceprovisioning_v1 {
*/
customerId?: string | null;
/**
* Required. Device identifier of the device.
* Required. Required. Device identifier of the device.
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
Expand All @@ -679,23 +679,23 @@ export namespace androiddeviceprovisioning_v1 {
*/
export interface Schema$PartnerUnclaim {
/**
* Device ID of the device.
* Required. Device ID of the device.
*/
deviceId?: string | null;
/**
* Device identifier of the device.
* Required. Device identifier of the device.
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
* Required. The section type of the device's provisioning record.
*/
sectionType?: string | null;
/**
* The duration of the vacation unlock starting from when the request is processed. (1 day is treated as 24 hours)
* Optional. The duration of the vacation unlock starting from when the request is processed. (1 day is treated as 24 hours)
*/
vacationModeDays?: number | null;
/**
* The expiration time of the vacation unlock.
* Optional. The expiration time of the vacation unlock.
*/
vacationModeExpireTime?: string | null;
}
Expand Down Expand Up @@ -742,11 +742,11 @@ export namespace androiddeviceprovisioning_v1 {
*/
export interface Schema$UnclaimDeviceRequest {
/**
* The device ID returned by `ClaimDevice`.
* Required. The device ID returned by `ClaimDevice`.
*/
deviceId?: string | null;
/**
* The device identifier you used when you claimed this device.
* Required. The device identifier you used when you claimed this device.
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
Expand Down Expand Up @@ -794,11 +794,11 @@ export namespace androiddeviceprovisioning_v1 {
*/
export interface Schema$UpdateMetadataArguments {
/**
* Device ID of the device.
* Required. Device ID of the device.
*/
deviceId?: string | null;
/**
* Device identifier.
* Required. Device identifier.
*/
deviceIdentifier?: Schema$DeviceIdentifier;
/**
Expand Down

0 comments on commit 265d4c0

Please sign in to comment.