Class: Google::Apis::DisplayvideoV1::EnvironmentTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

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.



3726
3727
3728
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3726

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

Instance Attribute Details

#environmentString

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

Returns:

  • (String)


3724
3725
3726
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3724

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3731
3732
3733
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 3731

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