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 [String]

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]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/analytics_v3/classes.rb, line 4685
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)
end