Drive Labels API . users

Instance Methods

close()

Close httplib2 connections.

getCapabilities(name, customer=None, x__xgafv=None)

Gets the user capabilities.

Method Details

close()
Close httplib2 connections.
getCapabilities(name, customer=None, x__xgafv=None)
Gets the user capabilities.

Args:
  name: string, Required. The resource name of the user. Only "users/me/capabilities" is supported. (required)
  customer: string, The customer to scope this request to. For example: "customers/abcd1234". If unset, will return settings within the current customer.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The capabilities of a user.
  "canAccessLabelManager": True or False, # Output only. Whether the user is allowed access to the label manager.
  "canAdministrateLabels": True or False, # Output only. Whether the user is an administrator for the shared labels feature.
  "canCreateAdminLabels": True or False, # Output only. Whether the user is allowed to create new admin labels.
  "canCreateSharedLabels": True or False, # Output only. Whether the user is allowed to create new shared labels.
  "name": "A String", # Output only. Resource name for the user capabilities.
}