Class: Google::Apis::DisplayvideoV2::EnvironmentTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::EnvironmentTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Represents a targetable environment. This will be populated in the
environment_details field of a TargetingOption when targeting_type is
TARGETING_TYPE_ENVIRONMENT
.
Instance Attribute Summary collapse
-
#environment ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnvironmentTargetingOptionDetails
constructor
A new instance of EnvironmentTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnvironmentTargetingOptionDetails
Returns a new instance of EnvironmentTargetingOptionDetails.
5275 5276 5277 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environment ⇒ String
Output only. The serving environment.
Corresponds to the JSON property environment
5273 5274 5275 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5273 def environment @environment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5280 5281 5282 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 5280 def update!(**args) @environment = args[:environment] if args.key?(:environment) end |