Class: Google::Apis::AnalyticsdataV1alpha::BatchRunReportsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::BatchRunReportsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb
Overview
The batch request containing multiple report requests.
Instance Attribute Summary collapse
-
#entity ⇒ Google::Apis::AnalyticsdataV1alpha::Entity
The unique identifier of the property whose events are tracked.
-
#requests ⇒ Array<Google::Apis::AnalyticsdataV1alpha::RunReportRequest>
Individual requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchRunReportsRequest
constructor
A new instance of BatchRunReportsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchRunReportsRequest
Returns a new instance of BatchRunReportsRequest.
85 86 87 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 85 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity ⇒ Google::Apis::AnalyticsdataV1alpha::Entity
The unique identifier of the property whose events are tracked.
Corresponds to the JSON property entity
77 78 79 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 77 def entity @entity end |
#requests ⇒ Array<Google::Apis::AnalyticsdataV1alpha::RunReportRequest>
Individual requests. Each request has a separate report response. Each batch
request is allowed up to 5 requests.
Corresponds to the JSON property requests
83 84 85 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 83 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
90 91 92 93 |
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 90 def update!(**args) @entity = args[:entity] if args.key?(:entity) @requests = args[:requests] if args.key?(:requests) end |