Class: Google::Apis::DisplayvideoV4::YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
The matching function for a location asset filter.
Instance Attribute Summary collapse
-
#business ⇒ String
Optional.
-
#labels ⇒ Array<String>
Optional.
-
#location_asset_ids ⇒ Array<Fixnum>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction
constructor
A new instance of YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction
Returns a new instance of YoutubeAssetAssociationLocationAssetFilterLocationMatchingFunction.
14892 14893 14894 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14892 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business ⇒ String
Optional. The business name to match with. This field is optional and can only
be set if location_matching_type is FILTER.
Corresponds to the JSON property business
14878 14879 14880 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14878 def business @business end |
#labels ⇒ Array<String>
Optional. The labels to match with. Labels are logically OR'ed together. This
field is optional and can only be set if location_matching_type is FILTER.
Corresponds to the JSON property labels
14884 14885 14886 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14884 def labels @labels end |
#location_asset_ids ⇒ Array<Fixnum>
Optional. The selected location asset IDs. This field is required if
location_matching_type is SELECTED_ASSETS.
Corresponds to the JSON property locationAssetIds
14890 14891 14892 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14890 def location_asset_ids @location_asset_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14897 14898 14899 14900 14901 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 14897 def update!(**args) @business = args[:business] if args.key?(:business) @labels = args[:labels] if args.key?(:labels) @location_asset_ids = args[:location_asset_ids] if args.key?(:location_asset_ids) end |