pub struct Enterprise {
pub app_auto_approval_enabled: Option<bool>,
pub contact_info: Option<ContactInfo>,
pub enabled_notification_types: Option<Vec<String>>,
pub enterprise_display_name: Option<String>,
pub google_authentication_settings: Option<GoogleAuthenticationSettings>,
pub logo: Option<ExternalData>,
pub name: Option<String>,
pub primary_color: Option<i32>,
pub pubsub_topic: Option<String>,
pub signin_details: Option<Vec<SigninDetail>>,
pub terms_and_conditions: Option<Vec<TermsAndConditions>>,
}
Expand description
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).
- applications get enterprises (none)
- devices operations cancel enterprises (none)
- devices operations get enterprises (none)
- devices operations list enterprises (none)
- devices delete enterprises (none)
- devices get enterprises (none)
- devices issue command enterprises (none)
- devices list enterprises (none)
- devices patch enterprises (none)
- enrollment tokens create enterprises (none)
- enrollment tokens delete enterprises (none)
- enrollment tokens get enterprises (none)
- enrollment tokens list enterprises (none)
- migration tokens create enterprises (none)
- migration tokens get enterprises (none)
- migration tokens list enterprises (none)
- policies delete enterprises (none)
- policies get enterprises (none)
- policies list enterprises (none)
- policies patch enterprises (none)
- web apps create enterprises (none)
- web apps delete enterprises (none)
- web apps get enterprises (none)
- web apps list enterprises (none)
- web apps patch enterprises (none)
- web tokens create enterprises (none)
- create enterprises (request|response)
- delete enterprises (none)
- get enterprises (response)
- list enterprises (none)
- patch enterprises (request|response)
Fields§
§app_auto_approval_enabled: Option<bool>
Deprecated and unused.
contact_info: Option<ContactInfo>
The enterprise contact info of an EMM-managed enterprise.
enabled_notification_types: Option<Vec<String>>
The types of Google Pub/Sub notifications enabled for the enterprise.
enterprise_display_name: Option<String>
The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
google_authentication_settings: Option<GoogleAuthenticationSettings>
Settings for Google-provided user authentication.
logo: Option<ExternalData>
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.
name: Option<String>
The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}.
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 which Pub/Sub notifications are published to, in the form projects/{project}/topics/{topic}. This field is only required if Pub/Sub notifications are enabled.
signin_details: Option<Vec<SigninDetail>>
Sign-in details of the enterprise.
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.
Trait Implementations§
Source§impl Clone for Enterprise
impl Clone for Enterprise
Source§fn clone(&self) -> Enterprise
fn clone(&self) -> Enterprise
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Enterprise
impl Debug for Enterprise
Source§impl Default for Enterprise
impl Default for Enterprise
Source§fn default() -> Enterprise
fn default() -> Enterprise
Source§impl<'de> Deserialize<'de> for Enterprise
impl<'de> Deserialize<'de> for Enterprise
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for Enterprise
impl Serialize for Enterprise
impl RequestValue for Enterprise
impl Resource for Enterprise
impl ResponseResult for Enterprise
Auto Trait Implementations§
impl Freeze for Enterprise
impl RefUnwindSafe for Enterprise
impl Send for Enterprise
impl Sync for Enterprise
impl Unpin for Enterprise
impl UnwindSafe for Enterprise
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more