Class: Google::Apis::AnalyticsreportingV4::GetReportsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::GetReportsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
The main response class which holds the reports from the Reporting API
batchGet
call.
Instance Attribute Summary collapse
-
#query_cost ⇒ Fixnum
The amount of resource quota tokens deducted to execute the query.
-
#reports ⇒ Array<Google::Apis::AnalyticsreportingV4::Report>
Responses corresponding to each of the request.
-
#resource_quotas_remaining ⇒ Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining
The resource quota tokens remaining for the property after the request is completed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetReportsResponse
constructor
A new instance of GetReportsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetReportsResponse
Returns a new instance of GetReportsResponse.
671 672 673 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_cost ⇒ Fixnum
The amount of resource quota tokens deducted to execute the query. Includes
all responses.
Corresponds to the JSON property queryCost
658 659 660 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 658 def query_cost @query_cost end |
#reports ⇒ Array<Google::Apis::AnalyticsreportingV4::Report>
Responses corresponding to each of the request.
Corresponds to the JSON property reports
663 664 665 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 663 def reports @reports end |
#resource_quotas_remaining ⇒ Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining
The resource quota tokens remaining for the property after the request is
completed.
Corresponds to the JSON property resourceQuotasRemaining
669 670 671 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 669 def resource_quotas_remaining @resource_quotas_remaining end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
676 677 678 679 680 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 676 def update!(**args) @query_cost = args[:query_cost] if args.key?(:query_cost) @reports = args[:reports] if args.key?(:reports) @resource_quotas_remaining = args[:resource_quotas_remaining] if args.key?(:resource_quotas_remaining) end |