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.



3229
3230
3231
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3229

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



3222
3223
3224
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3222

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)


3227
3228
3229
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3227

def user_list_id
  @user_list_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3234
3235
3236
3237
# File 'lib/google/apis/datamanager_v1/classes.rb', line 3234

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