Class: Google::Apis::DisplayvideoV3::EnvironmentTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnvironmentTargetingOptionDetails

Returns a new instance of EnvironmentTargetingOptionDetails.



6751
6752
6753
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6751

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#environmentString

Output only. The serving environment. Corresponds to the JSON property environment

Returns:

  • (String)


6749
6750
6751
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6749

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6756
6757
6758
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 6756

def update!(**args)
  @environment = args[:environment] if args.key?(:environment)
end