Class: Google::Apis::DisplayvideoV1::ParentEntityFilter
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::ParentEntityFilter
- 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
-
#file_type ⇒ Array<String>
Required.
-
#filter_ids ⇒ Array<Fixnum>
The IDs of the specified filter type.
-
#filter_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParentEntityFilter
constructor
A new instance of ParentEntityFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ParentEntityFilter
Returns a new instance of ParentEntityFilter.
6843 6844 6845 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_type ⇒ Array<String>
Required. File types that will be returned.
Corresponds to the JSON property fileType
6830 6831 6832 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6830 def file_type @file_type end |
#filter_ids ⇒ Array<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
6836 6837 6838 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6836 def filter_ids @filter_ids end |
#filter_type ⇒ String
Required. Filter type used to filter fetched entities.
Corresponds to the JSON property filterType
6841 6842 6843 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6841 def filter_type @filter_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6848 6849 6850 6851 6852 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6848 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 |