class Google::Apis::AdminReportsV1::UsageReports

JSON template for a collection of usage reports.

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

kind[RW]

The kind of object. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

Token for retrieving the next page Corresponds to the JSON property `nextPageToken` @return [String]

usage_reports[RW]

Various application parameter records. Corresponds to the JSON property `usageReports` @return [Array<Google::Apis::AdminReportsV1::UsageReport>]

warnings[RW]

Warnings if any. Corresponds to the JSON property `warnings` @return [Array<Google::Apis::AdminReportsV1::UsageReports::Warning>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_reports_v1/classes.rb, line 509
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/admin_reports_v1/classes.rb, line 514
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @usage_reports = args[:usage_reports] if args.key?(:usage_reports)
  @warnings = args[:warnings] if args.key?(:warnings)
end