google_api_apps_activity v0.3.0 GoogleApi.AppsActivity.V1.Model.Permission View Source
Contains information about the permissions and type of access allowed with regards to a Google Drive object. This is a subset of the fields contained in a corresponding Drive Permissions object.
Attributes
- name (String.t): The name of the user or group the permission applies to. Defaults to
nil
. - permissionId (String.t): The ID for this permission. Corresponds to the Drive API's permission ID returned as part of the Drive Permissions resource. Defaults to
nil
. - role (String.t): Indicates the Google Drive permissions role. The role determines a user's ability to read, write, or comment on the file. Defaults to
nil
. - type (String.t): Indicates how widely permissions are granted. Defaults to
nil
. - user (GoogleApi.AppsActivity.V1.Model.User.t): The user's information if the type is USER. Defaults to
nil
. - withLink (boolean()): Whether the permission requires a link to the file. Defaults to
nil
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.