Class: Google::Apis::YoutubereportingV1::ReportType
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::ReportType
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtubereporting_v1/classes.rb,
generated/google/apis/youtubereporting_v1/representations.rb,
generated/google/apis/youtubereporting_v1/representations.rb
Overview
A report type.
Instance Attribute Summary collapse
-
#deprecate_time ⇒ String
The date/time when this report type was/will be deprecated.
-
#id ⇒ String
The ID of the report type (max. 100 characters).
-
#name ⇒ String
The name of the report type (max. 100 characters).
-
#system_managed ⇒ Boolean
(also: #system_managed?)
True if this a system-managed report type; otherwise false.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportType
constructor
A new instance of ReportType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReportType
Returns a new instance of ReportType.
98 99 100 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 98 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deprecate_time ⇒ String
The date/time when this report type was/will be deprecated.
Corresponds to the JSON property deprecateTime
88 89 90 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 88 def deprecate_time @deprecate_time end |
#id ⇒ String
The ID of the report type (max. 100 characters).
Corresponds to the JSON property id
78 79 80 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 78 def id @id end |
#name ⇒ String
The name of the report type (max. 100 characters).
Corresponds to the JSON property name
83 84 85 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 83 def name @name end |
#system_managed ⇒ Boolean Also known as: system_managed?
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
95 96 97 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 95 def system_managed @system_managed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
103 104 105 106 107 108 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 103 def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) @deprecate_time = args[:deprecate_time] if args.key?(:deprecate_time) @system_managed = args[:system_managed] if args.key?(:system_managed) end |