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.
845 846 847 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 845 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
825 826 827 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 825 def deprecate_time @deprecate_time end |
#id ⇒ String
The ID of the report type (max. 100 characters).
Corresponds to the JSON property id
830 831 832 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 830 def id @id end |
#name ⇒ String
The name of the report type (max. 100 characters).
Corresponds to the JSON property name
835 836 837 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 835 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
842 843 844 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 842 def system_managed @system_managed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
850 851 852 853 854 855 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 850 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 |