class Google::Apis::AdminReportsV1::UsageReports

Attributes

etag[RW]

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

kind[RW]

The type of API resource. For a usage report, the value is `admin#reports# usageReports`. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

Token to specify next page. A report with multiple pages has a `nextPageToken` property in the response. For your follow-on requests getting all of the report's pages, enter the `nextPageToken` value in the `pageToken` query string. 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 lib/google/apis/admin_reports_v1/classes.rb, line 664
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_reports_v1/classes.rb, line 669
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