class Google::Apis::AdminReportsV1::UsageReport
JSON template for a usage report.
Attributes
date[RW]
The date to which the record belongs. Corresponds to the JSON property `date` @return [String]
entity[RW]
Information about the type of the item. Corresponds to the JSON property `entity` @return [Google::Apis::AdminReportsV1::UsageReport::Entity]
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]
parameters[RW]
Parameter value pairs for various applications. Corresponds to the JSON property `parameters` @return [Array<Google::Apis::AdminReportsV1::UsageReport::Parameter>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/admin_reports_v1/classes.rb, line 379 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 384 def update!(**args) @date = args[:date] if args.key?(:date) @entity = args[:entity] if args.key?(:entity) @etag = args[:etag] if args.key?(:etag) @kind = args[:kind] if args.key?(:kind) @parameters = args[:parameters] if args.key?(:parameters) end