Class: Google::Apis::DisplayvideoV3::CustomBiddingScriptRef

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 custom bidding script file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomBiddingScriptRef

Returns a new instance of CustomBiddingScriptRef.



5775
5776
5777
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5775

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

Instance Attribute Details

#resource_nameString

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

Returns:

  • (String)


5773
5774
5775
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5773

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5780
5781
5782
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 5780

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