Class: Google::Apis::AdminReportsV1::Activity
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminReportsV1::Activity
 
- 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 the activity resource.
Defined Under Namespace
Instance Attribute Summary collapse
- 
  
    
      #actor  ⇒ Google::Apis::AdminReportsV1::Activity::Actor 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    User doing the action. 
- 
  
    
      #etag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ETag of the entry. 
- 
  
    
      #events  ⇒ Array<Google::Apis::AdminReportsV1::Activity::Event> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Activity events. 
- 
  
    
      #id  ⇒ Google::Apis::AdminReportsV1::Activity::Id 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Unique identifier for each activity record. 
- 
  
    
      #ip_address  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    IP Address of the user doing the action. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Kind of resource this is. 
- 
  
    
      #owner_domain  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Domain of source customer. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Activity 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Activity. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Activity
Returns a new instance of Activity
| 101 102 103 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 101 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#actor ⇒ Google::Apis::AdminReportsV1::Activity::Actor
User doing the action.
Corresponds to the JSON property actor
| 69 70 71 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 69 def actor @actor end | 
#etag ⇒ String
ETag of the entry.
Corresponds to the JSON property etag
| 74 75 76 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 74 def etag @etag end | 
#events ⇒ Array<Google::Apis::AdminReportsV1::Activity::Event>
Activity events.
Corresponds to the JSON property events
| 79 80 81 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 79 def events @events end | 
#id ⇒ Google::Apis::AdminReportsV1::Activity::Id
Unique identifier for each activity record.
Corresponds to the JSON property id
| 84 85 86 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 84 def id @id end | 
#ip_address ⇒ String
IP Address of the user doing the action.
Corresponds to the JSON property ipAddress
| 89 90 91 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 89 def ip_address @ip_address end | 
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
| 94 95 96 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 94 def kind @kind end | 
#owner_domain ⇒ String
Domain of source customer.
Corresponds to the JSON property ownerDomain
| 99 100 101 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 99 def owner_domain @owner_domain end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 106 107 108 109 110 111 112 113 114 | # File 'generated/google/apis/admin_reports_v1/classes.rb', line 106 def update!(**args) @actor = args[:actor] if args.key?(:actor) @etag = args[:etag] if args.key?(:etag) @events = args[:events] if args.key?(:events) @id = args[:id] if args.key?(:id) @ip_address = args[:ip_address] if args.key?(:ip_address) @kind = args[:kind] if args.key?(:kind) @owner_domain = args[:owner_domain] if args.key?(:owner_domain) end |