Autogenerated update (2017-11-10)
Update: - adexchangebuyer2_v2beta1 - analyticsreporting_v4 - cloudtrace_v1 - cloudtrace_v2 - container_v1 - container_v1beta1 - deploymentmanager_alpha - deploymentmanager_v2beta - firebasedynamiclinks_v1 - oslogin_v1alpha - oslogin_v1beta - people_v1 - servicemanagement_v1 - serviceuser_v1 - youtube_partner_v1
This commit is contained in:
1 parent
c387e3f320
commit
b3f83d598e
40 files changed
+1187
-282
No files matched your search
@@ -376,6 +376,21 @@ module Google
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::ReportRequest>]
|
||||
attr_accessor :report_requests
|
||||
|
||||
# Enables
|
||||
# [resource based quotas](/analytics/devguides/reporting/core/v4/limits-quotas#
|
||||
# analytics_reporting_api_v4),
|
||||
# (defaults to `False`). If this field is set to `True` the
|
||||
# per view (profile) quotas are governed by the computational
|
||||
# cost of the request. Note that using cost based quotas will
|
||||
# higher enable sampling rates. (10 Million for `SMALL`,
|
||||
# 100M for `LARGE`. See the
|
||||
# [limits and quotas documentation](/analytics/devguides/reporting/core/v4/
|
||||
# limits-quotas#analytics_reporting_api_v4) for details.
|
||||
# Corresponds to the JSON property `useResourceQuotas`
|
||||
# @return [Boolean]
|
||||
attr_accessor :use_resource_quotas
|
||||
alias_method :use_resource_quotas?, :use_resource_quotas
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -383,6 +398,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@report_requests = args[:report_requests] if args.key?(:report_requests)
|
||||
@use_resource_quotas = args[:use_resource_quotas] if args.key?(:use_resource_quotas)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -391,18 +407,32 @@ module Google
|
||||
class GetReportsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The amount of resource quota tokens deducted to execute the query. Includes
|
||||
# all responses.
|
||||
# Corresponds to the JSON property `queryCost`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :query_cost
|
||||
|
||||
# Responses corresponding to each of the request.
|
||||
# Corresponds to the JSON property `reports`
|
||||
# @return [Array<Google::Apis::AnalyticsreportingV4::Report>]
|
||||
attr_accessor :reports
|
||||
|
||||
# The resource quota tokens remaining for the property after the request is
|
||||
# completed.
|
||||
# Corresponds to the JSON property `resourceQuotasRemaining`
|
||||
# @return [Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining]
|
||||
attr_accessor :resource_quotas_remaining
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
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
|
||||
end
|
||||
|
||||
@@ -1103,6 +1133,32 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The resource quota tokens remaining for the property after the request is
|
||||
# completed.
|
||||
class ResourceQuotasRemaining
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Daily resource quota remaining remaining.
|
||||
# Corresponds to the JSON property `dailyQuotaTokensRemaining`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :daily_quota_tokens_remaining
|
||||
|
||||
# Hourly resource quota tokens remaining.
|
||||
# Corresponds to the JSON property `hourlyQuotaTokensRemaining`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :hourly_quota_tokens_remaining
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@daily_quota_tokens_remaining = args[:daily_quota_tokens_remaining] if args.key?(:daily_quota_tokens_remaining)
|
||||
@hourly_quota_tokens_remaining = args[:hourly_quota_tokens_remaining] if args.key?(:hourly_quota_tokens_remaining)
|
||||
end
|
||||
end
|
||||
|
||||
# The segment definition, if the report needs to be segmented.
|
||||
# A Segment is a subset of the Analytics data. For example, of the entire
|
||||
# set of users, one Segment might be users from a particular country or city.
|
||||
|
||||
Reference in new issue
Block a user