Class: Google::Apis::DfareportingV4::DynamicProfileVersion

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



6333
6334
6335
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6333

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

Instance Attribute Details

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

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



6325
6326
6327
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6325

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)


6331
6332
6333
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6331

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6338
6339
6340
6341
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 6338

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