Class: Google::Apis::GmailpostmastertoolsV1beta1::Domain
- Inherits:
-
Object
- Object
- Google::Apis::GmailpostmastertoolsV1beta1::Domain
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gmailpostmastertools_v1beta1/classes.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb,
generated/google/apis/gmailpostmastertools_v1beta1/representations.rb
Overview
A registered domain resource in the Postmaster API.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Timestamp when the user registered this domain.
-
#name ⇒ String
The resource name of the Domain.
-
#permission ⇒ String
User’s permission for this domain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Domain
constructor
A new instance of Domain.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Domain
Returns a new instance of Domain.
77 78 79 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 77 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Timestamp when the user registered this domain. Assigned by the server.
Corresponds to the JSON property createTime
63 64 65 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 63 def create_time @create_time end |
#name ⇒ String
The resource name of the Domain. Domain names have the form domains/
domain_name`, where domain_name is the fully qualified domain name (i.e.,
mymail.mydomain.com).
Corresponds to the JSON property
name`
70 71 72 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 70 def name @name end |
#permission ⇒ String
User’s permission for this domain. Assigned by the server.
Corresponds to the JSON property permission
75 76 77 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 75 def @permission end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
82 83 84 85 86 |
# File 'generated/google/apis/gmailpostmastertools_v1beta1/classes.rb', line 82 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @permission = args[:permission] if args.key?(:permission) end |