Struct google_androidenterprise1::Collection [] [src]

pub struct Collection {
    pub kind: Option<String>,
    pub collection_id: Option<String>,
    pub name: Option<String>,
    pub visibility: Option<String>,
    pub product_id: Option<Vec<String>>,
}

A collection resource defines a named set of apps that is visible to a set of users in the Google Play Store app running on those users' managed devices. Those users can then install any of those apps if they wish (which will trigger creation of install and entitlement resources). A user cannot install an app on a managed device unless the app is listed in at least one collection that is visible to that user.

Note that the API can be used to directly install an app regardless of whether it is in any collection - so an enterprise has a choice of either directly pushing apps to users, or allowing users to install apps if they want. Which is appropriate will depend on the enterprise's policies and the purpose of the apps concerned.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Identifies what kind of resource this is. Value: the fixed string "androidenterprise#collection".

Arbitrary unique ID, allocated by the API on creation.

A user-friendly name for the collection (should be unique), e.g. "Accounting apps".

Whether this collection is visible to all users, or only to the users that have been granted access through the "Collectionviewers" API. With the launch of the "setAvailableProductSet" API, this property should always be set to "viewersOnly", as the "allUsers" option will bypass the "availableProductSet" for all users within a domain.

The "allUsers" setting is deprecated, and will be removed.

The IDs of the products in the collection, in the order in which they should be displayed.

Trait Implementations

impl Debug for Collection
[src]

Formats the value using the given formatter.

impl Clone for Collection
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Collection
[src]

Returns the "default value" for a type. Read more

impl RequestValue for Collection
[src]

impl Resource for Collection
[src]

impl ResponseResult for Collection
[src]