Class: Google::Apis::AdminReportsV1::UsageReports
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::UsageReports
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_reports_v1/classes.rb,
generated/google/apis/admin_reports_v1/representations.rb,
generated/google/apis/admin_reports_v1/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#kind ⇒ String
The type of API resource.
-
#next_page_token ⇒ String
Token to specify next page.
-
#usage_reports ⇒ Array<Google::Apis::AdminReportsV1::UsageReport>
Various application parameter records.
-
#warnings ⇒ Array<Google::Apis::AdminReportsV1::UsageReports::Warning>
Warnings, if any.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UsageReports
constructor
A new instance of UsageReports.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UsageReports
Returns a new instance of UsageReports.
664 665 666 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 664 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
638 639 640 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 638 def etag @etag end |
#kind ⇒ String
The type of API resource. For a usage report, the value is admin#reports#
usageReports
.
Corresponds to the JSON property kind
644 645 646 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 644 def kind @kind end |
#next_page_token ⇒ String
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
652 653 654 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 652 def next_page_token @next_page_token end |
#usage_reports ⇒ Array<Google::Apis::AdminReportsV1::UsageReport>
Various application parameter records.
Corresponds to the JSON property usageReports
657 658 659 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 657 def usage_reports @usage_reports end |
#warnings ⇒ Array<Google::Apis::AdminReportsV1::UsageReports::Warning>
Warnings, if any.
Corresponds to the JSON property warnings
662 663 664 |
# File 'generated/google/apis/admin_reports_v1/classes.rb', line 662 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
669 670 671 672 673 674 675 |
# File 'generated/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 |