Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserEventImportSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb

Overview

A summary of import result. The UserEventImportSummary summarizes the import status for user events.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaUserEventImportSummary

Returns a new instance of GoogleCloudRetailV2alphaUserEventImportSummary.



7943
7944
7945
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7943

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#joined_events_countFixnum

Count of user events imported with complete existing catalog information. Corresponds to the JSON property joinedEventsCount

Returns:

  • (Fixnum)


7935
7936
7937
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7935

def joined_events_count
  @joined_events_count
end

#unjoined_events_countFixnum

Count of user events imported, but with catalog information not found in the imported catalog. Corresponds to the JSON property unjoinedEventsCount

Returns:

  • (Fixnum)


7941
7942
7943
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7941

def unjoined_events_count
  @unjoined_events_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7948
7949
7950
7951
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 7948

def update!(**args)
  @joined_events_count = args[:joined_events_count] if args.key?(:joined_events_count)
  @unjoined_events_count = args[:unjoined_events_count] if args.key?(:unjoined_events_count)
end