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.



2284
2285
2286
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2284

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



2277
2278
2279
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2277

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)


2282
2283
2284
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2282

def user_list_id
  @user_list_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2289
2290
2291
2292
# File 'lib/google/apis/datamanager_v1/classes.rb', line 2289

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