class Google::Apis::DisplayvideoV1::ManualTrigger
A single manual trigger in Display & Video 360.
Attributes
Required. The maximum duration of each activation in minutes. Must be between 1 and 360 inclusive. After this duration, the trigger will be automatically deactivated. Corresponds to the JSON property `activationDurationMinutes` @return [Fixnum]
Required. Immutable. The unique ID of the advertiser that the manual trigger belongs to. Corresponds to the JSON property `advertiserId` @return [Fixnum]
Required. The display name of the manual trigger. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property `displayName` @return [String]
Output only. The timestamp of the trigger's latest activation. Corresponds to the JSON property `latestActivationTime` @return [String]
Output only. The resource name of the manual trigger. Corresponds to the JSON property `name` @return [String]
Output only. The state of the manual trigger. Will be set to the `INACTIVE` state upon creation. Corresponds to the JSON property `state` @return [String]
Output only. The unique ID of the manual trigger. Corresponds to the JSON property `triggerId` @return [Fixnum]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 7082 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 7087 def update!(**args) @activation_duration_minutes = args[:activation_duration_minutes] if args.key?(:activation_duration_minutes) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @display_name = args[:display_name] if args.key?(:display_name) @latest_activation_time = args[:latest_activation_time] if args.key?(:latest_activation_time) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @trigger_id = args[:trigger_id] if args.key?(:trigger_id) end