Struct google_androidmanagement1::Enterprise[][src]

pub struct Enterprise {
    pub enabled_notification_types: Option<Vec<String>>,
    pub name: Option<String>,
    pub enterprise_display_name: Option<String>,
    pub logo: Option<ExternalData>,
    pub pubsub_topic: Option<String>,
    pub primary_color: Option<i32>,
    pub app_auto_approval_enabled: Option<bool>,
}

The configuration applied to an enterprise.

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

The notification types to enable via Google Cloud Pub/Sub.

The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}

The name of the enterprise as it will appear to users.

An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng.

When Cloud Pub/Sub notifications are enabled, this field is required to indicate the topic to which the notifications will be published. The format of this field is projects/{project}/topics/{topic}. You must have granted the publish permission on this topic to android-cloud-policy@system.gserviceaccount.com

A color in RGB format indicating the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where each component may take a value between 0 and 255 inclusive.

Whether app auto-approval is enabled. When enabled, apps installed via policy for this enterprise have all permissions automatically approved. When enabled, it is the caller's responsibility to display the permissions required by an app to the enterprise admin before setting the app to be installed in a policy.

Trait Implementations

impl Default for Enterprise
[src]

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

impl Clone for Enterprise
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Enterprise
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Enterprise
[src]

impl Resource for Enterprise
[src]

impl ResponseResult for Enterprise
[src]

Auto Trait Implementations

impl Send for Enterprise

impl Sync for Enterprise