Class: Google::Apis::DatamanagerV1::RetrieveInsightsRequest

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

Overview

Request message for DM API MarketingDataInsightsService.RetrieveInsights

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RetrieveInsightsRequest

Returns a new instance of RetrieveInsightsRequest.



2065
2066
2067
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2065

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

Instance Attribute Details

#baselineGoogle::Apis::DatamanagerV1::Baseline

Baseline criteria against which insights are compared. Corresponds to the JSON property baseline



2058
2059
2060
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2058

def baseline
  @baseline
end

#user_list_idString

Required. The user list ID for which insights are requested. Corresponds to the JSON property userListId

Returns:

  • (String)


2063
2064
2065
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2063

def user_list_id
  @user_list_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2070
2071
2072
2073
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2070

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