YOUTUBEANALYTICS

youtubeAnalytics.groupItems.delete

valid {
    input.Qs.id == STRING
    input.Qs.onBehalfOfContentOwner == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.groupItems.insert

enum_ErrorProtoLocationType := [ "PATH", "OTHER", "PARAMETER" ]
enum_ErrorsCode := [ "BAD_REQUEST", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "GONE", "PRECONDITION_FAILED", "INTERNAL_ERROR", "SERVICE_UNAVAILABLE" ]

valid {
    input.Body.errors.code == enum_ErrorsCode[_]
    input.Body.errors.error[_].argument[_] == STRING
    input.Body.errors.error[_].code == STRING
    input.Body.errors.error[_].debugInfo == STRING
    input.Body.errors.error[_].domain == STRING
    input.Body.errors.error[_].externalErrorMessage == STRING
    input.Body.errors.error[_].location == STRING
    input.Body.errors.error[_].locationType == enum_ErrorProtoLocationType[_]
    input.Body.errors.requestId == STRING
    input.Body.etag == STRING
    input.Body.groupId == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.resource.id == STRING
    input.Body.resource.kind == STRING
    input.Qs.onBehalfOfContentOwner == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.groupItems.list

valid {
    input.Qs.groupId == STRING
    input.Qs.onBehalfOfContentOwner == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.groups.delete

valid {
    input.Qs.id == STRING
    input.Qs.onBehalfOfContentOwner == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.groups.insert

enum_ErrorProtoLocationType := [ "PATH", "OTHER", "PARAMETER" ]
enum_ErrorsCode := [ "BAD_REQUEST", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "GONE", "PRECONDITION_FAILED", "INTERNAL_ERROR", "SERVICE_UNAVAILABLE" ]

valid {
    input.Body.contentDetails.itemCount == STRING
    input.Body.contentDetails.itemType == STRING
    input.Body.errors.code == enum_ErrorsCode[_]
    input.Body.errors.error[_].argument[_] == STRING
    input.Body.errors.error[_].code == STRING
    input.Body.errors.error[_].debugInfo == STRING
    input.Body.errors.error[_].domain == STRING
    input.Body.errors.error[_].externalErrorMessage == STRING
    input.Body.errors.error[_].location == STRING
    input.Body.errors.error[_].locationType == enum_ErrorProtoLocationType[_]
    input.Body.errors.requestId == STRING
    input.Body.etag == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.snippet.publishedAt == STRING
    input.Body.snippet.title == STRING
    input.Qs.onBehalfOfContentOwner == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.groups.list

valid {
    input.Qs.id == STRING
    input.Qs.mine == BOOLEAN
    input.Qs.onBehalfOfContentOwner == STRING
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.groups.update

enum_ErrorProtoLocationType := [ "PATH", "OTHER", "PARAMETER" ]
enum_ErrorsCode := [ "BAD_REQUEST", "FORBIDDEN", "NOT_FOUND", "CONFLICT", "GONE", "PRECONDITION_FAILED", "INTERNAL_ERROR", "SERVICE_UNAVAILABLE" ]

valid {
    input.Body.contentDetails.itemCount == STRING
    input.Body.contentDetails.itemType == STRING
    input.Body.errors.code == enum_ErrorsCode[_]
    input.Body.errors.error[_].argument[_] == STRING
    input.Body.errors.error[_].code == STRING
    input.Body.errors.error[_].debugInfo == STRING
    input.Body.errors.error[_].domain == STRING
    input.Body.errors.error[_].externalErrorMessage == STRING
    input.Body.errors.error[_].location == STRING
    input.Body.errors.error[_].locationType == enum_ErrorProtoLocationType[_]
    input.Body.errors.requestId == STRING
    input.Body.etag == STRING
    input.Body.id == STRING
    input.Body.kind == STRING
    input.Body.snippet.publishedAt == STRING
    input.Body.snippet.title == STRING
    input.Qs.onBehalfOfContentOwner == STRING
    input.ProviderMetadata.Region == STRING
}

youtubeAnalytics.reports.query

valid {
    input.Qs.currency == STRING
    input.Qs.dimensions == STRING
    input.Qs.endDate == STRING
    input.Qs.filters == STRING
    input.Qs.ids == STRING
    input.Qs.includeHistoricalChannelData == BOOLEAN
    input.Qs.maxResults == INTEGER
    input.Qs.metrics == STRING
    input.Qs.sort == STRING
    input.Qs.startDate == STRING
    input.Qs.startIndex == INTEGER
    input.ProviderMetadata.Region == STRING
}