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.



6259
6260
6261
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6259

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



6251
6252
6253
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6251

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)


6257
6258
6259
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6257

def version_id
  @version_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6264
6265
6266
6267
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 6264

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