class Google::Apis::DisplayvideoV1::EnvironmentAssignedTargetingOptionDetails

Assigned environment targeting option details. This will be populated in the details field of an AssignedTargetingOption when targeting_type is ` TARGETING_TYPE_ENVIRONMENT`.

Attributes

environment[RW]

Output only. The serving environment. Corresponds to the JSON property `environment` @return [String]

targeting_option_id[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 4131
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 4136
def update!(**args)
  @environment = args[:environment] if args.key?(:environment)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
end