Skip to content

Commit a5c1474

Browse files
feat(androidenterprise): update the api
#### androidenterprise:v1 The following keys were added: - schemas.Device.properties.device.type (Total Keys: 1) - schemas.Device.properties.latestBuildFingerprint.type (Total Keys: 1) - schemas.Device.properties.maker.type (Total Keys: 1) - schemas.Device.properties.model.type (Total Keys: 1) - schemas.Device.properties.product.type (Total Keys: 1) - schemas.Device.properties.retailBrand.type (Total Keys: 1) - schemas.Device.properties.sdkVersion (Total Keys: 2)
1 parent 547eb4a commit a5c1474

File tree

2 files changed

+58
-1
lines changed

2 files changed

+58
-1
lines changed

docs/dyn/androidenterprise_v1.devices.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,11 @@ <h3>Method Details</h3>
134134

135135
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
136136
&quot;androidId&quot;: &quot;A String&quot;, # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, &quot;123456789abcdef0&quot;.
137+
&quot;device&quot;: &quot;A String&quot;, # The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named &quot;device&quot; per logs/wireless/android/android_checkin.proto)
138+
&quot;latestBuildFingerprint&quot;: &quot;A String&quot;, # The build fingerprint of the device if known.
139+
&quot;maker&quot;: &quot;A String&quot;, # The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
137140
&quot;managementType&quot;: &quot;A String&quot;, # Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - &quot;managedDevice&quot;, a device that has the EMM&#x27;s device policy controller (DPC) as the device owner. - &quot;managedProfile&quot;, a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - &quot;containerApp&quot;, no longer used (deprecated). - &quot;unmanagedProfile&quot;, a device that has been allowed (by the domain&#x27;s admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
141+
&quot;model&quot;: &quot;A String&quot;, # The model name of the device. This comes from android.os.Build.MODEL.
138142
&quot;policy&quot;: { # The device policy for a given managed device. # The policy enforced on the device.
139143
&quot;autoUpdatePolicy&quot;: &quot;A String&quot;, # Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect. &quot;choiceToTheUser&quot; allows the device&#x27;s user to configure the app update policy. &quot;always&quot; enables auto updates. &quot;never&quot; disables auto updates. &quot;wifiOnly&quot; enables auto updates only when the device is connected to wifi.
140144
&quot;deviceReportPolicy&quot;: &quot;A String&quot;, # Whether the device reports app states to the EMM. The default value is &quot;deviceReportDisabled&quot;.
@@ -209,6 +213,7 @@ <h3>Method Details</h3>
209213
},
210214
],
211215
},
216+
&quot;product&quot;: &quot;A String&quot;, # The product name of the device. This comes from android.os.Build.PRODUCT.
212217
&quot;report&quot;: { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
213218
&quot;appState&quot;: [ # List of app states set by managed apps on the device. App states are defined by the app&#x27;s developers. This field will always be present.
214219
{ # List of states set by the app.
@@ -226,6 +231,8 @@ <h3>Method Details</h3>
226231
],
227232
&quot;lastUpdatedTimestampMillis&quot;: &quot;A String&quot;, # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
228233
},
234+
&quot;retailBrand&quot;: &quot;A String&quot;, # Retail brand for the device, if set. See https://developer.android.com/reference/android/os/Build.html#BRAND
235+
&quot;sdkVersion&quot;: 42, # API compatibility version.
229236
}</pre>
230237
</div>
231238

@@ -269,7 +276,11 @@ <h3>Method Details</h3>
269276
&quot;device&quot;: [ # A managed device.
270277
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
271278
&quot;androidId&quot;: &quot;A String&quot;, # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, &quot;123456789abcdef0&quot;.
279+
&quot;device&quot;: &quot;A String&quot;, # The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named &quot;device&quot; per logs/wireless/android/android_checkin.proto)
280+
&quot;latestBuildFingerprint&quot;: &quot;A String&quot;, # The build fingerprint of the device if known.
281+
&quot;maker&quot;: &quot;A String&quot;, # The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
272282
&quot;managementType&quot;: &quot;A String&quot;, # Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - &quot;managedDevice&quot;, a device that has the EMM&#x27;s device policy controller (DPC) as the device owner. - &quot;managedProfile&quot;, a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - &quot;containerApp&quot;, no longer used (deprecated). - &quot;unmanagedProfile&quot;, a device that has been allowed (by the domain&#x27;s admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
283+
&quot;model&quot;: &quot;A String&quot;, # The model name of the device. This comes from android.os.Build.MODEL.
273284
&quot;policy&quot;: { # The device policy for a given managed device. # The policy enforced on the device.
274285
&quot;autoUpdatePolicy&quot;: &quot;A String&quot;, # Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect. &quot;choiceToTheUser&quot; allows the device&#x27;s user to configure the app update policy. &quot;always&quot; enables auto updates. &quot;never&quot; disables auto updates. &quot;wifiOnly&quot; enables auto updates only when the device is connected to wifi.
275286
&quot;deviceReportPolicy&quot;: &quot;A String&quot;, # Whether the device reports app states to the EMM. The default value is &quot;deviceReportDisabled&quot;.
@@ -344,6 +355,7 @@ <h3>Method Details</h3>
344355
},
345356
],
346357
},
358+
&quot;product&quot;: &quot;A String&quot;, # The product name of the device. This comes from android.os.Build.PRODUCT.
347359
&quot;report&quot;: { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
348360
&quot;appState&quot;: [ # List of app states set by managed apps on the device. App states are defined by the app&#x27;s developers. This field will always be present.
349361
{ # List of states set by the app.
@@ -361,6 +373,8 @@ <h3>Method Details</h3>
361373
],
362374
&quot;lastUpdatedTimestampMillis&quot;: &quot;A String&quot;, # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
363375
},
376+
&quot;retailBrand&quot;: &quot;A String&quot;, # Retail brand for the device, if set. See https://developer.android.com/reference/android/os/Build.html#BRAND
377+
&quot;sdkVersion&quot;: 42, # API compatibility version.
364378
},
365379
],
366380
}</pre>
@@ -407,7 +421,11 @@ <h3>Method Details</h3>
407421

408422
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
409423
&quot;androidId&quot;: &quot;A String&quot;, # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, &quot;123456789abcdef0&quot;.
424+
&quot;device&quot;: &quot;A String&quot;, # The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named &quot;device&quot; per logs/wireless/android/android_checkin.proto)
425+
&quot;latestBuildFingerprint&quot;: &quot;A String&quot;, # The build fingerprint of the device if known.
426+
&quot;maker&quot;: &quot;A String&quot;, # The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
410427
&quot;managementType&quot;: &quot;A String&quot;, # Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - &quot;managedDevice&quot;, a device that has the EMM&#x27;s device policy controller (DPC) as the device owner. - &quot;managedProfile&quot;, a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - &quot;containerApp&quot;, no longer used (deprecated). - &quot;unmanagedProfile&quot;, a device that has been allowed (by the domain&#x27;s admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
428+
&quot;model&quot;: &quot;A String&quot;, # The model name of the device. This comes from android.os.Build.MODEL.
411429
&quot;policy&quot;: { # The device policy for a given managed device. # The policy enforced on the device.
412430
&quot;autoUpdatePolicy&quot;: &quot;A String&quot;, # Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect. &quot;choiceToTheUser&quot; allows the device&#x27;s user to configure the app update policy. &quot;always&quot; enables auto updates. &quot;never&quot; disables auto updates. &quot;wifiOnly&quot; enables auto updates only when the device is connected to wifi.
413431
&quot;deviceReportPolicy&quot;: &quot;A String&quot;, # Whether the device reports app states to the EMM. The default value is &quot;deviceReportDisabled&quot;.
@@ -482,6 +500,7 @@ <h3>Method Details</h3>
482500
},
483501
],
484502
},
503+
&quot;product&quot;: &quot;A String&quot;, # The product name of the device. This comes from android.os.Build.PRODUCT.
485504
&quot;report&quot;: { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
486505
&quot;appState&quot;: [ # List of app states set by managed apps on the device. App states are defined by the app&#x27;s developers. This field will always be present.
487506
{ # List of states set by the app.
@@ -499,6 +518,8 @@ <h3>Method Details</h3>
499518
],
500519
&quot;lastUpdatedTimestampMillis&quot;: &quot;A String&quot;, # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
501520
},
521+
&quot;retailBrand&quot;: &quot;A String&quot;, # Retail brand for the device, if set. See https://developer.android.com/reference/android/os/Build.html#BRAND
522+
&quot;sdkVersion&quot;: 42, # API compatibility version.
502523
}
503524

504525
updateMask: string, Mask that identifies which fields to update. If not set, all modifiable fields will be modified. When set in a query parameter, this field should be specified as updateMask=&lt;field1&gt;,&lt;field2&gt;,...
@@ -512,7 +533,11 @@ <h3>Method Details</h3>
512533

513534
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
514535
&quot;androidId&quot;: &quot;A String&quot;, # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, &quot;123456789abcdef0&quot;.
536+
&quot;device&quot;: &quot;A String&quot;, # The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named &quot;device&quot; per logs/wireless/android/android_checkin.proto)
537+
&quot;latestBuildFingerprint&quot;: &quot;A String&quot;, # The build fingerprint of the device if known.
538+
&quot;maker&quot;: &quot;A String&quot;, # The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.
515539
&quot;managementType&quot;: &quot;A String&quot;, # Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - &quot;managedDevice&quot;, a device that has the EMM&#x27;s device policy controller (DPC) as the device owner. - &quot;managedProfile&quot;, a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - &quot;containerApp&quot;, no longer used (deprecated). - &quot;unmanagedProfile&quot;, a device that has been allowed (by the domain&#x27;s admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC.
540+
&quot;model&quot;: &quot;A String&quot;, # The model name of the device. This comes from android.os.Build.MODEL.
516541
&quot;policy&quot;: { # The device policy for a given managed device. # The policy enforced on the device.
517542
&quot;autoUpdatePolicy&quot;: &quot;A String&quot;, # Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency. When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect. &quot;choiceToTheUser&quot; allows the device&#x27;s user to configure the app update policy. &quot;always&quot; enables auto updates. &quot;never&quot; disables auto updates. &quot;wifiOnly&quot; enables auto updates only when the device is connected to wifi.
518543
&quot;deviceReportPolicy&quot;: &quot;A String&quot;, # Whether the device reports app states to the EMM. The default value is &quot;deviceReportDisabled&quot;.
@@ -587,6 +612,7 @@ <h3>Method Details</h3>
587612
},
588613
],
589614
},
615+
&quot;product&quot;: &quot;A String&quot;, # The product name of the device. This comes from android.os.Build.PRODUCT.
590616
&quot;report&quot;: { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
591617
&quot;appState&quot;: [ # List of app states set by managed apps on the device. App states are defined by the app&#x27;s developers. This field will always be present.
592618
{ # List of states set by the app.
@@ -604,6 +630,8 @@ <h3>Method Details</h3>
604630
],
605631
&quot;lastUpdatedTimestampMillis&quot;: &quot;A String&quot;, # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
606632
},
633+
&quot;retailBrand&quot;: &quot;A String&quot;, # Retail brand for the device, if set. See https://developer.android.com/reference/android/os/Build.html#BRAND
634+
&quot;sdkVersion&quot;: 42, # API compatibility version.
607635
}</pre>
608636
</div>
609637

googleapiclient/discovery_cache/documents/androidenterprise.v1.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@
26492649
}
26502650
}
26512651
},
2652-
"revision": "20230209",
2652+
"revision": "20230218",
26532653
"rootUrl": "https://androidenterprise.googleapis.com/",
26542654
"schemas": {
26552655
"Administrator": {
@@ -3157,6 +3157,18 @@
31573157
"description": "The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, \"123456789abcdef0\".",
31583158
"type": "string"
31593159
},
3160+
"device": {
3161+
"description": "The internal hardware codename of the device. This comes from android.os.Build.DEVICE. (field named \"device\" per logs/wireless/android/android_checkin.proto)",
3162+
"type": "string"
3163+
},
3164+
"latestBuildFingerprint": {
3165+
"description": "The build fingerprint of the device if known.",
3166+
"type": "string"
3167+
},
3168+
"maker": {
3169+
"description": "The manufacturer of the device. This comes from android.os.Build.MANUFACTURER.",
3170+
"type": "string"
3171+
},
31603172
"managementType": {
31613173
"description": "Identifies the extent to which the device is controlled by a managed Google Play EMM in various deployment configurations. Possible values include: - \"managedDevice\", a device that has the EMM's device policy controller (DPC) as the device owner. - \"managedProfile\", a device that has a profile managed by the DPC (DPC is profile owner) in addition to a separate, personal profile that is unavailable to the DPC. - \"containerApp\", no longer used (deprecated). - \"unmanagedProfile\", a device that has been allowed (by the domain's admin, using the Admin Console to enable the privilege) to use managed Google Play, but the profile is itself not owned by a DPC. ",
31623174
"enum": [
@@ -3173,13 +3185,30 @@
31733185
],
31743186
"type": "string"
31753187
},
3188+
"model": {
3189+
"description": "The model name of the device. This comes from android.os.Build.MODEL.",
3190+
"type": "string"
3191+
},
31763192
"policy": {
31773193
"$ref": "Policy",
31783194
"description": "The policy enforced on the device."
31793195
},
3196+
"product": {
3197+
"description": "The product name of the device. This comes from android.os.Build.PRODUCT.",
3198+
"type": "string"
3199+
},
31803200
"report": {
31813201
"$ref": "DeviceReport",
31823202
"description": "The device report updated with the latest app states."
3203+
},
3204+
"retailBrand": {
3205+
"description": "Retail brand for the device, if set. See https://developer.android.com/reference/android/os/Build.html#BRAND",
3206+
"type": "string"
3207+
},
3208+
"sdkVersion": {
3209+
"description": "API compatibility version.",
3210+
"format": "int32",
3211+
"type": "integer"
31833212
}
31843213
},
31853214
"type": "object"

0 commit comments

Comments
 (0)