SERVICEUSAGE

serviceusage.operations.cancel

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.operations.delete

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

serviceusage.operations.get

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

serviceusage.operations.list

valid {
    input.Qs.filter == STRING
    input.Qs.name == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.batchEnable

valid {
    input.Body.serviceIds[_] == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.batchGet

valid {
    input.ReqMap.parent == STRING
    input.Qs.names == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.get

enum_ViewParameter := [ "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" ]

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

serviceusage.services.consumerQuotaMetrics.importAdminOverrides

enum_ImportAdminOverridesRequestForceOnly := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.Body.force == BOOLEAN
    input.Body.forceOnly[_] == enum_ImportAdminOverridesRequestForceOnly[_]
    input.Body.inlineSource.overrides[_].adminOverrideAncestor == STRING
    input.Body.inlineSource.overrides[_].dimensions.STRING == STRING
    input.Body.inlineSource.overrides[_].metric == STRING
    input.Body.inlineSource.overrides[_].name == STRING
    input.Body.inlineSource.overrides[_].overrideValue == STRING
    input.Body.inlineSource.overrides[_].unit == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.importConsumerOverrides

enum_ImportConsumerOverridesRequestForceOnly := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.Body.force == BOOLEAN
    input.Body.forceOnly[_] == enum_ImportConsumerOverridesRequestForceOnly[_]
    input.Body.inlineSource.overrides[_].adminOverrideAncestor == STRING
    input.Body.inlineSource.overrides[_].dimensions.STRING == STRING
    input.Body.inlineSource.overrides[_].metric == STRING
    input.Body.inlineSource.overrides[_].name == STRING
    input.Body.inlineSource.overrides[_].overrideValue == STRING
    input.Body.inlineSource.overrides[_].unit == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.create

enum_ForceOnlyParameter := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.Body.adminOverrideAncestor == STRING
    input.Body.dimensions.STRING == STRING
    input.Body.metric == STRING
    input.Body.name == STRING
    input.Body.overrideValue == STRING
    input.Body.unit == STRING
    input.ReqMap.parent == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.delete

enum_ForceOnlyParameter := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.list

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

serviceusage.services.consumerQuotaMetrics.limits.adminOverrides.patch

enum_ForceOnlyParameter := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.Body.adminOverrideAncestor == STRING
    input.Body.dimensions.STRING == STRING
    input.Body.metric == STRING
    input.Body.name == STRING
    input.Body.overrideValue == STRING
    input.Body.unit == STRING
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.create

enum_ForceOnlyParameter := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.Body.adminOverrideAncestor == STRING
    input.Body.dimensions.STRING == STRING
    input.Body.metric == STRING
    input.Body.name == STRING
    input.Body.overrideValue == STRING
    input.Body.unit == STRING
    input.ReqMap.parent == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.delete

enum_ForceOnlyParameter := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.list

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

serviceusage.services.consumerQuotaMetrics.limits.consumerOverrides.patch

enum_ForceOnlyParameter := [ "QUOTA_SAFETY_CHECK_UNSPECIFIED", "LIMIT_DECREASE_BELOW_USAGE", "LIMIT_DECREASE_PERCENTAGE_TOO_HIGH" ]

valid {
    input.Body.adminOverrideAncestor == STRING
    input.Body.dimensions.STRING == STRING
    input.Body.metric == STRING
    input.Body.name == STRING
    input.Body.overrideValue == STRING
    input.Body.unit == STRING
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.consumerQuotaMetrics.limits.get

enum_ViewParameter := [ "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" ]

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

serviceusage.services.consumerQuotaMetrics.list

enum_ViewParameter := [ "QUOTA_VIEW_UNSPECIFIED", "BASIC", "FULL" ]

valid {
    input.ReqMap.parent == STRING
    input.Qs.pageSize == INTEGER
    input.Qs.pageToken == STRING
    input.Qs.view == enum_ViewParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.disable

enum_DisableServiceRequestCheckIfServiceHasUsage := [ "CHECK_IF_SERVICE_HAS_USAGE_UNSPECIFIED", "SKIP", "CHECK" ]

valid {
    input.Body.checkIfServiceHasUsage == enum_DisableServiceRequestCheckIfServiceHasUsage[_]
    input.Body.disableDependentServices == BOOLEAN
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.enable

valid {
    input.Body.STRING == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

serviceusage.services.generateServiceIdentity

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

serviceusage.services.get

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

serviceusage.services.list

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