Class: Google::Apis::DisplayvideoV3::CustomBiddingAlgorithmRulesRef

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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.



5658
5659
5660
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5658

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)


5656
5657
5658
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5656

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5663
5664
5665
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5663

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