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.



5983
5984
5985
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5983

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)


5981
5982
5983
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5981

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5988
5989
5990
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 5988

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