Class: Google::Apis::DisplayvideoV2::AuthorizedSellerStatusAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::AuthorizedSellerStatusAssignedTargetingOptionDetails
- 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 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
. If a resource does not have an
TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
assigned targeting option, it is
using the "Authorized Direct Sellers and Resellers" option.
Instance Attribute Summary collapse
-
#authorized_seller_status ⇒ String
Output only.
-
#targeting_option_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizedSellerStatusAssignedTargetingOptionDetails
constructor
A new instance of AuthorizedSellerStatusAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthorizedSellerStatusAssignedTargetingOptionDetails
Returns a new instance of AuthorizedSellerStatusAssignedTargetingOptionDetails.
1502 1503 1504 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1502 def initialize(**args) update!(**args) end |
Instance Attribute Details
#authorized_seller_status ⇒ String
Output only. The authorized seller status to target.
Corresponds to the JSON property authorizedSellerStatus
1494 1495 1496 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1494 def @authorized_seller_status end |
#targeting_option_id ⇒ String
Required. The targeting_option_id of a TargetingOption of type
TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
.
Corresponds to the JSON property targetingOptionId
1500 1501 1502 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1500 def targeting_option_id @targeting_option_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1507 1508 1509 1510 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 1507 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 |