Class: Google::Apis::DfareportingV2_3::AudienceSegmentGroup
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_3::AudienceSegmentGroup
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/representations.rb
Overview
Audience Segment Group.
Instance Attribute Summary collapse
-
#audience_segments ⇒ Array<Google::Apis::DfareportingV2_3::AudienceSegment>
Audience segments assigned to this group.
-
#id ⇒ String
ID of this audience segment group.
-
#name ⇒ String
Name of this audience segment group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AudienceSegmentGroup
constructor
A new instance of AudienceSegmentGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AudienceSegmentGroup
Returns a new instance of AudienceSegmentGroup
1283 1284 1285 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 1283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audience_segments ⇒ Array<Google::Apis::DfareportingV2_3::AudienceSegment>
Audience segments assigned to this group. The number of segments must be
between 2 and 100.
Corresponds to the JSON property audienceSegments
1270 1271 1272 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 1270 def audience_segments @audience_segments end |
#id ⇒ String
ID of this audience segment group. This is a read-only, auto-generated field.
Corresponds to the JSON property id
1275 1276 1277 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 1275 def id @id end |
#name ⇒ String
Name of this audience segment group. This is a required field and must be less
than 65 characters long.
Corresponds to the JSON property name
1281 1282 1283 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 1281 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1288 1289 1290 1291 1292 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 1288 def update!(**args) @audience_segments = args[:audience_segments] if args.key?(:audience_segments) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |