generated/google/apis/youtubereporting_v1/representations.rb in google-api-client-0.10.3 vs generated/google/apis/youtubereporting_v1/representations.rb in google-api-client-0.11.0

- old
+ new

@@ -32,17 +32,17 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ReportType + class ListReportTypesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class ListReportTypesResponse + class ReportType class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -71,71 +71,71 @@ end class Report # @private class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' property :job_id, as: 'jobId' property :id, as: 'id' - property :end_time, as: 'endTime' property :job_expire_time, as: 'jobExpireTime' + property :end_time, as: 'endTime' property :download_url, as: 'downloadUrl' property :start_time, as: 'startTime' - property :create_time, as: 'createTime' end end class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class ListReportTypesResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :report_types, as: 'reportTypes', class: Google::Apis::YoutubereportingV1::ReportType, decorator: Google::Apis::YoutubereportingV1::ReportType::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class ReportType # @private class Representation < Google::Apis::Core::JsonRepresentation property :deprecate_time, as: 'deprecateTime' property :name, as: 'name' property :id, as: 'id' property :system_managed, as: 'systemManaged' end end - class ListReportTypesResponse - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' - collection :report_types, as: 'reportTypes', class: Google::Apis::YoutubereportingV1::ReportType, decorator: Google::Apis::YoutubereportingV1::ReportType::Representation - - end - end - class ListJobsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :jobs, as: 'jobs', class: Google::Apis::YoutubereportingV1::Job, decorator: Google::Apis::YoutubereportingV1::Job::Representation + property :next_page_token, as: 'nextPageToken' end end class Job # @private class Representation < Google::Apis::Core::JsonRepresentation - property :expire_time, as: 'expireTime' - property :report_type_id, as: 'reportTypeId' - property :name, as: 'name' property :system_managed, as: 'systemManaged' property :id, as: 'id' property :create_time, as: 'createTime' + property :report_type_id, as: 'reportTypeId' + property :expire_time, as: 'expireTime' + property :name, as: 'name' end end class ListReportsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation - property :next_page_token, as: 'nextPageToken' collection :reports, as: 'reports', class: Google::Apis::YoutubereportingV1::Report, decorator: Google::Apis::YoutubereportingV1::Report::Representation + property :next_page_token, as: 'nextPageToken' end end class Media # @private