Class: Google::Apis::DfareportingV5::DynamicProfileVersion

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

Overview

Contains dynamic profile version information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DynamicProfileVersion

Returns a new instance of DynamicProfileVersion.



6225
6226
6227
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6225

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

Instance Attribute Details

#dynamic_profile_feed_settingsArray<Google::Apis::DfareportingV5::DynamicProfileFeedSettings>

Optional. Associated dynamic feeds and their settings (including dynamic rules) for this dynamic profile version. Corresponds to the JSON property dynamicProfileFeedSettings



6217
6218
6219
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6217

def dynamic_profile_feed_settings
  @dynamic_profile_feed_settings
end

#version_idFixnum

Output only. Version ID of this dynamic profile version. This is a read-only, auto-generated field. -1 for draft version, 0+ for published versions. Corresponds to the JSON property versionId

Returns:

  • (Fixnum)


6223
6224
6225
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6223

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6230
6231
6232
6233
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6230

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