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.



3847
3848
3849
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3847

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)


3840
3841
3842
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3840

def advertiser_id
  @advertiser_id
end

#readiness_stateString

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

Returns:

  • (String)


3845
3846
3847
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3845

def readiness_state
  @readiness_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3852
3853
3854
3855
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3852

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