class Google::Apis::AnalyticsV3::Upload
Metadata returned for an upload operation.
Attributes
Account
Id to which this upload belongs. Corresponds to the JSON property `accountId` @return [Fixnum]
Custom data source Id to which this data import belongs. Corresponds to the JSON property `customDataSourceId` @return [String]
Data import errors collection. Corresponds to the JSON property `errors` @return [Array<String>]
A unique ID for this upload. Corresponds to the JSON property `id` @return [String]
Resource type for Analytics upload. Corresponds to the JSON property `kind` @return [String]
Upload
status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED. Corresponds to the JSON property `status` @return [String]
Time this file is uploaded. Corresponds to the JSON property `uploadTime` @return [DateTime]
Public Class Methods
# File lib/google/apis/analytics_v3/classes.rb, line 5226 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/analytics_v3/classes.rb, line 5231 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