class Google::Apis::AnalyticsreportingV4::GoalSetData

Represents a set of goals that were reached in an activity.

Attributes

goals[RW]

All the goals that were reached in the current activity. Corresponds to the JSON property `goals` @return [Array<Google::Apis::AnalyticsreportingV4::GoalData>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsreporting_v4/classes.rb, line 723
def update!(**args)
  @goals = args[:goals] if args.key?(:goals)
end