Class: Google::Apis::AppsactivityV1::Target
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppsactivityV1::Target
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appsactivity_v1/classes.rb,
 generated/google/apis/appsactivity_v1/representations.rb,
 generated/google/apis/appsactivity_v1/representations.rb
Overview
Information about the object modified by the event.
Instance Attribute Summary collapse
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ID of the target. 
- 
  
    
      #mime_type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The MIME type of the target. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the target. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Target 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Target. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Target
Returns a new instance of Target
| 354 355 356 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 354 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
The ID of the target. For example, in Google Drive, this is the file or folder
ID.
Corresponds to the JSON property id
| 341 342 343 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 341 def id @id end | 
#mime_type ⇒ String
The MIME type of the target.
Corresponds to the JSON property mimeType
| 346 347 348 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 346 def mime_type @mime_type end | 
#name ⇒ String
The name of the target. For example, in Google Drive, this is the title of the
file.
Corresponds to the JSON property name
| 352 353 354 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 352 def name @name end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 359 360 361 362 363 | # File 'generated/google/apis/appsactivity_v1/classes.rb', line 359 def update!(**args) @id = args[:id] if args.key?(:id) @mime_type = args[:mime_type] if args.key?(:mime_type) @name = args[:name] if args.key?(:name) end |