BIGTABLEADMIN

bigtableadmin.operations.get

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

bigtableadmin.operations.projects.operations.list

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

bigtableadmin.projects.instances.appProfiles.create

enum_AppProfilePriority := [ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ]
enum_StandardIsolationPriority := [ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ]

valid {
    input.Body.description == STRING
    input.Body.etag == STRING
    input.Body.multiClusterRoutingUseAny.clusterIds[_] == STRING
    input.Body.name == STRING
    input.Body.priority == enum_AppProfilePriority[_]
    input.Body.singleClusterRouting.allowTransactionalWrites == BOOLEAN
    input.Body.singleClusterRouting.clusterId == STRING
    input.Body.standardIsolation.priority == enum_StandardIsolationPriority[_]
    input.ReqMap.parent == STRING
    input.Qs.appProfileId == STRING
    input.Qs.ignoreWarnings == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.appProfiles.delete

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

bigtableadmin.projects.instances.appProfiles.get

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

bigtableadmin.projects.instances.appProfiles.list

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

bigtableadmin.projects.instances.appProfiles.patch

enum_AppProfilePriority := [ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ]
enum_StandardIsolationPriority := [ "PRIORITY_UNSPECIFIED", "PRIORITY_LOW", "PRIORITY_MEDIUM", "PRIORITY_HIGH" ]

valid {
    input.Body.description == STRING
    input.Body.etag == STRING
    input.Body.multiClusterRoutingUseAny.clusterIds[_] == STRING
    input.Body.name == STRING
    input.Body.priority == enum_AppProfilePriority[_]
    input.Body.singleClusterRouting.allowTransactionalWrites == BOOLEAN
    input.Body.singleClusterRouting.clusterId == STRING
    input.Body.standardIsolation.priority == enum_StandardIsolationPriority[_]
    input.ReqMap.name == STRING
    input.Qs.ignoreWarnings == BOOLEAN
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.clusters.backups.copy

valid {
    input.Body.backupId == STRING
    input.Body.expireTime == STRING
    input.Body.sourceBackup == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.clusters.backups.create

valid {
    input.Body.expireTime == STRING
    input.Body.name == STRING
    input.Body.sourceTable == STRING
    input.ReqMap.parent == STRING
    input.Qs.backupId == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.clusters.backups.delete

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

bigtableadmin.projects.instances.clusters.backups.get

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

bigtableadmin.projects.instances.clusters.backups.getIamPolicy

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

bigtableadmin.projects.instances.clusters.backups.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
}

bigtableadmin.projects.instances.clusters.backups.patch

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

bigtableadmin.projects.instances.clusters.backups.setIamPolicy

enum_AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    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.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.clusters.backups.testIamPermissions

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

bigtableadmin.projects.instances.clusters.create

enum_ClusterDefaultStorageType := [ "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" ]

valid {
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.maxServeNodes == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.minServeNodes == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.cpuUtilizationPercent == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.storageUtilizationGibPerNode == INTEGER
    input.Body.defaultStorageType == enum_ClusterDefaultStorageType[_]
    input.Body.encryptionConfig.kmsKeyName == STRING
    input.Body.location == STRING
    input.Body.name == STRING
    input.Body.serveNodes == INTEGER
    input.ReqMap.parent == STRING
    input.Qs.clusterId == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.clusters.delete

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

bigtableadmin.projects.instances.clusters.get

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

bigtableadmin.projects.instances.clusters.hotTablets.list

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

bigtableadmin.projects.instances.clusters.list

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

bigtableadmin.projects.instances.clusters.partialUpdateCluster

enum_ClusterDefaultStorageType := [ "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" ]

valid {
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.maxServeNodes == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.minServeNodes == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.cpuUtilizationPercent == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.storageUtilizationGibPerNode == INTEGER
    input.Body.defaultStorageType == enum_ClusterDefaultStorageType[_]
    input.Body.encryptionConfig.kmsKeyName == STRING
    input.Body.location == STRING
    input.Body.name == STRING
    input.Body.serveNodes == INTEGER
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.clusters.update

enum_ClusterDefaultStorageType := [ "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" ]

valid {
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.maxServeNodes == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.minServeNodes == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.cpuUtilizationPercent == INTEGER
    input.Body.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.storageUtilizationGibPerNode == INTEGER
    input.Body.defaultStorageType == enum_ClusterDefaultStorageType[_]
    input.Body.encryptionConfig.kmsKeyName == STRING
    input.Body.location == STRING
    input.Body.name == STRING
    input.Body.serveNodes == INTEGER
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.create

enum_ClusterDefaultStorageType := [ "STORAGE_TYPE_UNSPECIFIED", "SSD", "HDD" ]
enum_InstanceType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT" ]

valid {
    input.Body.clusters.STRING.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.maxServeNodes == INTEGER
    input.Body.clusters.STRING.clusterConfig.clusterAutoscalingConfig.autoscalingLimits.minServeNodes == INTEGER
    input.Body.clusters.STRING.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.cpuUtilizationPercent == INTEGER
    input.Body.clusters.STRING.clusterConfig.clusterAutoscalingConfig.autoscalingTargets.storageUtilizationGibPerNode == INTEGER
    input.Body.clusters.STRING.defaultStorageType == enum_ClusterDefaultStorageType[_]
    input.Body.clusters.STRING.encryptionConfig.kmsKeyName == STRING
    input.Body.clusters.STRING.location == STRING
    input.Body.clusters.STRING.name == STRING
    input.Body.clusters.STRING.serveNodes == INTEGER
    input.Body.instance.displayName == STRING
    input.Body.instance.labels.STRING == STRING
    input.Body.instance.name == STRING
    input.Body.instance.type == enum_InstanceType[_]
    input.Body.instanceId == STRING
    input.Body.parent == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.delete

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

bigtableadmin.projects.instances.get

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

bigtableadmin.projects.instances.getIamPolicy

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

bigtableadmin.projects.instances.list

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

bigtableadmin.projects.instances.partialUpdateInstance

enum_InstanceType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT" ]

valid {
    input.Body.displayName == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.Body.type == enum_InstanceType[_]
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.setIamPolicy

enum_AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    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.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.tables.checkConsistency

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

bigtableadmin.projects.instances.tables.create

enum_TableGranularity := [ "TIMESTAMP_GRANULARITY_UNSPECIFIED", "MILLIS" ]

valid {
    input.Body.initialSplits[_].key == STRING
    input.Body.table.changeStreamConfig.retentionPeriod == STRING
    input.Body.table.columnFamilies.STRING.gcRule.intersection.rules[_] == NESTED
    input.Body.table.columnFamilies.STRING.gcRule.maxAge == STRING
    input.Body.table.columnFamilies.STRING.gcRule.maxNumVersions == INTEGER
    input.Body.table.columnFamilies.STRING.gcRule.union.rules[_] == NESTED
    input.Body.table.deletionProtection == BOOLEAN
    input.Body.table.granularity == enum_TableGranularity[_]
    input.Body.table.name == STRING
    input.Body.tableId == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.tables.delete

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

bigtableadmin.projects.instances.tables.dropRowRange

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

bigtableadmin.projects.instances.tables.generateConsistencyToken

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

bigtableadmin.projects.instances.tables.get

enum_ViewParameter := [ "VIEW_UNSPECIFIED", "NAME_ONLY", "SCHEMA_VIEW", "REPLICATION_VIEW", "ENCRYPTION_VIEW", "STATS_VIEW", "FULL" ]

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

bigtableadmin.projects.instances.tables.getIamPolicy

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

bigtableadmin.projects.instances.tables.list

enum_ViewParameter := [ "VIEW_UNSPECIFIED", "NAME_ONLY", "SCHEMA_VIEW", "REPLICATION_VIEW", "ENCRYPTION_VIEW", "STATS_VIEW", "FULL" ]

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

bigtableadmin.projects.instances.tables.modifyColumnFamilies

valid {
    input.Body.ignoreWarnings == BOOLEAN
    input.Body.modifications[_].create.gcRule.intersection.rules[_] == NESTED
    input.Body.modifications[_].create.gcRule.maxAge == STRING
    input.Body.modifications[_].create.gcRule.maxNumVersions == INTEGER
    input.Body.modifications[_].create.gcRule.union.rules[_] == NESTED
    input.Body.modifications[_].drop == BOOLEAN
    input.Body.modifications[_].id == STRING
    input.Body.modifications[_].update.gcRule.intersection.rules[_] == NESTED
    input.Body.modifications[_].update.gcRule.maxAge == STRING
    input.Body.modifications[_].update.gcRule.maxNumVersions == INTEGER
    input.Body.modifications[_].update.gcRule.union.rules[_] == NESTED
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.tables.patch

enum_TableGranularity := [ "TIMESTAMP_GRANULARITY_UNSPECIFIED", "MILLIS" ]

valid {
    input.Body.changeStreamConfig.retentionPeriod == STRING
    input.Body.columnFamilies.STRING.gcRule.intersection.rules[_] == NESTED
    input.Body.columnFamilies.STRING.gcRule.maxAge == STRING
    input.Body.columnFamilies.STRING.gcRule.maxNumVersions == INTEGER
    input.Body.columnFamilies.STRING.gcRule.union.rules[_] == NESTED
    input.Body.deletionProtection == BOOLEAN
    input.Body.granularity == enum_TableGranularity[_]
    input.Body.name == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.tables.restore

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

bigtableadmin.projects.instances.tables.setIamPolicy

enum_AuditLogConfigLogType := [ "LOG_TYPE_UNSPECIFIED", "ADMIN_READ", "DATA_WRITE", "DATA_READ" ]

valid {
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].exemptedMembers[_] == STRING
    input.Body.policy.auditConfigs[_].auditLogConfigs[_].logType == enum_AuditLogConfigLogType[_]
    input.Body.policy.auditConfigs[_].service == STRING
    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.Body.updateMask == STRING
    input.ReqMap.resource == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.instances.tables.testIamPermissions

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

bigtableadmin.projects.instances.tables.undelete

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

bigtableadmin.projects.instances.testIamPermissions

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

bigtableadmin.projects.instances.update

enum_InstanceType := [ "TYPE_UNSPECIFIED", "PRODUCTION", "DEVELOPMENT" ]

valid {
    input.Body.displayName == STRING
    input.Body.labels.STRING == STRING
    input.Body.name == STRING
    input.Body.type == enum_InstanceType[_]
    input.ReqMap.name == STRING
    input.ProviderMetadata.Region == STRING
}

bigtableadmin.projects.locations.list

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