Class: Google::Apis::GmailpostmastertoolsV1::ListDomainsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmailpostmastertools_v1/classes.rb,
lib/google/apis/gmailpostmastertools_v1/representations.rb,
lib/google/apis/gmailpostmastertools_v1/representations.rb

Overview

Response message for ListDomains.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListDomainsResponse

Returns a new instance of ListDomainsResponse.



164
165
166
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 164

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#domainsArray<Google::Apis::GmailpostmastertoolsV1::Domain>

The list of domains. Corresponds to the JSON property domains



156
157
158
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 156

def domains
  @domains
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


162
163
164
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 162

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



169
170
171
172
# File 'lib/google/apis/gmailpostmastertools_v1/classes.rb', line 169

def update!(**args)
  @domains = args[:domains] if args.key?(:domains)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end