Class: Google::Apis::YoutubereportingV1::Report
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::Report
- 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's metadata including the URL from which the report itself can be downloaded.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The date/time when this report was created.
-
#download_url ⇒ String
The URL from which the report can be downloaded (max. 1000 characters).
-
#end_time ⇒ String
The end of the time period that the report instance covers.
-
#id ⇒ String
The server-generated ID of the report.
-
#job_expire_time ⇒ String
The date/time when the job this report belongs to will expire/expired.
-
#job_id ⇒ String
The ID of the job that created this report.
-
#start_time ⇒ String
The start of the time period that the report instance covers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Report
constructor
A new instance of Report.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Report
Returns a new instance of Report
174 175 176 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The date/time when this report was created.
Corresponds to the JSON property createTime
162 163 164 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 162 def create_time @create_time end |
#download_url ⇒ String
The URL from which the report can be downloaded (max. 1000 characters).
Corresponds to the JSON property downloadUrl
151 152 153 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 151 def download_url @download_url end |
#end_time ⇒ String
The end of the time period that the report instance covers. The value is
exclusive.
Corresponds to the JSON property endTime
146 147 148 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 146 def end_time @end_time end |
#id ⇒ String
The server-generated ID of the report.
Corresponds to the JSON property id
172 173 174 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 172 def id @id end |
#job_expire_time ⇒ String
The date/time when the job this report belongs to will expire/expired.
Corresponds to the JSON property jobExpireTime
140 141 142 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 140 def job_expire_time @job_expire_time end |
#job_id ⇒ String
The ID of the job that created this report.
Corresponds to the JSON property jobId
167 168 169 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 167 def job_id @job_id end |
#start_time ⇒ String
The start of the time period that the report instance covers. The value is
inclusive.
Corresponds to the JSON property startTime
157 158 159 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 157 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
179 180 181 182 183 184 185 186 187 |
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 179 def update!(**args) @job_expire_time = args[:job_expire_time] if args.key?(:job_expire_time) @end_time = args[:end_time] if args.key?(:end_time) @download_url = args[:download_url] if args.key?(:download_url) @start_time = args[:start_time] if args.key?(:start_time) @create_time = args[:create_time] if args.key?(:create_time) @job_id = args[:job_id] if args.key?(:job_id) @id = args[:id] if args.key?(:id) end |