Aspose::Email::Clients::Google::AccessControlRule Class Reference

Access control rule. More...

Inherits Aspose::Email::Clients::Google::BaseDataObject.

Public Member Functions

System::SharedPtr< AclScopeget_Scope () const
 The scope of the rule. More...
 
void set_Scope (System::SharedPtr< AclScope > value)
 The scope of the rule. More...
 
AccessRole get_Role () const
 The role assigned to the scope. More...
 
void set_Role (AccessRole value)
 The role assigned to the scope. More...
 
 AccessControlRule ()
 Initializes a new instance of the AccessControlRule class. More...
 
 AccessControlRule (System::SharedPtr< AclScope > scope, AccessRole role)
 Initializes a new instance of the AccessControlRule class. More...
 
 AccessControlRule (System::String id, System::SharedPtr< AclScope > scope, AccessRole role)
 Initializes a new instance of the AccessControlRule class. More...
 
 AccessControlRule (System::String id, System::String eTag, System::SharedPtr< AclScope > scope, AccessRole role)
 Initializes a new instance of the AccessControlRule class. More...
 
System::String ToString () const override
 Returns a string which represents the object instance. More...
 
- Public Member Functions inherited from Aspose::Email::Clients::Google::BaseDataObject
virtual System::String get_Kind ()
 Type of the resource More...
 
virtual System::String get_ETag ()
 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. More...
 
virtual void set_ETag (System::String value)
 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. More...
 
virtual System::String get_Id ()
 Identifier of the resource. More...
 
virtual void set_Id (System::String value)
 Identifier of the resource. More...
 
 BaseDataObject (System::String kind)
 Initializes a new instance of the class. More...
 
 BaseDataObject (System::String kind, System::String id)
 Initializes a new instance of the class. More...
 
 BaseDataObject (System::String kind, System::String id, System::String eTag)
 Initializes a new instance of the class. More...
 

Static Public Attributes

static const System::String AccessControlRuleKind
 Type of the resource ("calendar#calendar"). More...
 

Protected Member Functions

virtual ~AccessControlRule ()
 

Detailed Description

Access control rule.

Constructor & Destructor Documentation

◆ AccessControlRule() [1/4]

Aspose::Email::Clients::Google::AccessControlRule::AccessControlRule ( )

Initializes a new instance of the AccessControlRule class.

◆ AccessControlRule() [2/4]

Aspose::Email::Clients::Google::AccessControlRule::AccessControlRule ( System::SharedPtr< AclScope scope,
AccessRole  role 
)

Initializes a new instance of the AccessControlRule class.

Parameters
scopeThe scope of the rule.
roleThe role assigned to the scope.

◆ AccessControlRule() [3/4]

Aspose::Email::Clients::Google::AccessControlRule::AccessControlRule ( System::String  id,
System::SharedPtr< AclScope scope,
AccessRole  role 
)

Initializes a new instance of the AccessControlRule class.

Parameters
idIdentifier of the resource.
scopeThe scope of the rule.
roleThe role assigned to the scope.

◆ AccessControlRule() [4/4]

Aspose::Email::Clients::Google::AccessControlRule::AccessControlRule ( System::String  id,
System::String  eTag,
System::SharedPtr< AclScope scope,
AccessRole  role 
)

Initializes a new instance of the AccessControlRule class.

Parameters
idIdentifier of the resource.
eTagAn entity tag
scopeThe scope of the rule.
roleThe role assigned to the scope.

◆ ~AccessControlRule()

virtual Aspose::Email::Clients::Google::AccessControlRule::~AccessControlRule ( )
protectedvirtual

Member Function Documentation

◆ get_Role()

AccessRole Aspose::Email::Clients::Google::AccessControlRule::get_Role ( ) const

The role assigned to the scope.

◆ get_Scope()

System::SharedPtr<AclScope> Aspose::Email::Clients::Google::AccessControlRule::get_Scope ( ) const

The scope of the rule.

◆ set_Role()

void Aspose::Email::Clients::Google::AccessControlRule::set_Role ( AccessRole  value)

The role assigned to the scope.

◆ set_Scope()

void Aspose::Email::Clients::Google::AccessControlRule::set_Scope ( System::SharedPtr< AclScope value)

The scope of the rule.

◆ ToString()

System::String Aspose::Email::Clients::Google::AccessControlRule::ToString ( ) const
override

Returns a string which represents the object instance.

Returns
Returns a string which represents the object instance.

Member Data Documentation

◆ AccessControlRuleKind

const System::String Aspose::Email::Clients::Google::AccessControlRule::AccessControlRuleKind
static

Type of the resource ("calendar#calendar").