class Google::Apis::YoutubereportingV1::Job
A job creating reports of a specific type.
Attributes
The creation date/time of the job. Corresponds to the JSON property `createTime` @return [String]
The date/time when this job will expire/expired. After a job expired, no new reports are generated. Corresponds to the JSON property `expireTime` @return [String]
The server-generated ID of the job (max. 40 characters). Corresponds to the JSON property `id` @return [String]
The name of the job (max. 100 characters). Corresponds to the JSON property `name` @return [String]
The type of reports this job creates. Corresponds to the ID of a ReportType
. Corresponds to the JSON property `reportTypeId` @return [String]
True if this a system-managed job that cannot be modified by the user; otherwise false. Corresponds to the JSON property `systemManaged` @return [Boolean]
True if this a system-managed job that cannot be modified by the user; otherwise false. Corresponds to the JSON property `systemManaged` @return [Boolean]
Public Class Methods
# File lib/google/apis/youtubereporting_v1/classes.rb, line 655 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtubereporting_v1/classes.rb, line 660 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @expire_time = args[:expire_time] if args.key?(:expire_time) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @report_type_id = args[:report_type_id] if args.key?(:report_type_id) @system_managed = args[:system_managed] if args.key?(:system_managed) end