class Google::Apis::YoutubereportingV1::ReportType

A report type.

Attributes

deprecate_time[RW]

The date/time when this report type was/will be deprecated. Corresponds to the JSON property `deprecateTime` @return [String]

id[RW]

The ID of the report type (max. 100 characters). Corresponds to the JSON property `id` @return [String]

name[RW]

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

system_managed[RW]

True if this a system-managed report type; otherwise false. Reporting jobs for system-managed report types are created automatically and can thus not be used in the `CreateJob` method. Corresponds to the JSON property `systemManaged` @return [Boolean]

system_managed?[RW]

True if this a system-managed report type; otherwise false. Reporting jobs for system-managed report types are created automatically and can thus not be used in the `CreateJob` method. 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 836
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 841
def update!(**args)
  @deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time)
  @id = args[:id] if args.key?(:id)
  @name = args[:name] if args.key?(:name)
  @system_managed = args[:system_managed] if args.key?(:system_managed)
end