mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
update all APIs
Like documented in the README ``` rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8 ```
This commit is contained in:
@@ -631,6 +631,32 @@
|
||||
"$ref": "Device"
|
||||
}
|
||||
},
|
||||
"getSimLockState": {
|
||||
"description": "Gets a device's SIM lock state.",
|
||||
"flatPath": "v1/partners/{partnersId}/devices:getSimLockState",
|
||||
"httpMethod": "POST",
|
||||
"id": "androiddeviceprovisioning.partners.devices.getSimLockState",
|
||||
"parameterOrder": [
|
||||
"partnerId"
|
||||
],
|
||||
"parameters": {
|
||||
"partnerId": {
|
||||
"description": "Required. The ID of the partner.",
|
||||
"format": "int64",
|
||||
"location": "path",
|
||||
"pattern": "^[^/]+$",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"path": "v1/partners/{+partnerId}/devices:getSimLockState",
|
||||
"request": {
|
||||
"$ref": "GetDeviceSimLockStateRequest"
|
||||
},
|
||||
"response": {
|
||||
"$ref": "GetDeviceSimLockStateResponse"
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"description": "Updates reseller metadata associated with the device. Android devices only.",
|
||||
"flatPath": "v1/partners/{partnersId}/devices/{devicesId}/metadata",
|
||||
@@ -825,13 +851,18 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20230115",
|
||||
"revision": "20240304",
|
||||
"rootUrl": "https://androiddeviceprovisioning.googleapis.com/",
|
||||
"schemas": {
|
||||
"ClaimDeviceRequest": {
|
||||
"description": "Request message to claim a device on behalf of a customer.",
|
||||
"id": "ClaimDeviceRequest",
|
||||
"properties": {
|
||||
"configurationId": {
|
||||
"description": "Optional. The ID of the configuration applied to the device section.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"customerId": {
|
||||
"description": "The ID of the customer for whom the device is being claimed.",
|
||||
"format": "int64",
|
||||
@@ -868,7 +899,7 @@
|
||||
"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).",
|
||||
"description": "Optional. Must and can only be set when DeviceProvisioningSectionType is SECTION_TYPE_SIM_LOCK. The unique identifier of the SimLock profile.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -1009,6 +1040,11 @@
|
||||
"description": "Required. The resource name of the selected DPC (device policy controller) in the format `customers/[CUSTOMER_ID]/dpcs/*`. To list the supported DPCs, call `customers.dpcs.list`.",
|
||||
"type": "string"
|
||||
},
|
||||
"forcedResetTime": {
|
||||
"description": "Optional. The timeout before forcing factory reset the device if the device doesn't go through provisioning in the setup wizard, usually due to lack of network connectivity during setup wizard. Ranges from 0-6 hours, with 2 hours being the default if unset.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
},
|
||||
"isDefault": {
|
||||
"description": "Required. Whether this is the default configuration that zero-touch enrollment applies to any new devices the organization purchases in the future. Only one customer configuration can be the default. Setting this value to `true`, changes the previous default configuration's `isDefault` value to `false`.",
|
||||
"type": "boolean"
|
||||
@@ -1495,6 +1531,39 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GetDeviceSimLockStateRequest": {
|
||||
"description": "Request to get a device's SIM lock status.",
|
||||
"id": "GetDeviceSimLockStateRequest",
|
||||
"properties": {
|
||||
"deviceIdentifier": {
|
||||
"$ref": "DeviceIdentifier",
|
||||
"description": "Required. Required. The device identifier to search for."
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GetDeviceSimLockStateResponse": {
|
||||
"description": "Response containing a device's SimLock state.",
|
||||
"id": "GetDeviceSimLockStateResponse",
|
||||
"properties": {
|
||||
"simLockState": {
|
||||
"enum": [
|
||||
"SIM_LOCK_STATE_UNSPECIFIED",
|
||||
"UNLOCKED",
|
||||
"LOCKED_TO_PARTNER",
|
||||
"LOCKED_TO_OTHER_PARTNER"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Invalid code. Shouldn't be used.",
|
||||
"Device is not SIM locked.",
|
||||
"Device is SIM locked to the partner querying SIM lock state.",
|
||||
"Device is SIM locked to a different partner."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GoogleWorkspaceAccount": {
|
||||
"description": "A Google Workspace customer.",
|
||||
"id": "GoogleWorkspaceAccount",
|
||||
@@ -1645,6 +1714,11 @@
|
||||
"description": "Identifies one claim request.",
|
||||
"id": "PartnerClaim",
|
||||
"properties": {
|
||||
"configurationId": {
|
||||
"description": "Optional. The ID of the configuration applied to the device section.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
},
|
||||
"customerId": {
|
||||
"description": "The ID of the customer for whom the device is being claimed.",
|
||||
"format": "int64",
|
||||
@@ -1679,6 +1753,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.",
|
||||
"format": "int64",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1752,7 +1831,8 @@
|
||||
"SINGLE_DEVICE_STATUS_INVALID_SECTION_TYPE",
|
||||
"SINGLE_DEVICE_STATUS_SECTION_NOT_YOURS",
|
||||
"SINGLE_DEVICE_STATUS_INVALID_TOKEN",
|
||||
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN"
|
||||
"SINGLE_DEVICE_STATUS_REVOKED_TOKEN",
|
||||
"SINGLE_DEVICE_STATUS_DEVICE_LIMIT_EXCEEDED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Invalid code. Shouldn't be used.",
|
||||
@@ -1764,7 +1844,8 @@
|
||||
"Invalid section type.",
|
||||
"This section is claimed by another company.",
|
||||
"Invalid pre-provisioning token.",
|
||||
"Revoked pre-provisioning token."
|
||||
"Revoked pre-provisioning token.",
|
||||
"Status used to indicate a failure due to a device limit being exceeded"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user