BIGQUERYRESERVATION

bigqueryreservation.projects.locations.capacityCommitments.create

enum_CapacityCommitmentEdition := [ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ]
enum_CapacityCommitmentPlan := [ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "FLEX_FLAT_RATE", "TRIAL", "MONTHLY", "MONTHLY_FLAT_RATE", "ANNUAL", "ANNUAL_FLAT_RATE", "THREE_YEAR", "NONE" ]
enum_CapacityCommitmentRenewalPlan := [ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "FLEX_FLAT_RATE", "TRIAL", "MONTHLY", "MONTHLY_FLAT_RATE", "ANNUAL", "ANNUAL_FLAT_RATE", "THREE_YEAR", "NONE" ]

valid {
    input.Body.edition == enum_CapacityCommitmentEdition[_]
    input.Body.multiRegionAuxiliary == BOOLEAN
    input.Body.plan == enum_CapacityCommitmentPlan[_]
    input.Body.renewalPlan == enum_CapacityCommitmentRenewalPlan[_]
    input.Body.slotCount == STRING
    input.ReqMap.parent == STRING
    input.Qs.capacityCommitmentId == STRING
    input.Qs.enforceSingleAdminProjectPerOrg == BOOLEAN
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.capacityCommitments.delete

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

bigqueryreservation.projects.locations.capacityCommitments.get

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

bigqueryreservation.projects.locations.capacityCommitments.list

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

bigqueryreservation.projects.locations.capacityCommitments.merge

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

bigqueryreservation.projects.locations.capacityCommitments.patch

enum_CapacityCommitmentEdition := [ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ]
enum_CapacityCommitmentPlan := [ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "FLEX_FLAT_RATE", "TRIAL", "MONTHLY", "MONTHLY_FLAT_RATE", "ANNUAL", "ANNUAL_FLAT_RATE", "THREE_YEAR", "NONE" ]
enum_CapacityCommitmentRenewalPlan := [ "COMMITMENT_PLAN_UNSPECIFIED", "FLEX", "FLEX_FLAT_RATE", "TRIAL", "MONTHLY", "MONTHLY_FLAT_RATE", "ANNUAL", "ANNUAL_FLAT_RATE", "THREE_YEAR", "NONE" ]

valid {
    input.Body.edition == enum_CapacityCommitmentEdition[_]
    input.Body.multiRegionAuxiliary == BOOLEAN
    input.Body.plan == enum_CapacityCommitmentPlan[_]
    input.Body.renewalPlan == enum_CapacityCommitmentRenewalPlan[_]
    input.Body.slotCount == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.capacityCommitments.split

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

bigqueryreservation.projects.locations.getBiReservation

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

bigqueryreservation.projects.locations.operations.cancel

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

bigqueryreservation.projects.locations.operations.get

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

bigqueryreservation.projects.locations.reservationGrants.create

enum_ReservationGrantJobType := [ "JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY" ]

valid {
    input.Body.grantee == STRING
    input.Body.jobType == enum_ReservationGrantJobType[_]
    input.Body.name == STRING
    input.Body.reservation == STRING
    input.ReqMap.parent == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.reservationGrants.delete

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

bigqueryreservation.projects.locations.reservationGrants.list

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

bigqueryreservation.projects.locations.reservations.assignments.create

enum_AssignmentJobType := [ "JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY", "ML_EXTERNAL", "BACKGROUND", "CONTINUOUS" ]

valid {
    input.Body.assignee == STRING
    input.Body.enableGeminiInBigquery == BOOLEAN
    input.Body.jobType == enum_AssignmentJobType[_]
    input.ReqMap.parent == STRING
    input.Qs.assignmentId == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.reservations.assignments.delete

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

bigqueryreservation.projects.locations.reservations.assignments.list

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

bigqueryreservation.projects.locations.reservations.assignments.move

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

bigqueryreservation.projects.locations.reservations.assignments.patch

enum_AssignmentJobType := [ "JOB_TYPE_UNSPECIFIED", "PIPELINE", "QUERY", "ML_EXTERNAL", "BACKGROUND", "CONTINUOUS" ]

valid {
    input.Body.assignee == STRING
    input.Body.enableGeminiInBigquery == BOOLEAN
    input.Body.jobType == enum_AssignmentJobType[_]
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.reservations.create

enum_ReservationEdition := [ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ]

valid {
    input.Body.autoscale.maxSlots == STRING
    input.Body.concurrency == STRING
    input.Body.edition == enum_ReservationEdition[_]
    input.Body.ignoreIdleSlots == BOOLEAN
    input.Body.labels.STRING == STRING
    input.Body.multiRegionAuxiliary == BOOLEAN
    input.Body.name == STRING
    input.Body.secondaryLocation == STRING
    input.Body.slotCapacity == STRING
    input.ReqMap.parent == STRING
    input.Qs.reservationId == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.reservations.createReservation

valid {
    input.Body.name == STRING
    input.Body.slotCapacity == STRING
    input.Body.useParentReservation == BOOLEAN
    input.ReqMap.parent == STRING
    input.Qs.reservationId == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.reservations.delete

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

bigqueryreservation.projects.locations.reservations.failoverReservation

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

bigqueryreservation.projects.locations.reservations.get

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

bigqueryreservation.projects.locations.reservations.list

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

bigqueryreservation.projects.locations.reservations.patch

enum_ReservationEdition := [ "EDITION_UNSPECIFIED", "STANDARD", "ENTERPRISE", "ENTERPRISE_PLUS" ]

valid {
    input.Body.autoscale.maxSlots == STRING
    input.Body.concurrency == STRING
    input.Body.edition == enum_ReservationEdition[_]
    input.Body.ignoreIdleSlots == BOOLEAN
    input.Body.labels.STRING == STRING
    input.Body.multiRegionAuxiliary == BOOLEAN
    input.Body.name == STRING
    input.Body.secondaryLocation == STRING
    input.Body.slotCapacity == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}

bigqueryreservation.projects.locations.reservations.slotPools.delete

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

bigqueryreservation.projects.locations.reservations.slotPools.get

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

bigqueryreservation.projects.locations.reservations.slotPools.list

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

bigqueryreservation.projects.locations.searchAllAssignments

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

bigqueryreservation.projects.locations.searchAssignments

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

bigqueryreservation.projects.locations.searchReservationGrants

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

bigqueryreservation.projects.locations.updateBiReservation

valid {
    input.Body.name == STRING
    input.Body.preferredTables[_].datasetId == STRING
    input.Body.preferredTables[_].projectId == STRING
    input.Body.preferredTables[_].tableId == STRING
    input.Body.size == STRING
    input.ReqMap.name == STRING
    input.Qs.updateMask == STRING
    input.ProviderMetadata.Region == STRING
}