SERVICEDIRECTORY

servicedirectory.projects.locations.get

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

servicedirectory.projects.locations.list

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

servicedirectory.projects.locations.namespaces.create

valid {
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.namespaceId == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.delete

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

servicedirectory.projects.locations.namespaces.get

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

servicedirectory.projects.locations.namespaces.getIamPolicy

valid {
    input.Body.options.requestedPolicyVersion == INTEGER
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.list

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

servicedirectory.projects.locations.namespaces.patch

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

servicedirectory.projects.locations.namespaces.services.create

valid {
    input.Body.annotations.STRING == STRING
    input.Body.name == STRING
    input.ReqMap.parent == STRING
    input.Qs.serviceId == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.services.delete

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

servicedirectory.projects.locations.namespaces.services.endpoints.create

valid {
    input.Body.address == STRING
    input.Body.annotations.STRING == STRING
    input.Body.name == STRING
    input.Body.network == STRING
    input.Body.port == INTEGER
    input.ReqMap.parent == STRING
    input.Qs.endpointId == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.services.endpoints.delete

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

servicedirectory.projects.locations.namespaces.services.endpoints.get

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

servicedirectory.projects.locations.namespaces.services.endpoints.list

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

servicedirectory.projects.locations.namespaces.services.endpoints.patch

valid {
    input.Body.address == STRING
    input.Body.annotations.STRING == STRING
    input.Body.name == STRING
    input.Body.network == STRING
    input.Body.port == INTEGER
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.services.get

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

servicedirectory.projects.locations.namespaces.services.getIamPolicy

valid {
    input.Body.options.requestedPolicyVersion == INTEGER
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.services.list

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

servicedirectory.projects.locations.namespaces.services.patch

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

servicedirectory.projects.locations.namespaces.services.resolve

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

servicedirectory.projects.locations.namespaces.services.setIamPolicy

valid {
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.services.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.setIamPolicy

valid {
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.workloads.getIamPolicy

valid {
    input.Body.options.requestedPolicyVersion == INTEGER
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.workloads.setIamPolicy

valid {
    input.Body.policy.bindings[_].condition.description == STRING
    input.Body.policy.bindings[_].condition.expression == STRING
    input.Body.policy.bindings[_].condition.location == STRING
    input.Body.policy.bindings[_].condition.title == STRING
    input.Body.policy.bindings[_].members[_] == STRING
    input.Body.policy.bindings[_].role == STRING
    input.Body.policy.etag == STRING
    input.Body.policy.version == INTEGER
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

servicedirectory.projects.locations.namespaces.workloads.testIamPermissions

valid {
    input.Body.permissions[_] == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}