Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaRunAccessReportRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
The request for a Data Access Record Report.
Instance Attribute Summary collapse
-
#date_ranges ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange>
Date ranges of access records to read.
-
#dimension_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
Expresses dimension or metric filters.
-
#dimensions ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>
The dimensions requested and displayed in the response.
-
#expand_groups ⇒ Boolean
(also: #expand_groups?)
Optional.
-
#include_all_users ⇒ Boolean
(also: #include_all_users?)
Optional.
-
#limit ⇒ Fixnum
The number of rows to return.
-
#metric_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
Expresses dimension or metric filters.
-
#metrics ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric>
The metrics requested and displayed in the response.
-
#offset ⇒ Fixnum
The row count of the start row.
-
#order_bys ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy>
Specifies how rows are ordered in the response.
-
#return_entity_quota ⇒ Boolean
(also: #return_entity_quota?)
Toggles whether to return the current state of this Analytics Property's quota.
-
#time_zone ⇒ String
This request's time zone if specified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaRunAccessReportRequest
constructor
A new instance of GoogleAnalyticsAdminV1alphaRunAccessReportRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaRunAccessReportRequest
Returns a new instance of GoogleAnalyticsAdminV1alphaRunAccessReportRequest.
4966 4967 4968 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4966 def initialize(**args) update!(**args) end |
Instance Attribute Details
#date_ranges ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDateRange>
Date ranges of access records to read. If multiple date ranges are requested,
each response row will contain a zero based date range index. If two date
ranges overlap, the access records for the overlapping days is included in the
response rows for both date ranges. Requests are allowed up to 2 date ranges.
Corresponds to the JSON property dateRanges
4877 4878 4879 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4877 def date_ranges @date_ranges end |
#dimension_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
Expresses dimension or metric filters. The fields in the same expression need
to be either all dimensions or all metrics.
Corresponds to the JSON property dimensionFilter
4883 4884 4885 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4883 def dimension_filter @dimension_filter end |
#dimensions ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimension>
The dimensions requested and displayed in the response. Requests are allowed
up to 9 dimensions.
Corresponds to the JSON property dimensions
4889 4890 4891 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4889 def dimensions @dimensions end |
#expand_groups ⇒ Boolean Also known as: expand_groups?
Optional. Decides whether to return the users within user groups. This field
works only when include_all_users is set to true. If true, it will return all
users with access to the specified property or account. If false, only the
users with direct access will be returned.
Corresponds to the JSON property expandGroups
4897 4898 4899 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4897 def @expand_groups end |
#include_all_users ⇒ Boolean Also known as: include_all_users?
Optional. Determines whether to include users who have never made an API call
in the response. If true, all users with access to the specified property or
account are included in the response, regardless of whether they have made an
API call or not. If false, only the users who have made an API call will be
included.
Corresponds to the JSON property includeAllUsers
4907 4908 4909 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4907 def include_all_users @include_all_users end |
#limit ⇒ Fixnum
The number of rows to return. If unspecified, 10,000 rows are returned. The
API returns a maximum of 100,000 rows per request, no matter how many you ask
for. limit
must be positive. The API may return fewer rows than the
requested limit
, if there aren't as many remaining rows as the limit
. For
instance, there are fewer than 300 possible values for the dimension country
,
so when reporting on only country
, you can't get more than 300 rows, even
if you set limit
to a higher value. To learn more about this pagination
parameter, see Pagination.
Corresponds to the JSON property limit
4921 4922 4923 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4921 def limit @limit end |
#metric_filter ⇒ Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessFilterExpression
Expresses dimension or metric filters. The fields in the same expression need
to be either all dimensions or all metrics.
Corresponds to the JSON property metricFilter
4927 4928 4929 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4927 def metric_filter @metric_filter end |
#metrics ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessMetric>
The metrics requested and displayed in the response. Requests are allowed up
to 10 metrics.
Corresponds to the JSON property metrics
4933 4934 4935 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4933 def metrics @metrics end |
#offset ⇒ Fixnum
The row count of the start row. The first row is counted as row 0. If offset
is unspecified, it is treated as 0. If offset is zero, then this method will
return the first page of results with limit
entries. To learn more about
this pagination parameter, see Pagination.
Corresponds to the JSON property offset
4942 4943 4944 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4942 def offset @offset end |
#order_bys ⇒ Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessOrderBy>
Specifies how rows are ordered in the response.
Corresponds to the JSON property orderBys
4947 4948 4949 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4947 def order_bys @order_bys end |
#return_entity_quota ⇒ Boolean Also known as: return_entity_quota?
Toggles whether to return the current state of this Analytics Property's quota.
Quota is returned in AccessQuota. For account-level requests,
this field must be false.
Corresponds to the JSON property returnEntityQuota
4954 4955 4956 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4954 def return_entity_quota @return_entity_quota end |
#time_zone ⇒ String
This request's time zone if specified. If unspecified, the property's time
zone is used. The request's time zone is used to interpret the start & end
dates of the report. 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
4964 4965 4966 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4964 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 4971 def update!(**args) @date_ranges = args[:date_ranges] if args.key?(:date_ranges) @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter) @dimensions = args[:dimensions] if args.key?(:dimensions) @expand_groups = args[:expand_groups] if args.key?(:expand_groups) @include_all_users = args[:include_all_users] if args.key?(:include_all_users) @limit = args[:limit] if args.key?(:limit) @metric_filter = args[:metric_filter] if args.key?(:metric_filter) @metrics = args[:metrics] if args.key?(:metrics) @offset = args[:offset] if args.key?(:offset) @order_bys = args[:order_bys] if args.key?(:order_bys) @return_entity_quota = args[:return_entity_quota] if args.key?(:return_entity_quota) @time_zone = args[:time_zone] if args.key?(:time_zone) end |