Struct google_androidmanagement1::Enterprise
source · pub struct Enterprise {
pub terms_and_conditions: Option<Vec<TermsAndConditions>>,
pub name: Option<String>,
pub enabled_notification_types: Option<Vec<String>>,
pub enterprise_display_name: Option<String>,
pub pubsub_topic: Option<String>,
pub primary_color: Option<i32>,
pub logo: Option<ExternalData>,
pub app_auto_approval_enabled: Option<bool>,
}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).
- devices list enterprises (none)
- devices patch enterprises (none)
- devices get enterprises (none)
- policies patch enterprises (none)
- create enterprises (request|response)
- patch enterprises (request|response)
- devices operations cancel enterprises (none)
- get enterprises (response)
- web tokens create enterprises (none)
- enrollment tokens create enterprises (none)
- enrollment tokens delete enterprises (none)
- policies list enterprises (none)
- policies delete enterprises (none)
- policies get enterprises (none)
- devices operations get enterprises (none)
- devices operations delete enterprises (none)
- devices issue command enterprises (none)
- devices delete enterprises (none)
- devices operations list enterprises (none)
- applications get enterprises (none)
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.
enterprise_display_name: Option<String>The name of the enterprise displayed to users.
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.
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.
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.
app_auto_approval_enabled: Option<bool>Deprecated and unused.
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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