class Google::Apis::GmailpostmastertoolsV1::Domain

A registered domain resource in the Postmaster API.

Attributes

create_time[RW]

Timestamp when the user registered this domain. Assigned by the server. Corresponds to the JSON property `createTime` @return [String]

name[RW]

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` @return [String]

permission[RW]

User’s permission for this domain. Assigned by the server. Corresponds to the JSON property `permission` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gmailpostmastertools_v1/classes.rb, line 77
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gmailpostmastertools_v1/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