Class: Google::Apis::YoutubeAnalyticsV1::BatchReportDefinition
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeAnalyticsV1::BatchReportDefinition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_analytics_v1/classes.rb,
generated/google/apis/youtube_analytics_v1/representations.rb,
generated/google/apis/youtube_analytics_v1/representations.rb
Overview
Contains single batchReportDefinition resource.
Instance Attribute Summary collapse
-
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the report definition.
-
#kind ⇒ String
This value specifies the type of data of this item.
-
#name ⇒ String
Name of the report definition.
-
#status ⇒ String
Status of the report definition.
-
#type ⇒ String
Type of the report definition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchReportDefinition
constructor
A new instance of BatchReportDefinition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchReportDefinition
Returns a new instance of BatchReportDefinition.
165 166 167 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 165 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The ID that YouTube assigns and uses to uniquely identify the report
definition.
Corresponds to the JSON property id
142 143 144 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 142 def id @id end |
#kind ⇒ String
This value specifies the type of data of this item. For batch report
definition the kind property value is youtubeAnalytics#batchReportDefinition.
Corresponds to the JSON property kind
148 149 150 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 148 def kind @kind end |
#name ⇒ String
Name of the report definition.
Corresponds to the JSON property name
153 154 155 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 153 def name @name end |
#status ⇒ String
Status of the report definition.
Corresponds to the JSON property status
158 159 160 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 158 def status @status end |
#type ⇒ String
Type of the report definition.
Corresponds to the JSON property type
163 164 165 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 163 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
170 171 172 173 174 175 176 |
# File 'generated/google/apis/youtube_analytics_v1/classes.rb', line 170 def update!(**args) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |