Class: Google::Apis::DisplayvideoV1::AuthorizedSellerStatusAssignedTargetingOptionDetails

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 an assigned authorized seller status. This will be populated in the details field of an AssignedTargetingOption when targeting_type is TARGETING_TYPE_AUTHORIZED_SELLER_STATUS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthorizedSellerStatusAssignedTargetingOptionDetails

Returns a new instance of AuthorizedSellerStatusAssignedTargetingOptionDetails.



1227
1228
1229
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1227

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

Instance Attribute Details

#authorized_seller_statusString

Output only. The authorized seller status to target. Corresponds to the JSON property authorizedSellerStatus

Returns:

  • (String)


1219
1220
1221
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1219

def authorized_seller_status
  @authorized_seller_status
end

#targeting_option_idString

Required. The targeting_option_id of a TargetingOption of type TARGETING_TYPE_AUTHORIZED_SELLER_STATUS. Corresponds to the JSON property targetingOptionId

Returns:

  • (String)


1225
1226
1227
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1225

def targeting_option_id
  @targeting_option_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1232
1233
1234
1235
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 1232

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