Class: Google::Apis::GmailpostmastertoolsV2::BatchQueryDomainStatsRequest

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

Overview

Request message for BatchQueryDomainStats.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchQueryDomainStatsRequest

Returns a new instance of BatchQueryDomainStatsRequest.



55
56
57
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 55

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

Instance Attribute Details

#requestsArray<Google::Apis::GmailpostmastertoolsV2::QueryDomainStatsRequest>

Required. A list of individual query requests. Each request can be for a different domain. A maximum of 100 requests can be included in a single batch. Corresponds to the JSON property requests



53
54
55
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 53

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



60
61
62
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 60

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