docs: update docs/dyn (#1096)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/6f0f288a-a1e8-4b2d-a85f-00b1c6150185/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/39b7149da4026765385403632db3c6f63db96b2c
Source-Link: https://github.com/googleapis/synthtool/commit/9a7d9fbb7045c34c9d3d22c1ff766eeae51f04c9
Source-Link: https://github.com/googleapis/synthtool/commit/dc9903a8c30c3662b6098f0e4a97f221d67268b2
Source-Link: https://github.com/googleapis/synthtool/commit/7fcc405a579d5d53a726ff3da1b7c8c08f0f2d58
Source-Link: https://github.com/googleapis/synthtool/commit/d5fc0bcf9ea9789c5b0e3154a9e3b29e5cea6116
Source-Link: https://github.com/googleapis/synthtool/commit/e89175cf074dccc4babb4eca66ae913696e47a71
Source-Link: https://github.com/googleapis/synthtool/commit/7d652819519dfa24da9e14548232e4aaba71a11c
Source-Link: https://github.com/googleapis/synthtool/commit/7db8a6c5ffb12a6e4c2f799c18f00f7f3d60e279
Source-Link: https://github.com/googleapis/synthtool/commit/1f1148d3c7a7a52f0c98077f976bd9b3c948ee2b
Source-Link: https://github.com/googleapis/synthtool/commit/2c8aecedd55b0480fb4e123b6e07fa5b12953862
Source-Link: https://github.com/googleapis/synthtool/commit/3d3e94c4e02370f307a9a200b0c743c3d8d19f29
Source-Link: https://github.com/googleapis/synthtool/commit/c7824ea48ff6d4d42dfae0849aec8a85acd90bd9
Source-Link: https://github.com/googleapis/synthtool/commit/ba9918cd22874245b55734f57470c719b577e591
Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324
Source-Link: https://github.com/googleapis/synthtool/commit/6542bd723403513626f61642fc02ddca528409aa
diff --git a/docs/dyn/androidenterprise_v1.devices.html b/docs/dyn/androidenterprise_v1.devices.html
index 296afe1..d708ad0 100644
--- a/docs/dyn/androidenterprise_v1.devices.html
+++ b/docs/dyn/androidenterprise_v1.devices.html
@@ -133,79 +133,48 @@
An object of the form:
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
+ "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"report": { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
- "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
"appState": [ # List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.
{ # List of states set by the app.
+ "packageName": "A String", # The package name of the app. This field will always be present.
"keyedAppState": [ # List of keyed app states. This field will always be present.
{ # Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.
- "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
"message": "A String", # Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
- "severity": "A String", # Severity of the app state. This field will always be present.
- "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
"key": "A String", # Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
+ "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
+ "severity": "A String", # Severity of the app state. This field will always be present.
+ "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
},
],
- "packageName": "A String", # The package name of the app. This field will always be present.
},
],
+ "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
},
"managementType": "A String", # 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.
- "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"policy": { # The device policy for a given managed device. # The policy enforced on the device.
"maintenanceWindow": { # Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window. # The maintenance window defining when apps running in the foreground should be updated.
- "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
"durationMs": "A String", # Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
+ "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
},
- "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
- "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productPolicy": [ # The list of product policies. The productAvailabilityPolicy needs to be set to WHITELIST or ALL for the product policies to be applied.
{ # The policy for a product.
"productId": "A String", # The ID of the product. For example, "app:com.google.android.gm".
"autoInstallPolicy": { # The auto-install policy for the product.
"autoInstallConstraint": [ # The constraints for auto-installing the app. You can specify a maximum of one constraint.
{ # The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
- "chargingStateConstraint": "A String", # Charging state constraint.
- "networkTypeConstraint": "A String", # Network type constraint.
"deviceIdleStateConstraint": "A String", # Device idle state constraint.
+ "networkTypeConstraint": "A String", # Network type constraint.
+ "chargingStateConstraint": "A String", # Charging state constraint.
},
],
"autoInstallMode": "A String", # The auto-install mode. If unset defaults to "doNotAutoInstall".
- "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
"minimumVersionCode": 42, # The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
+ "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
},
- "tracks": [ # Deprecated. Use trackIds instead.
- "A String",
- ],
- "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
- "A String",
- ],
"managedConfiguration": { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. # The managed configuration for the product.
- "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
- "variableSet": [ # The variable set that is attributed to the user.
- { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
- "placeholder": "A String", # The placeholder string; defined by EMM.
- "userValue": "A String", # The value of the placeholder, specific to the user.
- },
- ],
- "mcmId": "A String", # The ID of the managed configurations settings.
- },
- "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
- "kind": "A String", # Deprecated.
"managedProperty": [ # The set of managed properties for this configuration.
{ # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
- "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
- "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
- "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
- "managedProperty": [ # The list of managed properties.
- # Object with schema name: ManagedProperty
- ],
- },
- "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
- "A String",
- ],
- "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
- "key": "A String", # The unique key that identifies the property.
"valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
{ # A bundle of managed properties.
"managedProperty": [ # The list of managed properties.
@@ -213,13 +182,44 @@
],
},
],
+ "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
+ "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
+ "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
+ "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
+ "managedProperty": [ # The list of managed properties.
+ # Object with schema name: ManagedProperty
+ ],
+ },
+ "key": "A String", # The unique key that identifies the property.
+ "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
+ "A String",
+ ],
},
],
+ "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
+ "variableSet": [ # The variable set that is attributed to the user.
+ { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
+ "userValue": "A String", # The value of the placeholder, specific to the user.
+ "placeholder": "A String", # The placeholder string; defined by EMM.
+ },
+ ],
+ "mcmId": "A String", # The ID of the managed configurations settings.
+ },
+ "kind": "A String", # Deprecated.
+ "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
},
"autoUpdateMode": "A String", # The auto-update mode for the product.
+ "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
+ "A String",
+ ],
+ "tracks": [ # Deprecated. Use trackIds instead.
+ "A String",
+ ],
},
],
+ "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productAvailabilityPolicy": "A String", # The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.
+ "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
},
}</pre>
</div>
@@ -263,79 +263,48 @@
{
"device": [ # A managed device.
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
+ "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"report": { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
- "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
"appState": [ # List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.
{ # List of states set by the app.
+ "packageName": "A String", # The package name of the app. This field will always be present.
"keyedAppState": [ # List of keyed app states. This field will always be present.
{ # Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.
- "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
"message": "A String", # Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
- "severity": "A String", # Severity of the app state. This field will always be present.
- "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
"key": "A String", # Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
+ "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
+ "severity": "A String", # Severity of the app state. This field will always be present.
+ "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
},
],
- "packageName": "A String", # The package name of the app. This field will always be present.
},
],
+ "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
},
"managementType": "A String", # 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.
- "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"policy": { # The device policy for a given managed device. # The policy enforced on the device.
"maintenanceWindow": { # Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window. # The maintenance window defining when apps running in the foreground should be updated.
- "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
"durationMs": "A String", # Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
+ "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
},
- "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
- "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productPolicy": [ # The list of product policies. The productAvailabilityPolicy needs to be set to WHITELIST or ALL for the product policies to be applied.
{ # The policy for a product.
"productId": "A String", # The ID of the product. For example, "app:com.google.android.gm".
"autoInstallPolicy": { # The auto-install policy for the product.
"autoInstallConstraint": [ # The constraints for auto-installing the app. You can specify a maximum of one constraint.
{ # The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
- "chargingStateConstraint": "A String", # Charging state constraint.
- "networkTypeConstraint": "A String", # Network type constraint.
"deviceIdleStateConstraint": "A String", # Device idle state constraint.
+ "networkTypeConstraint": "A String", # Network type constraint.
+ "chargingStateConstraint": "A String", # Charging state constraint.
},
],
"autoInstallMode": "A String", # The auto-install mode. If unset defaults to "doNotAutoInstall".
- "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
"minimumVersionCode": 42, # The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
+ "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
},
- "tracks": [ # Deprecated. Use trackIds instead.
- "A String",
- ],
- "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
- "A String",
- ],
"managedConfiguration": { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. # The managed configuration for the product.
- "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
- "variableSet": [ # The variable set that is attributed to the user.
- { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
- "placeholder": "A String", # The placeholder string; defined by EMM.
- "userValue": "A String", # The value of the placeholder, specific to the user.
- },
- ],
- "mcmId": "A String", # The ID of the managed configurations settings.
- },
- "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
- "kind": "A String", # Deprecated.
"managedProperty": [ # The set of managed properties for this configuration.
{ # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
- "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
- "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
- "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
- "managedProperty": [ # The list of managed properties.
- # Object with schema name: ManagedProperty
- ],
- },
- "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
- "A String",
- ],
- "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
- "key": "A String", # The unique key that identifies the property.
"valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
{ # A bundle of managed properties.
"managedProperty": [ # The list of managed properties.
@@ -343,13 +312,44 @@
],
},
],
+ "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
+ "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
+ "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
+ "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
+ "managedProperty": [ # The list of managed properties.
+ # Object with schema name: ManagedProperty
+ ],
+ },
+ "key": "A String", # The unique key that identifies the property.
+ "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
+ "A String",
+ ],
},
],
+ "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
+ "variableSet": [ # The variable set that is attributed to the user.
+ { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
+ "userValue": "A String", # The value of the placeholder, specific to the user.
+ "placeholder": "A String", # The placeholder string; defined by EMM.
+ },
+ ],
+ "mcmId": "A String", # The ID of the managed configurations settings.
+ },
+ "kind": "A String", # Deprecated.
+ "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
},
"autoUpdateMode": "A String", # The auto-update mode for the product.
+ "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
+ "A String",
+ ],
+ "tracks": [ # Deprecated. Use trackIds instead.
+ "A String",
+ ],
},
],
+ "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productAvailabilityPolicy": "A String", # The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.
+ "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
},
},
],
@@ -396,79 +396,48 @@
The object takes the form of:
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
+ "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"report": { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
- "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
"appState": [ # List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.
{ # List of states set by the app.
+ "packageName": "A String", # The package name of the app. This field will always be present.
"keyedAppState": [ # List of keyed app states. This field will always be present.
{ # Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.
- "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
"message": "A String", # Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
- "severity": "A String", # Severity of the app state. This field will always be present.
- "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
"key": "A String", # Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
+ "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
+ "severity": "A String", # Severity of the app state. This field will always be present.
+ "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
},
],
- "packageName": "A String", # The package name of the app. This field will always be present.
},
],
+ "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
},
"managementType": "A String", # 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.
- "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"policy": { # The device policy for a given managed device. # The policy enforced on the device.
"maintenanceWindow": { # Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window. # The maintenance window defining when apps running in the foreground should be updated.
- "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
"durationMs": "A String", # Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
+ "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
},
- "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
- "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productPolicy": [ # The list of product policies. The productAvailabilityPolicy needs to be set to WHITELIST or ALL for the product policies to be applied.
{ # The policy for a product.
"productId": "A String", # The ID of the product. For example, "app:com.google.android.gm".
"autoInstallPolicy": { # The auto-install policy for the product.
"autoInstallConstraint": [ # The constraints for auto-installing the app. You can specify a maximum of one constraint.
{ # The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
- "chargingStateConstraint": "A String", # Charging state constraint.
- "networkTypeConstraint": "A String", # Network type constraint.
"deviceIdleStateConstraint": "A String", # Device idle state constraint.
+ "networkTypeConstraint": "A String", # Network type constraint.
+ "chargingStateConstraint": "A String", # Charging state constraint.
},
],
"autoInstallMode": "A String", # The auto-install mode. If unset defaults to "doNotAutoInstall".
- "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
"minimumVersionCode": 42, # The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
+ "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
},
- "tracks": [ # Deprecated. Use trackIds instead.
- "A String",
- ],
- "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
- "A String",
- ],
"managedConfiguration": { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. # The managed configuration for the product.
- "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
- "variableSet": [ # The variable set that is attributed to the user.
- { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
- "placeholder": "A String", # The placeholder string; defined by EMM.
- "userValue": "A String", # The value of the placeholder, specific to the user.
- },
- ],
- "mcmId": "A String", # The ID of the managed configurations settings.
- },
- "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
- "kind": "A String", # Deprecated.
"managedProperty": [ # The set of managed properties for this configuration.
{ # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
- "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
- "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
- "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
- "managedProperty": [ # The list of managed properties.
- # Object with schema name: ManagedProperty
- ],
- },
- "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
- "A String",
- ],
- "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
- "key": "A String", # The unique key that identifies the property.
"valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
{ # A bundle of managed properties.
"managedProperty": [ # The list of managed properties.
@@ -476,13 +445,44 @@
],
},
],
+ "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
+ "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
+ "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
+ "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
+ "managedProperty": [ # The list of managed properties.
+ # Object with schema name: ManagedProperty
+ ],
+ },
+ "key": "A String", # The unique key that identifies the property.
+ "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
+ "A String",
+ ],
},
],
+ "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
+ "variableSet": [ # The variable set that is attributed to the user.
+ { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
+ "userValue": "A String", # The value of the placeholder, specific to the user.
+ "placeholder": "A String", # The placeholder string; defined by EMM.
+ },
+ ],
+ "mcmId": "A String", # The ID of the managed configurations settings.
+ },
+ "kind": "A String", # Deprecated.
+ "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
},
"autoUpdateMode": "A String", # The auto-update mode for the product.
+ "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
+ "A String",
+ ],
+ "tracks": [ # Deprecated. Use trackIds instead.
+ "A String",
+ ],
},
],
+ "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productAvailabilityPolicy": "A String", # The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.
+ "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
},
}
@@ -496,79 +496,48 @@
An object of the form:
{ # A Devices resource represents a mobile device managed by the EMM and belonging to a specific enterprise user.
+ "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"report": { # Device report updated with the latest app states for managed apps on the device. # The device report updated with the latest app states.
- "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
"appState": [ # List of app states set by managed apps on the device. App states are defined by the app's developers. This field will always be present.
{ # List of states set by the app.
+ "packageName": "A String", # The package name of the app. This field will always be present.
"keyedAppState": [ # List of keyed app states. This field will always be present.
{ # Represents a keyed app state containing a key, timestamp, severity level, optional description, and optional data.
- "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
"message": "A String", # Free-form, human-readable message describing the app state. For example, an error message. To prevent XSS, we recommend removing any HTML from the message before displaying it.
- "severity": "A String", # Severity of the app state. This field will always be present.
- "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
"key": "A String", # Key indicating what the app is providing a state for. The content of the key is set by the app's developer. To prevent XSS, we recommend removing any HTML from the key before displaying it. This field will always be present.
+ "data": "A String", # Additional field intended for machine-readable data. For example, a number or JSON object. To prevent XSS, we recommend removing any HTML from the data before displaying it.
+ "severity": "A String", # Severity of the app state. This field will always be present.
+ "stateTimestampMillis": "A String", # Timestamp of when the app set the state in milliseconds since epoch. This field will always be present.
},
],
- "packageName": "A String", # The package name of the app. This field will always be present.
},
],
+ "lastUpdatedTimestampMillis": "A String", # The timestamp of the last report update in milliseconds since epoch. This field will always be present.
},
"managementType": "A String", # 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.
- "androidId": "A String", # The Google Play Services Android ID for the device encoded as a lowercase hex string. For example, "123456789abcdef0".
"policy": { # The device policy for a given managed device. # The policy enforced on the device.
"maintenanceWindow": { # Maintenance window for managed Google Play Accounts. This allows Play store to update the apps on the foreground in the designated window. # The maintenance window defining when apps running in the foreground should be updated.
- "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
"durationMs": "A String", # Duration of the maintenance window, in milliseconds. The duration must be between 30 minutes and 24 hours (inclusive).
+ "startTimeAfterMidnightMs": "A String", # Start time of the maintenance window, in milliseconds after midnight on the device. Windows can span midnight.
},
- "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
- "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productPolicy": [ # The list of product policies. The productAvailabilityPolicy needs to be set to WHITELIST or ALL for the product policies to be applied.
{ # The policy for a product.
"productId": "A String", # The ID of the product. For example, "app:com.google.android.gm".
"autoInstallPolicy": { # The auto-install policy for the product.
"autoInstallConstraint": [ # The constraints for auto-installing the app. You can specify a maximum of one constraint.
{ # The auto-install constraint. Defines a set of restrictions for installation. At least one of the fields must be set.
- "chargingStateConstraint": "A String", # Charging state constraint.
- "networkTypeConstraint": "A String", # Network type constraint.
"deviceIdleStateConstraint": "A String", # Device idle state constraint.
+ "networkTypeConstraint": "A String", # Network type constraint.
+ "chargingStateConstraint": "A String", # Charging state constraint.
},
],
"autoInstallMode": "A String", # The auto-install mode. If unset defaults to "doNotAutoInstall".
- "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
"minimumVersionCode": 42, # The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device.
+ "autoInstallPriority": 42, # The priority of the install, as an unsigned integer. A lower number means higher priority.
},
- "tracks": [ # Deprecated. Use trackIds instead.
- "A String",
- ],
- "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
- "A String",
- ],
"managedConfiguration": { # A managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user. # The managed configuration for the product.
- "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
- "variableSet": [ # The variable set that is attributed to the user.
- { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
- "placeholder": "A String", # The placeholder string; defined by EMM.
- "userValue": "A String", # The value of the placeholder, specific to the user.
- },
- ],
- "mcmId": "A String", # The ID of the managed configurations settings.
- },
- "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
- "kind": "A String", # Deprecated.
"managedProperty": [ # The set of managed properties for this configuration.
{ # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.
- "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
- "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
- "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
- "managedProperty": [ # The list of managed properties.
- # Object with schema name: ManagedProperty
- ],
- },
- "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
- "A String",
- ],
- "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
- "key": "A String", # The unique key that identifies the property.
"valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array.
{ # A bundle of managed properties.
"managedProperty": [ # The list of managed properties.
@@ -576,13 +545,44 @@
],
},
],
+ "valueInteger": 42, # The integer value - this will only be present if type of the property is integer.
+ "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden.
+ "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool.
+ "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle.
+ "managedProperty": [ # The list of managed properties.
+ # Object with schema name: ManagedProperty
+ ],
+ },
+ "key": "A String", # The unique key that identifies the property.
+ "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect.
+ "A String",
+ ],
},
],
+ "configurationVariables": { # A configuration variables resource contains the managed configuration settings ID to be applied to a single user, as well as the variable set that is attributed to the user. The variable set will be used to replace placeholders in the managed configuration settings. # Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user.
+ "variableSet": [ # The variable set that is attributed to the user.
+ { # A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
+ "userValue": "A String", # The value of the placeholder, specific to the user.
+ "placeholder": "A String", # The placeholder string; defined by EMM.
+ },
+ ],
+ "mcmId": "A String", # The ID of the managed configurations settings.
+ },
+ "kind": "A String", # Deprecated.
+ "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm".
},
"autoUpdateMode": "A String", # The auto-update mode for the product.
+ "trackIds": [ # Grants the device visibility to the specified product release track(s), identified by trackIds. The list of release tracks of a product can be obtained by calling Products.Get.
+ "A String",
+ ],
+ "tracks": [ # Deprecated. Use trackIds instead.
+ "A String",
+ ],
},
],
+ "autoUpdatePolicy": "A String", # The auto-update policy for apps installed on the device. "choiceToTheUser" allows the device's user to configure the app update policy. "always" enables auto updates. "never" disables auto updates. "wifiOnly" enables auto updates only when the device is connected to wifi.
"productAvailabilityPolicy": "A String", # The availability granted to the device for the specified products. "all" gives the device access to all products, regardless of approval status. "all" does not enable automatic visibility of "alpha" or "beta" tracks. "whitelist" grants the device access the products specified in productPolicy[]. Only products that are approved or products that were previously approved (products with revoked approval) by the enterprise can be whitelisted. If no value is provided, the availability set at the user level is applied by default.
+ "deviceReportPolicy": "A String", # Whether the device reports app states to the EMM. The default value is "deviceReportDisabled".
},
}</pre>
</div>