Class: Google::Apis::DisplayvideoV1::ParentEntityFilter

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

Overview

A filtering option that filters on selected file types belonging to a chosen set of filter entities.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ParentEntityFilter

Returns a new instance of ParentEntityFilter.



273
274
275
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 273

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

Instance Attribute Details

#file_typeArray<String>

Required. File types that will be returned. Corresponds to the JSON property fileType

Returns:

  • (Array<String>)


259
260
261
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 259

def file_type
  @file_type
end

#filter_idsArray<Fixnum>

The IDs of the specified filter type. This is used to filter entities to fetch. If filter type is not FILTER_TYPE_NONE, at least one ID must be specified. Corresponds to the JSON property filterIds

Returns:

  • (Array<Fixnum>)


266
267
268
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 266

def filter_ids
  @filter_ids
end

#filter_typeString

Required. Filter type used to filter fetched entities. Corresponds to the JSON property filterType

Returns:

  • (String)


271
272
273
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 271

def filter_type
  @filter_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



278
279
280
281
282
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 278

def update!(**args)
  @file_type = args[:file_type] if args.key?(:file_type)
  @filter_ids = args[:filter_ids] if args.key?(:filter_ids)
  @filter_type = args[:filter_type] if args.key?(:filter_type)
end