Class: Google::Apis::DisplayvideoV1::CustomBiddingScriptRef
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CustomBiddingScriptRef
- 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 reference to the uploaded custom bidding script file.
Instance Attribute Summary collapse
-
#resource_name ⇒ String
A resource name to be used in media.download to Download the script files.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomBiddingScriptRef
constructor
A new instance of CustomBiddingScriptRef.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomBiddingScriptRef
Returns a new instance of CustomBiddingScriptRef.
3938 3939 3940 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3938 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_name ⇒ String
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`
3936 3937 3938 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3936 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3943 3944 3945 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3943 def update!(**args) @resource_name = args[:resource_name] if args.key?(:resource_name) end |