Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1UserEventImportSummary

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/recommendationengine_v1beta1/classes.rb,
generated/google/apis/recommendationengine_v1beta1/representations.rb,
generated/google/apis/recommendationengine_v1beta1/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) ⇒ GoogleCloudRecommendationengineV1beta1UserEventImportSummary

Returns a new instance of GoogleCloudRecommendationengineV1beta1UserEventImportSummary.



1695
1696
1697
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1695

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)


1687
1688
1689
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1687

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)


1693
1694
1695
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1693

def unjoined_events_count
  @unjoined_events_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1700
1701
1702
1703
# File 'generated/google/apis/recommendationengine_v1beta1/classes.rb', line 1700

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