def METHOD_NAME(self) -> Optional[str]:
    """
    The scope at which a query is run. Collection scoped queries require you specify
    the collection at query time. Collection group scope allows queries across all
    collections with the same id.
    Default value is `COLLECTION`.
    Possible values are: `COLLECTION`, `COLLECTION_GROUP`.
    """
    return pulumi.get(self, "query_scope")