GDataACL Type
An object representing an Access Control List (ACL) entry for a Google Data object.
Remarks
An object representing an Access Control List (ACL) entry for a Google Data object.
Fields
| |
Operation GACLOperations |
This field contains the operation to be performed when updating the ACL.
Possible values are:
| | 0 (gaoNone) | The entry will not be updated. | 1 (gaoAdd) | The entry will be added to the ACL. | 2 (gaoDelete) | The entry will be deleted from the ACL. | 3 (gaoQuery) | The entry will be queried (in which results will be returned in the response). | 4 (gaoUpdate) | The entry will be updated with the specified values. |
|
Role GACLRoles |
This field contains the role of ScopeValue for a Google Data object and allows you to determine
their access rights.
Possible values are:
| | 0 (garOwner) | The owner of the document/folder. As an owner you have the ability to modify the ACL feed, delete the document, etc. | 1 (garWriter) | A Collaborator. | 2 (garReader) | A Viewer (equivalent to read-only access). |
|
ScopeType GACLScopeTypes |
This field contains the scope (level of sharing permissions) of ScopeValue for a Google Data object.
Possible values are:
| | 0 (gasUser) | A user's email address. | 1 (gasGroup) | A Google Group email address. | 2 (gasDomain) | A Google Apps domain. | 3 (gasDefault) | Publicly shared with all users. |
|
ScopeValue String |
This field contains the scope value (e-mail address [user@example.com] or domain name [example.com]) for a Google Data object.
|
StatusCode String |
This field contains the status code of the operation performed on the entry.
Possible Status Codes are:
| | Status Code | Explanation | 200 (OK) | No error. | 201 (CREATED) | Creation of a resource was successful. | 304 (NOT MODIFIED) | The resource hasn't changed since the time specified in the request's If-Modified-Since header. | 400 (BAD REQUEST) | Invalid request URI or header, or unsupported nonstandard parameter. | 401 (UNAUTHORIZED) | Authorization required. | 403 (FORBIDDEN) | Unsupported standard parameter, or authentication or authorization failed. | 404 (NOT FOUND) | Resource (such as a feed or entry) not found. | 409 (CONFLICT) | Specified version number doesn't match resource's latest version number. | 410 (GONE) | Requested change history is no longer available on the server. Refer to service-specific documentation for more details. | 500 (INTERNAL SERVER ERROR) | Internal error. This is the default code that is used for all unrecognized server errors. |
|
StatusReason String |
This field contains the status reason of the operation performed on the entry.
|
Success Boolean |
This field determines whether the operation performed on the ACL was successful (true) or not (false) and
will be populated after the ACL is attempted to be updated.
|
Constructors
[VB.NET]
Public GDataACL()
[C#]
public GDataACL();