class Google::Apis::YoutubereportingV1::Report

A report's metadata including the URL from which the report itself can be downloaded.

Attributes

create_time[RW]

The date/time when this report was created. Corresponds to the JSON property `createTime` @return [String]

download_url[RW]

The URL from which the report can be downloaded (max. 1000 characters). Corresponds to the JSON property `downloadUrl` @return [String]

end_time[RW]

The end of the time period that the report instance covers. The value is exclusive. Corresponds to the JSON property `endTime` @return [String]

id[RW]

The server-generated ID of the report. Corresponds to the JSON property `id` @return [String]

job_id[RW]

The ID of the job that created this report. Corresponds to the JSON property `jobId` @return [String]

start_time[RW]

The start of the time period that the report instance covers. The value is inclusive. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtubereporting_v1/classes.rb, line 258
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtubereporting_v1/classes.rb, line 263
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @job_id = args[:job_id] if args.key?(:job_id)
  @start_time = args[:start_time] if args.key?(:start_time)
  @end_time = args[:end_time] if args.key?(:end_time)
  @create_time = args[:create_time] if args.key?(:create_time)
  @download_url = args[:download_url] if args.key?(:download_url)
end