Class: Google::Apis::DisplayvideoV1::EnvironmentAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::EnvironmentAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
Assigned environment targeting option details. This will be populated in the
details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_ENVIRONMENT.
Instance Attribute Summary collapse
-
#environment ⇒ String
The serving environment.
-
#targeting_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnvironmentAssignedTargetingOptionDetails
constructor
A new instance of EnvironmentAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnvironmentAssignedTargetingOptionDetails
Returns a new instance of EnvironmentAssignedTargetingOptionDetails.
4768 4769 4770 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4768 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
The serving environment. Output only in v1. Required in v2.
Corresponds to the JSON property environment
4759 4760 4761 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4759 def environment @environment end |
#targeting_option_id ⇒ String
Required. The targeting_option_id of a TargetingOption of type
TARGETING_TYPE_ENVIRONMENT (e.g., "508010" for targeting the
ENVIRONMENT_WEB_OPTIMIZED option).
Corresponds to the JSON property targetingOptionId
4766 4767 4768 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4766 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4773 4774 4775 4776 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 4773 def update!(**args) @environment = args[:environment] if args.key?(:environment) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end |