#include <new_permissions_event.h>
An event generated when new permissions are added to an app.
◆ NewPermissionsEvent() [1/2]
google_androidenterprise_api::NewPermissionsEvent::NewPermissionsEvent |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ NewPermissionsEvent() [2/2]
google_androidenterprise_api::NewPermissionsEvent::NewPermissionsEvent |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~NewPermissionsEvent()
google_androidenterprise_api::NewPermissionsEvent::~NewPermissionsEvent |
( |
| ) |
|
|
virtual |
◆ clear_approved_permissions()
void google_androidenterprise_api::NewPermissionsEvent::clear_approved_permissions |
( |
| ) |
|
|
inline |
Clears the 'approvedPermissions
' attribute.
◆ clear_product_id()
void google_androidenterprise_api::NewPermissionsEvent::clear_product_id |
( |
| ) |
|
|
inline |
Clears the 'productId
' attribute.
◆ clear_requested_permissions()
void google_androidenterprise_api::NewPermissionsEvent::clear_requested_permissions |
( |
| ) |
|
|
inline |
Clears the 'requestedPermissions
' attribute.
◆ get_approved_permissions()
const client::JsonCppArray<string > google_androidenterprise_api::NewPermissionsEvent::get_approved_permissions |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'approvedPermissions
' attribute.
◆ get_product_id()
const StringPiece google_androidenterprise_api::NewPermissionsEvent::get_product_id |
( |
| ) |
const |
|
inline |
Get the value of the 'productId
' attribute.
◆ get_requested_permissions()
const client::JsonCppArray<string > google_androidenterprise_api::NewPermissionsEvent::get_requested_permissions |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'requestedPermissions
' attribute.
◆ GetTypeName()
const StringPiece google_androidenterprise_api::NewPermissionsEvent::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_approved_permissions()
bool google_androidenterprise_api::NewPermissionsEvent::has_approved_permissions |
( |
| ) |
const |
|
inline |
Determine if the 'approvedPermissions
' attribute was set.
- Returns
- true if the '
approvedPermissions
' attribute was set.
◆ has_product_id()
bool google_androidenterprise_api::NewPermissionsEvent::has_product_id |
( |
| ) |
const |
|
inline |
Determine if the 'productId
' attribute was set.
- Returns
- true if the '
productId
' attribute was set.
◆ has_requested_permissions()
bool google_androidenterprise_api::NewPermissionsEvent::has_requested_permissions |
( |
| ) |
const |
|
inline |
Determine if the 'requestedPermissions
' attribute was set.
- Returns
- true if the '
requestedPermissions
' attribute was set.
◆ mutable_approvedPermissions()
client::JsonCppArray<string > google_androidenterprise_api::NewPermissionsEvent::mutable_approvedPermissions |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'approvedPermissions
' property.
The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_requestedPermissions()
client::JsonCppArray<string > google_androidenterprise_api::NewPermissionsEvent::mutable_requestedPermissions |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'requestedPermissions
' property.
The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_product_id()
void google_androidenterprise_api::NewPermissionsEvent::set_product_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'productId
' attribute.
The id of the product (e.g. "app:com.google.android.gm") for which new permissions were added. This field will always be present.
- Parameters
-
The documentation for this class was generated from the following files: