DRIVELABELS

drivelabels.labels.create

enum_GoogleAppsDriveLabelsV2FieldDateOptionsDateFormatType := [ "DATE_FORMAT_UNSPECIFIED", "LONG_DATE", "SHORT_DATE" ]
enum_GoogleAppsDriveLabelsV2LabelLabelType := [ "LABEL_TYPE_UNSPECIFIED", "SHARED", "ADMIN", "GOOGLE_APP" ]

valid {
    input.Body.fields[_].dateOptions.dateFormatType == enum_GoogleAppsDriveLabelsV2FieldDateOptionsDateFormatType[_]
    input.Body.fields[_].integerOptions == {}
    input.Body.fields[_].properties.displayName == STRING
    input.Body.fields[_].properties.insertBeforeField == STRING
    input.Body.fields[_].properties.required == BOOLEAN
    input.Body.fields[_].selectionOptions.choices[_].id == STRING
    input.Body.fields[_].selectionOptions.choices[_].properties.badgeConfig.color.alpha == NUMBER
    input.Body.fields[_].selectionOptions.choices[_].properties.badgeConfig.color.blue == NUMBER
    input.Body.fields[_].selectionOptions.choices[_].properties.badgeConfig.color.green == NUMBER
    input.Body.fields[_].selectionOptions.choices[_].properties.badgeConfig.color.red == NUMBER
    input.Body.fields[_].selectionOptions.choices[_].properties.badgeConfig.priorityOverride == STRING
    input.Body.fields[_].selectionOptions.choices[_].properties.description == STRING
    input.Body.fields[_].selectionOptions.choices[_].properties.displayName == STRING
    input.Body.fields[_].selectionOptions.choices[_].properties.insertBeforeChoice == STRING
    input.Body.fields[_].selectionOptions.listOptions.maxEntries == INTEGER
    input.Body.fields[_].textOptions == {}
    input.Body.fields[_].userOptions.listOptions.maxEntries == INTEGER
    input.Body.labelType == enum_GoogleAppsDriveLabelsV2LabelLabelType[_]
    input.Body.learnMoreUri == STRING
    input.Body.properties.description == STRING
    input.Body.properties.title == STRING
    input.Qs.languageCode == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.Qs.writeControl.requiredRevisionId == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.delta

enum_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestView := [ "LABEL_VIEW_BASIC", "LABEL_VIEW_FULL" ]
enum_GoogleAppsDriveLabelsV2FieldDateOptionsDateFormatType := [ "DATE_FORMAT_UNSPECIFIED", "LONG_DATE", "SHORT_DATE" ]

valid {
    input.Body.languageCode == STRING
    input.Body.requests[_].createField.field.dateOptions.dateFormatType == enum_GoogleAppsDriveLabelsV2FieldDateOptionsDateFormatType[_]
    input.Body.requests[_].createField.field.integerOptions == {}
    input.Body.requests[_].createField.field.properties.displayName == STRING
    input.Body.requests[_].createField.field.properties.insertBeforeField == STRING
    input.Body.requests[_].createField.field.properties.required == BOOLEAN
    input.Body.requests[_].createField.field.selectionOptions.choices[_].id == STRING
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.badgeConfig.color.alpha == NUMBER
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.badgeConfig.color.blue == NUMBER
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.badgeConfig.color.green == NUMBER
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.badgeConfig.color.red == NUMBER
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.badgeConfig.priorityOverride == STRING
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.description == STRING
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.displayName == STRING
    input.Body.requests[_].createField.field.selectionOptions.choices[_].properties.insertBeforeChoice == STRING
    input.Body.requests[_].createField.field.selectionOptions.listOptions.maxEntries == INTEGER
    input.Body.requests[_].createField.field.textOptions == {}
    input.Body.requests[_].createField.field.userOptions.listOptions.maxEntries == INTEGER
    input.Body.requests[_].createSelectionChoice.choice.id == STRING
    input.Body.requests[_].createSelectionChoice.choice.properties.badgeConfig.color.alpha == NUMBER
    input.Body.requests[_].createSelectionChoice.choice.properties.badgeConfig.color.blue == NUMBER
    input.Body.requests[_].createSelectionChoice.choice.properties.badgeConfig.color.green == NUMBER
    input.Body.requests[_].createSelectionChoice.choice.properties.badgeConfig.color.red == NUMBER
    input.Body.requests[_].createSelectionChoice.choice.properties.badgeConfig.priorityOverride == STRING
    input.Body.requests[_].createSelectionChoice.choice.properties.description == STRING
    input.Body.requests[_].createSelectionChoice.choice.properties.displayName == STRING
    input.Body.requests[_].createSelectionChoice.choice.properties.insertBeforeChoice == STRING
    input.Body.requests[_].createSelectionChoice.fieldId == STRING
    input.Body.requests[_].deleteField.id == STRING
    input.Body.requests[_].deleteSelectionChoice.fieldId == STRING
    input.Body.requests[_].deleteSelectionChoice.id == STRING
    input.Body.requests[_].disableField.disabledPolicy.hideInSearch == BOOLEAN
    input.Body.requests[_].disableField.disabledPolicy.showInApply == BOOLEAN
    input.Body.requests[_].disableField.id == STRING
    input.Body.requests[_].disableField.updateMask == STRING
    input.Body.requests[_].disableSelectionChoice.disabledPolicy.hideInSearch == BOOLEAN
    input.Body.requests[_].disableSelectionChoice.disabledPolicy.showInApply == BOOLEAN
    input.Body.requests[_].disableSelectionChoice.fieldId == STRING
    input.Body.requests[_].disableSelectionChoice.id == STRING
    input.Body.requests[_].disableSelectionChoice.updateMask == STRING
    input.Body.requests[_].enableField.id == STRING
    input.Body.requests[_].enableSelectionChoice.fieldId == STRING
    input.Body.requests[_].enableSelectionChoice.id == STRING
    input.Body.requests[_].updateField.id == STRING
    input.Body.requests[_].updateField.properties.displayName == STRING
    input.Body.requests[_].updateField.properties.insertBeforeField == STRING
    input.Body.requests[_].updateField.properties.required == BOOLEAN
    input.Body.requests[_].updateField.updateMask == STRING
    input.Body.requests[_].updateFieldType.dateOptions.dateFormatType == enum_GoogleAppsDriveLabelsV2FieldDateOptionsDateFormatType[_]
    input.Body.requests[_].updateFieldType.id == STRING
    input.Body.requests[_].updateFieldType.integerOptions == {}
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].id == STRING
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.badgeConfig.color.alpha == NUMBER
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.badgeConfig.color.blue == NUMBER
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.badgeConfig.color.green == NUMBER
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.badgeConfig.color.red == NUMBER
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.badgeConfig.priorityOverride == STRING
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.description == STRING
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.displayName == STRING
    input.Body.requests[_].updateFieldType.selectionOptions.choices[_].properties.insertBeforeChoice == STRING
    input.Body.requests[_].updateFieldType.selectionOptions.listOptions.maxEntries == INTEGER
    input.Body.requests[_].updateFieldType.textOptions == {}
    input.Body.requests[_].updateFieldType.updateMask == STRING
    input.Body.requests[_].updateFieldType.userOptions.listOptions.maxEntries == INTEGER
    input.Body.requests[_].updateLabel.properties.description == STRING
    input.Body.requests[_].updateLabel.properties.title == STRING
    input.Body.requests[_].updateLabel.updateMask == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.fieldId == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.id == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.properties.badgeConfig.color.alpha == NUMBER
    input.Body.requests[_].updateSelectionChoiceProperties.properties.badgeConfig.color.blue == NUMBER
    input.Body.requests[_].updateSelectionChoiceProperties.properties.badgeConfig.color.green == NUMBER
    input.Body.requests[_].updateSelectionChoiceProperties.properties.badgeConfig.color.red == NUMBER
    input.Body.requests[_].updateSelectionChoiceProperties.properties.badgeConfig.priorityOverride == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.properties.description == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.properties.displayName == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.properties.insertBeforeChoice == STRING
    input.Body.requests[_].updateSelectionChoiceProperties.updateMask == STRING
    input.Body.useAdminAccess == BOOLEAN
    input.Body.view == enum_GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestView[_]
    input.Body.writeControl.requiredRevisionId == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.disable

valid {
    input.Body.disabledPolicy.hideInSearch == BOOLEAN
    input.Body.disabledPolicy.showInApply == BOOLEAN
    input.Body.languageCode == STRING
    input.Body.updateMask == STRING
    input.Body.useAdminAccess == BOOLEAN
    input.Body.writeControl.requiredRevisionId == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.enable

valid {
    input.Body.languageCode == STRING
    input.Body.useAdminAccess == BOOLEAN
    input.Body.writeControl.requiredRevisionId == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.get

enum_ViewParameter := [ "LABEL_VIEW_BASIC", "LABEL_VIEW_FULL" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.languageCode == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.list

enum_MinimumRoleParameter := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]
enum_ViewParameter := [ "LABEL_VIEW_BASIC", "LABEL_VIEW_FULL" ]

valid {
    input.Qs.customer == STRING
    input.Qs.languageCode == STRING
    input.Qs.minimumRole == enum_MinimumRoleParameter[_]
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.publishedOnly == BOOLEAN
    input.Qs.useAdminAccess == BOOLEAN
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.locks.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.permissions.batchDelete

valid {
    input.Body.requests[_].name == STRING
    input.Body.requests[_].useAdminAccess == BOOLEAN
    input.Body.useAdminAccess == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.permissions.batchUpdate

enum_GoogleAppsDriveLabelsV2LabelPermissionRole := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]

valid {
    input.Body.requests[_].labelPermission.audience == STRING
    input.Body.requests[_].labelPermission.email == STRING
    input.Body.requests[_].labelPermission.group == STRING
    input.Body.requests[_].labelPermission.name == STRING
    input.Body.requests[_].labelPermission.person == STRING
    input.Body.requests[_].labelPermission.role == enum_GoogleAppsDriveLabelsV2LabelPermissionRole[_]
    input.Body.requests[_].parent == STRING
    input.Body.requests[_].useAdminAccess == BOOLEAN
    input.Body.useAdminAccess == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.permissions.create

enum_GoogleAppsDriveLabelsV2LabelPermissionRole := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]

valid {
    input.Body.audience == STRING
    input.Body.email == STRING
    input.Body.group == STRING
    input.Body.name == STRING
    input.Body.person == STRING
    input.Body.role == enum_GoogleAppsDriveLabelsV2LabelPermissionRole[_]
    input.ReqMap.parent == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.permissions.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.permissions.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.publish

valid {
    input.Body.languageCode == STRING
    input.Body.useAdminAccess == BOOLEAN
    input.Body.writeControl.requiredRevisionId == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.locks.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.permissions.batchDelete

valid {
    input.Body.requests[_].name == STRING
    input.Body.requests[_].useAdminAccess == BOOLEAN
    input.Body.useAdminAccess == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.permissions.batchUpdate

enum_GoogleAppsDriveLabelsV2LabelPermissionRole := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]

valid {
    input.Body.requests[_].labelPermission.audience == STRING
    input.Body.requests[_].labelPermission.email == STRING
    input.Body.requests[_].labelPermission.group == STRING
    input.Body.requests[_].labelPermission.name == STRING
    input.Body.requests[_].labelPermission.person == STRING
    input.Body.requests[_].labelPermission.role == enum_GoogleAppsDriveLabelsV2LabelPermissionRole[_]
    input.Body.requests[_].parent == STRING
    input.Body.requests[_].useAdminAccess == BOOLEAN
    input.Body.useAdminAccess == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.permissions.create

enum_GoogleAppsDriveLabelsV2LabelPermissionRole := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]

valid {
    input.Body.audience == STRING
    input.Body.email == STRING
    input.Body.group == STRING
    input.Body.name == STRING
    input.Body.person == STRING
    input.Body.role == enum_GoogleAppsDriveLabelsV2LabelPermissionRole[_]
    input.ReqMap.parent == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.permissions.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.permissions.list

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.revisions.updatePermissions

enum_GoogleAppsDriveLabelsV2LabelPermissionRole := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]

valid {
    input.Body.audience == STRING
    input.Body.email == STRING
    input.Body.group == STRING
    input.Body.name == STRING
    input.Body.person == STRING
    input.Body.role == enum_GoogleAppsDriveLabelsV2LabelPermissionRole[_]
    input.ReqMap.parent == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.updateLabelCopyMode

enum_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequestCopyMode := [ "COPY_MODE_UNSPECIFIED", "DO_NOT_COPY", "ALWAYS_COPY", "COPY_APPLIABLE" ]
enum_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequestView := [ "LABEL_VIEW_BASIC", "LABEL_VIEW_FULL" ]

valid {
    input.Body.copyMode == enum_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequestCopyMode[_]
    input.Body.languageCode == STRING
    input.Body.useAdminAccess == BOOLEAN
    input.Body.view == enum_GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequestView[_]
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.labels.updatePermissions

enum_GoogleAppsDriveLabelsV2LabelPermissionRole := [ "LABEL_ROLE_UNSPECIFIED", "READER", "APPLIER", "ORGANIZER", "EDITOR" ]

valid {
    input.Body.audience == STRING
    input.Body.email == STRING
    input.Body.group == STRING
    input.Body.name == STRING
    input.Body.person == STRING
    input.Body.role == enum_GoogleAppsDriveLabelsV2LabelPermissionRole[_]
    input.ReqMap.parent == STRING
    input.Qs.useAdminAccess == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

drivelabels.limits.getLabel

valid {
    input.Qs.name == STRING
    input.ProviderMetadata.Region == STRING
}

drivelabels.users.getCapabilities

valid {
    input.ReqMap.name == STRING
    input.Qs.customer == STRING
    input.ProviderMetadata.Region == STRING
}