plus.activities.get

valid {
    input.ReqMap.activityId == STRING
    input.ProviderMetadata.Region == STRING
}

plus.activities.list

enum_CollectionParameter := [ "public" ]

valid {
    input.ReqMap.collection == enum_CollectionParameter[_]
    input.ReqMap.userId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

plus.activities.search

enum_OrderByParameter := [ "best", "recent" ]

valid {
    input.Qs.language == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.orderBy == enum_OrderByParameter[_]
    input.Qs.pageToken == STRING
    input.Qs.query == STRING
    input.ProviderMetadata.Region == STRING
}

plus.comments.get

valid {
    input.ReqMap.commentId == STRING
    input.ProviderMetadata.Region == STRING
}

plus.comments.list

enum_SortOrderParameter := [ "ascending", "descending" ]

valid {
    input.ReqMap.activityId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.sortOrder == enum_SortOrderParameter[_]
    input.ProviderMetadata.Region == STRING
}

plus.people.get

valid {
    input.ReqMap.userId == STRING
    input.ProviderMetadata.Region == STRING
}

plus.people.list

enum_CollectionParameter := [ "connected", "visible" ]
enum_OrderByParameter := [ "alphabetical", "best" ]

valid {
    input.ReqMap.collection == enum_CollectionParameter[_]
    input.ReqMap.userId == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.orderBy == enum_OrderByParameter[_]
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

plus.people.listByActivity

enum_CollectionParameter := [ "plusoners", "resharers" ]

valid {
    input.ReqMap.activityId == STRING
    input.ReqMap.collection == enum_CollectionParameter[_]
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

plus.people.search

valid {
    input.Qs.language == STRING
    input.Qs.maxResults == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.query == STRING
    input.ProviderMetadata.Region == STRING
}