class Google::Apis::YoutubereportingV1::Job

A job creating reports of a specific type.

Attributes

create_time[RW]

The creation date/time of the job. Corresponds to the JSON property `createTime` @return [String]

expire_time[RW]

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]

id[RW]

The server-generated ID of the job (max. 40 characters). Corresponds to the JSON property `id` @return [String]

name[RW]

The name of the job (max. 100 characters). Corresponds to the JSON property `name` @return [String]

report_type_id[RW]

The type of reports this job creates. Corresponds to the ID of a ReportType. Corresponds to the JSON property `reportTypeId` @return [String]

system_managed[RW]

True if this a system-managed job that cannot be modified by the user; otherwise false. Corresponds to the JSON property `systemManaged` @return [Boolean]

system_managed?[RW]

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

new(**args) click to toggle source
# File lib/google/apis/youtubereporting_v1/classes.rb, line 655
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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