[][src]Struct google_androidmanagement1::Enterprise

pub struct Enterprise {
    pub terms_and_conditions: Option<Vec<TermsAndConditions>>,
    pub name: Option<String>,
    pub enabled_notification_types: Option<Vec<String>>,
    pub logo: Option<ExternalData>,
    pub signin_details: Option<Vec<SigninDetail>>,
    pub enterprise_display_name: Option<String>,
    pub primary_color: Option<i32>,
    pub pubsub_topic: Option<String>,
    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

terms_and_conditions: Option<Vec<TermsAndConditions>>

Terms and conditions that must be accepted when provisioning a device for this enterprise. A page of terms is generated for each value in this list.

name: Option<String>

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

enabled_notification_types: Option<Vec<String>>

The types of Google Pub/Sub notifications enabled for the enterprise.

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.

signin_details: Option<Vec<SigninDetail>>

Sign-in details of the enterprise. Maximum of 1 SigninDetail is supported.

enterprise_display_name: Option<String>

The name of the enterprise displayed to users.

primary_color: Option<i32>

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

pubsub_topic: Option<String>

The topic that Cloud Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.

app_auto_approval_enabled: Option<bool>

Deprecated and unused.

Trait Implementations

impl Resource for Enterprise[src]

impl ResponseResult for Enterprise[src]

impl RequestValue for Enterprise[src]

impl Default for Enterprise[src]

impl Clone for Enterprise[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Enterprise[src]

impl Serialize for Enterprise[src]

impl<'de> Deserialize<'de> for Enterprise[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]