Class: Google::Apis::AnalyticsV3::Upload
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AnalyticsV3::Upload
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analytics_v3/classes.rb,
 generated/google/apis/analytics_v3/representations.rb,
 generated/google/apis/analytics_v3/representations.rb
Overview
Metadata returned for an upload operation.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Account Id to which this upload belongs. 
- 
  
    
      #custom_data_source_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom data source Id to which this data import belongs. 
- 
  
    
      #errors  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Data import errors collection. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A unique ID for this upload. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource type for Analytics upload. 
- 
  
    
      #status  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Upload status. 
- 
  
    
      #upload_time  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Time this file is uploaded. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Upload 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Upload. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Upload
Returns a new instance of Upload
| 5252 5253 5254 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5252 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ Fixnum
Account Id to which this upload belongs.
Corresponds to the JSON property accountId
| 5220 5221 5222 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5220 def account_id @account_id end | 
#custom_data_source_id ⇒ String
Custom data source Id to which this data import belongs.
Corresponds to the JSON property customDataSourceId
| 5225 5226 5227 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5225 def custom_data_source_id @custom_data_source_id end | 
#errors ⇒ Array<String>
Data import errors collection.
Corresponds to the JSON property errors
| 5230 5231 5232 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5230 def errors @errors end | 
#id ⇒ String
A unique ID for this upload.
Corresponds to the JSON property id
| 5235 5236 5237 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5235 def id @id end | 
#kind ⇒ String
Resource type for Analytics upload.
Corresponds to the JSON property kind
| 5240 5241 5242 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5240 def kind @kind end | 
#status ⇒ String
Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED.
Corresponds to the JSON property status
| 5245 5246 5247 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5245 def status @status end | 
#upload_time ⇒ DateTime
Time this file is uploaded.
Corresponds to the JSON property uploadTime
| 5250 5251 5252 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5250 def upload_time @upload_time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5257 5258 5259 5260 5261 5262 5263 5264 5265 | # File 'generated/google/apis/analytics_v3/classes.rb', line 5257 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @custom_data_source_id = args[:custom_data_source_id] if args.key?(:custom_data_source_id) @errors = args[:errors] if args.key?(:errors) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @status = args[:status] if args.key?(:status) @upload_time = args[:upload_time] if args.key?(:upload_time) end |