Class AccessControlRule

AccessControlRule class

Access control rule.

public class AccessControlRule : BaseDataObject

Constructors

NameDescription
AccessControlRule()Initializes a new instance of the AccessControlRule class.
AccessControlRule(AclScope, AccessRole)Initializes a new instance of the AccessControlRule class.
AccessControlRule(string, AclScope, AccessRole)Initializes a new instance of the AccessControlRule class.
AccessControlRule(string, string, AclScope, AccessRole)Initializes a new instance of the AccessControlRule class.

Properties

NameDescription
virtual ETag { get; set; }An ETag or entity tag is one of several mechanisms that HTTP provides for web cache validation, and which allows a client to make conditional requests. This allows caches to be more efficient, and saves bandwidth, as a web server does not need to send a full response if the content has not changed. ETags can also be used for optimistic concurrency control, as a way to help prevent simultaneous updates of a resource from overwriting each other.
virtual Id { get; set; }Identifier of the resource.
virtual Kind { get; }Type of the resource
Role { get; set; }The role assigned to the scope.
Scope { get; set; }The scope of the rule.

Methods

NameDescription
override ToString()Returns a string which represents the object instance.

Fields

NameDescription
const AccessControlRuleKindType of the resource (“calendar#calendar”).

See Also