Admin Directory API . resolvedAppAccessSettings

Instance Methods

GetSettings()

Retrieves resolved app access settings of the logged in user.

ListTrustedApps()

Retrieves the list of apps trusted by the admin of the logged in user.

Method Details

GetSettings()
Retrieves resolved app access settings of the logged in user.

Args:

Returns:
  An object of the form:

    { # JSON template for App Access Collections Resource object in Directory API.
    "kind": "admin#directory#appaccesscollection", # Identifies the resource as an app access collection. Value: admin#directory#appaccesscollection
    "trustDomainOwnedApps": True or False, # Boolean that indicates whether to trust domain owned apps.
    "resourceId": "A String", # Unique ID of app access collection. (Readonly)
    "errorMessage": "A String", # Error message provided by the Admin that will be shown to the user when an app is blocked.
    "etag": "A String", # ETag of the resource.
    "blockedApiAccessBuckets": [ # List of blocked api access buckets.
      "A String",
    ],
    "resourceName": "A String", # Resource name given by the customer while creating/updating. Should be unique under given customer.
    "enforceSettingsForAndroidDrive": True or False, # Boolean to indicate whether to enforce app access settings on Android Drive or not.
  }
ListTrustedApps()
Retrieves the list of apps trusted by the admin of the logged in user.

Args:

Returns:
  An object of the form:

    { # JSON template for Trusted Apps response object of a user in Directory API.
    "nextPageToken": "A String",
    "kind": "admin#directory#trustedapplist", # Identifies the resource as trusted apps response.
    "etag": "A String", # ETag of the resource.
    "trustedApps": [ # Trusted Apps list.
      { # JSON template for Trusted App Ids Resource object in Directory API.
        "androidPackageName": "A String", # Android package name.
        "kind": "admin#directory#trustedappid", # Identifies the resource as a trusted AppId.
        "etag": "A String",
        "certificateHashSHA1": "A String", # SHA1 signature of the app certificate.
        "certificateHashSHA256": "A String", # SHA256 signature of the app certificate.
      },
    ],
  }