Class: Google::Apis::GmailV1::Delegate
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::Delegate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb
Overview
Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates.
Instance Attribute Summary collapse
-
#delegate_email ⇒ String
The email address of the delegate.
-
#verification_status ⇒ String
Indicates whether this address has been verified and can act as a delegate for the account.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Delegate
constructor
A new instance of Delegate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Delegate
Returns a new instance of Delegate.
259 260 261 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delegate_email ⇒ String
The email address of the delegate.
Corresponds to the JSON property delegateEmail
251 252 253 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 251 def delegate_email @delegate_email end |
#verification_status ⇒ String
Indicates whether this address has been verified and can act as a delegate for
the account. Read-only.
Corresponds to the JSON property verificationStatus
257 258 259 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 257 def verification_status @verification_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 267 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 264 def update!(**args) @delegate_email = args[:delegate_email] if args.key?(:delegate_email) @verification_status = args[:verification_status] if args.key?(:verification_status) end |