Class: Google::Apis::DfareportingV2_3::ObjectFilter
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_3::ObjectFilter
- 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
Object Filter.
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#object_ids ⇒ Array<String>
Applicable when status is ASSIGNED.
-
#status ⇒ String
Status of the filter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ObjectFilter
constructor
A new instance of ObjectFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ObjectFilter
Returns a new instance of ObjectFilter.
6599 6600 6601 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 6599 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#objectFilter".
Corresponds to the JSON property kind
6584 6585 6586 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 6584 def kind @kind end |
#object_ids ⇒ Array<String>
Applicable when status is ASSIGNED. The user has access to objects with these
object IDs.
Corresponds to the JSON property objectIds
6590 6591 6592 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 6590 def object_ids @object_ids end |
#status ⇒ String
Status of the filter. NONE means the user has access to none of the objects.
ALL means the user has access to all objects. ASSIGNED means the user has
access to the objects with IDs in the objectIds list.
Corresponds to the JSON property status
6597 6598 6599 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 6597 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6604 6605 6606 6607 6608 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 6604 def update!(**args) @kind = args[:kind] if args.key?(:kind) @object_ids = args[:object_ids] if args.key?(:object_ids) @status = args[:status] if args.key?(:status) end |