Class: Google::Apis::AnalyticsdataV1beta::ResponseMetaData
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::ResponseMetaData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb
Overview
Response's metadata carrying additional information about the report content.
Instance Attribute Summary collapse
-
#currency_code ⇒ String
The currency code used in this report.
-
#data_loss_from_other_row ⇒ Boolean
(also: #data_loss_from_other_row?)
If true, indicates some buckets of dimension combinations are rolled into "( other)" row.
-
#time_zone ⇒ String
The property's current timezone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResponseMetaData
constructor
A new instance of ResponseMetaData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResponseMetaData
Returns a new instance of ResponseMetaData.
1446 1447 1448 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1446 def initialize(**args) update!(**args) end |
Instance Attribute Details
#currency_code ⇒ String
The currency code used in this report. Intended to be used in formatting
currency metrics like purchaseRevenue for visualization. If currency_code
was specified in the request, this response parameter will echo the request
parameter; otherwise, this response parameter is the property's current
currency_code. Currency codes are string encodings of currency types from the
ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD",
"EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/
9796179.
Corresponds to the JSON property currencyCode
1429 1430 1431 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1429 def currency_code @currency_code end |
#data_loss_from_other_row ⇒ Boolean Also known as: data_loss_from_other_row?
If true, indicates some buckets of dimension combinations are rolled into "(
other)" row. This can happen for high cardinality reports.
Corresponds to the JSON property dataLossFromOtherRow
1435 1436 1437 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1435 def data_loss_from_other_row @data_loss_from_other_row end |
#time_zone ⇒ String
The property's current timezone. Intended to be used to interpret time-based
dimensions like hour and minute. Formatted as strings from the IANA Time
Zone database (https://www.iana.org/time-zones); for example "America/New_York"
or "Asia/Tokyo".
Corresponds to the JSON property timeZone
1444 1445 1446 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1444 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1451 1452 1453 1454 1455 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1451 def update!(**args) @currency_code = args[:currency_code] if args.key?(:currency_code) @data_loss_from_other_row = args[:data_loss_from_other_row] if args.key?(:data_loss_from_other_row) @time_zone = args[:time_zone] if args.key?(:time_zone) end |