Class: Google::Apis::DisplayvideoV1::CustomBiddingModelReadinessState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb

Overview

The custom bidding algorithm model readiness state for a single shared advertiser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomBiddingModelReadinessState

Returns a new instance of CustomBiddingModelReadinessState.



3878
3879
3880
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3878

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

Instance Attribute Details

#advertiser_idFixnum

The unique ID of the relevant advertiser. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


3871
3872
3873
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3871

def advertiser_id
  @advertiser_id
end

#readiness_stateString

The readiness state of custom bidding model. Corresponds to the JSON property readinessState

Returns:

  • (String)


3876
3877
3878
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3876

def readiness_state
  @readiness_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3883
3884
3885
3886
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3883

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