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
Overview
JSON template for a collection of usage reports.
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ETag of the resource. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of object. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token for retrieving the next page Corresponds to the JSON property nextPageToken.
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UsageReports
Returns a new instance of UsageReports
| 516 517 518 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 516 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
| 494 495 496 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 494 def etag @etag end | 
#kind ⇒ String
The kind of object.
Corresponds to the JSON property kind
| 499 500 501 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 499 def kind @kind end | 
#next_page_token ⇒ String
Token for retrieving the next page
Corresponds to the JSON property nextPageToken
| 504 505 506 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 504 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
| 509 510 511 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 509 def usage_reports @usage_reports end | 
#warnings ⇒ Array<Google::Apis::AdminReportsV1::UsageReports::Warning>
Warnings if any.
Corresponds to the JSON property warnings
| 514 515 516 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 514 def warnings @warnings end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 521 522 523 524 525 526 527 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 521 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 |