class Google::Apis::AnalyticsV3::Upload

Metadata returned for an upload operation.

Attributes

account_id[RW]

Account Id to which this upload belongs. Corresponds to the JSON property `accountId` @return [Fixnum]

custom_data_source_id[RW]

Custom data source Id to which this data import belongs. Corresponds to the JSON property `customDataSourceId` @return [String]

errors[RW]

Data import errors collection. Corresponds to the JSON property `errors` @return [Array<String>]

id[RW]

A unique ID for this upload. Corresponds to the JSON property `id` @return [String]

kind[RW]

Resource type for Analytics upload. Corresponds to the JSON property `kind` @return [String]

status[RW]

Upload status. Possible values: PENDING, COMPLETED, FAILED, DELETING, DELETED. Corresponds to the JSON property `status` @return [String]

upload_time[RW]

Time this file is uploaded. Corresponds to the JSON property `uploadTime` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analytics_v3/classes.rb, line 5226
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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