SERVICECONSUMERMANAGEMENT

serviceconsumermanagement.operations.cancel

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

serviceconsumermanagement.operations.delete

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

serviceconsumermanagement.operations.get

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

serviceconsumermanagement.operations.list

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

serviceconsumermanagement.services.consumerQuotaMetrics.get

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

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

serviceconsumermanagement.services.consumerQuotaMetrics.importProducerOverrides

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

valid {
    input.Body.force == BOOLEAN
    input.Body.forceJustification == STRING
    input.Body.forceOnly[_] == enum_V1Beta1ImportProducerOverridesRequestForceOnly[_]
    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
}

serviceconsumermanagement.services.consumerQuotaMetrics.importProducerQuotaPolicies

valid {
    input.Body.force == BOOLEAN
    input.Body.forceJustification == STRING
    input.Body.forceSkipQuotaUsageCheck == BOOLEAN
    input.Body.inlineSource.policies[_].container == STRING
    input.Body.inlineSource.policies[_].dimensions.STRING == STRING
    input.Body.inlineSource.policies[_].metric == STRING
    input.Body.inlineSource.policies[_].name == STRING
    input.Body.inlineSource.policies[_].policyValue == STRING
    input.Body.inlineSource.policies[_].unit == STRING
    input.Body.validateOnly == BOOLEAN
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.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
}

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.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.forceJustification == STRING
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.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.forceJustification == STRING
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.list

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

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerOverrides.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.forceJustification == STRING
    input.Qs.forceOnly == enum_ForceOnlyParameter[_]
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.create

valid {
    input.Body.container == STRING
    input.Body.dimensions.STRING == STRING
    input.Body.metric == STRING
    input.Body.name == STRING
    input.Body.policyValue == STRING
    input.Body.unit == STRING
    input.ReqMap.parent == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceJustification == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.delete

valid {
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceJustification == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.list

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

serviceconsumermanagement.services.consumerQuotaMetrics.limits.producerQuotaPolicies.patch

valid {
    input.Body.container == STRING
    input.Body.dimensions.STRING == STRING
    input.Body.metric == STRING
    input.Body.name == STRING
    input.Body.policyValue == STRING
    input.Body.unit == STRING
    input.ReqMap.name == STRING
    input.Qs.force == BOOLEAN
    input.Qs.forceJustification == STRING
    input.Qs.updateMask == STRING
    input.Qs.validateOnly == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.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
}

serviceconsumermanagement.services.search

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

serviceconsumermanagement.services.tenancyUnits.addProject

valid {
    input.Body.projectConfig.billingConfig.billingAccount == STRING
    input.Body.projectConfig.folder == STRING
    input.Body.projectConfig.labels.STRING == STRING
    input.Body.projectConfig.serviceAccountConfig.accountId == STRING
    input.Body.projectConfig.serviceAccountConfig.tenantProjectRoles[_] == STRING
    input.Body.projectConfig.services[_] == STRING
    input.Body.projectConfig.tenantProjectPolicy.policyBindings[_].members[_] == STRING
    input.Body.projectConfig.tenantProjectPolicy.policyBindings[_].role == STRING
    input.Body.tag == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.tenancyUnits.applyProjectConfig

valid {
    input.Body.projectConfig.billingConfig.billingAccount == STRING
    input.Body.projectConfig.folder == STRING
    input.Body.projectConfig.labels.STRING == STRING
    input.Body.projectConfig.serviceAccountConfig.accountId == STRING
    input.Body.projectConfig.serviceAccountConfig.tenantProjectRoles[_] == STRING
    input.Body.projectConfig.services[_] == STRING
    input.Body.projectConfig.tenantProjectPolicy.policyBindings[_].members[_] == STRING
    input.Body.projectConfig.tenantProjectPolicy.policyBindings[_].role == STRING
    input.Body.tag == STRING
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

serviceconsumermanagement.services.tenancyUnits.attachProject

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

serviceconsumermanagement.services.tenancyUnits.create

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

serviceconsumermanagement.services.tenancyUnits.delete

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

serviceconsumermanagement.services.tenancyUnits.deleteProject

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

serviceconsumermanagement.services.tenancyUnits.list

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

serviceconsumermanagement.services.tenancyUnits.removeProject

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

serviceconsumermanagement.services.tenancyUnits.undeleteProject

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