Class: Google::Apis::DisplayvideoV1::EnvironmentAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::EnvironmentAssignedTargetingOptionDetails
- 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
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
Output only.
-
#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.
3704 3705 3706 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3704 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Output only. The serving environment.
Corresponds to the JSON property environment
3695 3696 3697 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3695 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
3702 3703 3704 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3702 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3709 3710 3711 3712 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3709 def update!(**args) @environment = args[:environment] if args.key?(:environment) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) end |