Class: Google::Apis::DisplayvideoV4::CustomBiddingAlgorithmRulesRef

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

Overview

The reference to the uploaded AlgorithmRules file. Retrieve the location to upload new AlgorithmRules file to using customBiddingAlgorithms.uploadRules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomBiddingAlgorithmRulesRef

Returns a new instance of CustomBiddingAlgorithmRulesRef.



6134
6135
6136
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6134

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

Instance Attribute Details

#resource_nameString

A resource name to be used in media.download to download the rules files. Or media.upload to upload the rules files. Resource names have the format customBiddingAlgorithms/custom_bidding_algorithm_id/rulesRef/ref_id`. Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


6132
6133
6134
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6132

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6139
6140
6141
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6139

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